{"id":18034891,"url":"https://github.com/defuj/mosya.bootstrap","last_synced_at":"2026-03-19T03:01:48.518Z","repository":{"id":57751186,"uuid":"525269448","full_name":"defuj/mosya.bootstrap","owner":"defuj","description":"Project frontend website (mobile ui) + Bootstrap 4.6.2 untuk pemesanan/booking/pembelian mobil bekas dengan metode pembayaran syariah.","archived":false,"fork":false,"pushed_at":"2022-09-15T03:36:08.000Z","size":10077,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T07:31:20.135Z","etag":null,"topics":["car","marketplace","showroom"],"latest_commit_sha":null,"homepage":"https://mosya.co.id","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/defuj.png","metadata":{"files":{"readme":"README.MD","changelog":"change_password.html","contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-16T07:11:32.000Z","updated_at":"2022-11-29T07:07:18.000Z","dependencies_parsed_at":"2023-01-18T08:16:07.084Z","dependency_job_id":null,"html_url":"https://github.com/defuj/mosya.bootstrap","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defuj%2Fmosya.bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defuj%2Fmosya.bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defuj%2Fmosya.bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defuj%2Fmosya.bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/defuj","download_url":"https://codeload.github.com/defuj/mosya.bootstrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247261605,"owners_count":20910108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["car","marketplace","showroom"],"created_at":"2024-10-30T11:14:23.284Z","updated_at":"2026-01-19T10:33:53.523Z","avatar_url":"https://github.com/defuj.png","language":"HTML","readme":"\u003ch1 align=\"center\"\u003e\n  \u003ca href=\"https://github.com/defuj/mosya.bootstrap\"\u003e\n    Mosya - Mobil Syariah API DOC\n  \u003c/a\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://getbootstrap.com/docs/4.6/getting-started/download/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Bootstrap-v4.6.2-informational?style=flat\u0026logoColor=white\"/\u003e\n  \u003c/a\u003e\n\n\u003c/p\u003e\n\n## Authentication\n\nAll API must use this authentication\n\nRequest :\n\n-   base url: `https://`\n-   Auth :\n    -   username : \"username\"\n    -   password : \"password\"\n-   Header :\n    -   tulaks : \"tulaks\"\n\n## Login\n\nRequest :\n\n-   Method : POST\n-   Endpoint : `/auth/login`\n-   Header :\n    -   Content-Type: application/json\n    -   Accept: application/json\n-   Body :\n\n```json5\n{\n\temail: \"string\", //ex: user@mail.com\n\tpassword: \"string\",\n}\n```\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n\tdata: {\n\t\tid: \"string\",\n\t\tname: \"string\",\n\t\temail: \"string\",\n\t\tphone: \"string\",\n\t\timage: \"string\",\n\t},\n}\n```\n\n## Register\n\nRequest :\n\n-   Method : POST\n-   Endpoint : `/auth/register`\n-   Header :\n    -   Content-Type: application/json\n    -   Accept: application/json\n-   Body :\n\n```json5\n{\n\tname: \"string\",\n\temail: \"string\",\n\tpassword: \"string\",\n\tphone: \"string\",\n}\n```\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n\tdata: {\n\t\tid: \"string\",\n\t\tname: \"string\",\n\t\temail: \"string\",\n\t\tphone: \"string\",\n\t\timage: \"string\",\n\t},\n}\n```\n\n## Update Profile\n\nRequest :\n\n-   Method : POST\n-   Endpoint : `/auth/update_profile`\n-   Body :\n\n```json5\n{\n\tid: \"string\",\n\tname: \"string\",\n\tphone: \"string\",\n\timage: \"file\",\n}\n```\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n\tdata: {\n\t\tid: \"string\",\n\t\tname: \"string\",\n\t\temail: \"string\",\n\t\tphone: \"string\",\n\t\timage: \"string\",\n\t},\n}\n```\n\n## Update Password\n\nRequest :\n\n-   Method : POST\n-   Endpoint : `/auth/update_password`\n-   Header :\n    -   Content-Type: application/json\n    -   Accept: application/json\n-   Body :\n\n```json5\n{\n\tid: \"string\",\n\tpassword_old: \"string\",\n\tpassword_new: \"string\",\n\tpassword_confirm: \"string\",\n}\n```\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n}\n```\n\n## List Banner\n\nRequest :\n\n-   Method : GET\n-   Endpoint : `/banner/list`\n-   Header :\n    -   Content-Type: application/json\n    -   Accept: application/json\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n\tdata: [\n\t\t{\n\t\t\tid: \"string\",\n\t\t\timage: \"string\", // the value is image url\n\t\t\tlink: \"string\", // the value is link url\n\t\t},\n\t\t{\n\t\t\tid: \"string\",\n\t\t\timage: \"string\", // the value is image url\n\t\t\tlink: \"string\", // the value is link url\n\t\t},\n\t\t{\n\t\t\tid: \"string\",\n\t\t\timage: \"string\", // the value is image url\n\t\t\tlink: \"string\", // the value is link url\n\t\t},\n\t],\n}\n```\n\n## List Brand (Merk Mobil)\n\nRequest :\n\n-   Method : GET\n-   Endpoint : `/brand/list`\n-   Header :\n    -   Content-Type: application/json\n    -   Accept: application/json\n-   Body :\n\n```json5\n{\n\tsearch: \"string\", // value : search by name (parameter is optional, just use for search)\n}\n```\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n\tdata: [\n\t\t{\n\t\t\tid: \"string\",\n\t\t\tname: \"string\",\n\t\t},\n\t\t{\n\t\t\tid: \"string\",\n\t\t\tname: \"string\",\n\t\t},\n\t\t{\n\t\t\tid: \"string\",\n\t\t\tname: \"string\",\n\t\t},\n\t],\n}\n```\n\n## List Car\n\nRequest :\n\n-   Method : GET\n-   Endpoint : `/car/list`\n-   Header :\n    -   Content-Type: application/json\n    -   Accept: application/json\n-   Body :\n\n```json5\n{\n\tsearch: \"string\", // value : search keyword (parameter is optional, just use for search)\n\tbrand: \"string\", // value : filter by brand name (parameter is optional, just use for filter)\n\tfuel: \"string\", // value : Bensin, Solar, Listrik, Hybrid (parameter is optional, just use for filter)\n\tstart_year: \"string\", // value : filter dengan tahun mulai (parameter is optional, just use for filter)\n\tend_year: \"string\", // value : filter dengan tahun akhir (parameter is optional, just use for filter)\n\tprice_start: \"string\", // value : filter dengan harga mulai (parameter is optional, just use for filter)\n\tprice_end: \"string\", // value : filter dengan harga akhir (parameter is optional, just use for filter)\n\tlimit: \"string\", // value : limit data (parameter is optional, just use for pagination) ex: 10\n}\n```\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n\tdata: [\n\t\t{\n\t\t\tid: \"string\",\n\t\t\tmodel: \"string\", // the value is car name, ex: Honda Jazz\n\t\t\tbrand: \"string\", // the value is brand name, ex: Honda\n\t\t\tcolor: [\n\t\t\t\t\"string\",\n\t\t\t\t\"string\",\n\t\t\t\t\"string\",\n\t\t\t], // the value is color name, ex: Black\n\t\t\tfuel: \"string\", // the value is fuel type, ex: Bensin\n\t\t\tyear: \"string\", // the value is car year, ex: 2019\n\t\t\tprice: \"string\", // the value is car price, ex: 1.000.000.000\n\t\t\tdescription: \"string\", // the value is car description, ex: Honda Jazz adalah salah satu mobil terbaik di Indonesia\n\t\t\tplate_number: \"string\", // the value is car plate number, ex: B 12345\n\t\t\tstatus: \"string\", // the value is car status, ex: Available\n\t\t\tkilometer: \"string\", // the value is car kilometer, ex: 100.000\n\t\t\timage: [\n\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t]\n\t\t\tpayments: [\n\t\t\t\t{\n\t\t\t\t\tid: \"string\",\n\t\t\t\t\tname: \"string\", // the value is payment name, ex: Cash, Cicilan 46 Bulan, Cicilan 48 Bulan, Cicilan 60 Bulan\n\t\t\t\t\ttype: \"string\", // the value is payment type, ex: Cash, Cicilan\n\t\t\t\t\tpayment: \"string\", // the value is car cicilan, ex: if cicilan : Rp 4.973.000 X 48 bln or if cash : Rp 200.000.000\n\t\t\t\t\tdp: \"string\", // the value is car cicilan dp, ex: Rp 20.400.000, just if type is cicilan\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tid: \"string\",\n\t\t\t\t\tname: \"string\", // the value is payment name, ex: Cash, Cicilan 46 Bulan, Cicilan 48 Bulan, Cicilan 60 Bulan\n\t\t\t\t\ttype: \"string\", // the value is payment type, ex: Cash, Cicilan\n\t\t\t\t\tpayment: \"string\", // the value is car cicilan, ex: if cicilan : Rp 4.973.000 X 48 bln or if cash : Rp 200.000.000\n\t\t\t\t\tdp: \"string\", // the value is car cicilan dp, ex: Rp 20.400.000, just if type is cicilan\n\t\t\t\t},\n\t\t\t],\n\t\t},\n\t],\n}\n```\n\n## List Catalog Car\n\nRequest :\n\n-   Method : GET\n-   Endpoint : `/car/catalog`\n-   Header :\n    -   Content-Type: application/json\n    -   Accept: application/json\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n\tdata: {\n\t\tbrand : \"string\",\n\t\ttotal: \"string\", // the value is total car, ex: 1 sd 99+, if value is \u003e 100, then value is 99+\n\t\tcars: [ // list car, just 4 piece for every merk\n\t\t\t{\n\t\t\t\tid: \"string\",\n\t\t\t\tmodel: \"string\", // the value is car name, ex: Honda Jazz\n\t\t\t\tbrand: \"string\", // the value is brand name, ex: Honda\n\t\t\t\tcolor: \"string\", // the value is color name, ex: Black\n\t\t\t\tfuel: \"string\", // the value is fuel type, ex: Bensin\n\t\t\t\tyear: \"string\", // the value is car year, ex: 2019\n\t\t\t\tprice: \"string\", // the value is car price, ex: 1.000.000.000\n\t\t\t\tdescription: \"string\", // the value is car description, ex: Honda Jazz adalah salah satu mobil terbaik di Indonesia\n\t\t\t\tplate_number: \"string\", // the value is car plate number, ex: B 12345\n\t\t\t\tstatus: \"string\", // the value is car status, ex: Available\n\t\t\t\tkilometer: \"string\", // the value is car kilometer, ex: 100.000\n\t\t\t\timage: [\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"string\",\n\t\t\t\tmodel: \"string\", // the value is car name, ex: Honda Jazz\n\t\t\t\tbrand: \"string\", // the value is brand name, ex: Honda\n\t\t\t\tcolor: \"string\", // the value is color name, ex: Black\n\t\t\t\tfuel: \"string\", // the value is fuel type, ex: Bensin\n\t\t\t\tyear: \"string\", // the value is car year, ex: 2019\n\t\t\t\tprice: \"string\", // the value is car price, ex: 1.000.000.000\n\t\t\t\tdescription: \"string\", // the value is car description, ex: Honda Jazz adalah salah satu mobil terbaik di Indonesia\n\t\t\t\tplate_number: \"string\", // the value is car plate number, ex: B 12345\n\t\t\t\tstatus: \"string\", // the value is car status, ex: Available\n\t\t\t\tkilometer: \"string\", // the value is car kilometer, ex: 100.000\n\t\t\t\timage: [\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"string\",\n\t\t\t\tmodel: \"string\", // the value is car name, ex: Honda Jazz\n\t\t\t\tbrand: \"string\", // the value is brand name, ex: Honda\n\t\t\t\tcolor: \"string\", // the value is color name, ex: Black\n\t\t\t\tfuel: \"string\", // the value is fuel type, ex: Bensin\n\t\t\t\tyear: \"string\", // the value is car year, ex: 2019\n\t\t\t\tprice: \"string\", // the value is car price, ex: 1.000.000.000\n\t\t\t\tdescription: \"string\", // the value is car description, ex: Honda Jazz adalah salah satu mobil terbaik di Indonesia\n\t\t\t\tplate_number: \"string\", // the value is car plate number, ex: B 12345\n\t\t\t\tstatus: \"string\", // the value is car status, ex: Available\n\t\t\t\tkilometer: \"string\", // the value is car kilometer, ex: 100.000\n\t\t\t\timage: [\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"string\",\n\t\t\t\tmodel: \"string\", // the value is car name, ex: Honda Jazz\n\t\t\t\tbrand: \"string\", // the value is brand name, ex: Honda\n\t\t\t\tcolor: \"string\", // the value is color name, ex: Black\n\t\t\t\tfuel: \"string\", // the value is fuel type, ex: Bensin\n\t\t\t\tyear: \"string\", // the value is car year, ex: 2019\n\t\t\t\tprice: \"string\", // the value is car price, ex: 1.000.000.000\n\t\t\t\tdescription: \"string\", // the value is car description, ex: Honda Jazz adalah salah satu mobil terbaik di Indonesia\n\t\t\t\tplate_number: \"string\", // the value is car plate number, ex: B 12345\n\t\t\t\tstatus: \"string\", // the value is car status, ex: Available\n\t\t\t\tkilometer: \"string\", // the value is car kilometer, ex: 100.000\n\t\t\t\timage: [\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t]\n\t\t\t},\n\t\t]\n\t},\n\t{\n\t\tmerk : \"string\",\n\t\ttotal: \"string\", // the value is total car, ex: 1 sd 99+, if value is \u003e 100, then value is 99+\n\t\tcars: [ // list car, just 4 piece for every merk\n\t\t\t{\n\t\t\t\tid: \"string\",\n\t\t\t\tmodel: \"string\", // the value is car name, ex: Honda Jazz\n\t\t\t\tbrand: \"string\", // the value is brand name, ex: Honda\n\t\t\t\tcolor: \"string\", // the value is color name, ex: Black\n\t\t\t\tfuel: \"string\", // the value is fuel type, ex: Bensin\n\t\t\t\tyear: \"string\", // the value is car year, ex: 2019\n\t\t\t\tprice: \"string\", // the value is car price, ex: 1.000.000.000\n\t\t\t\tdescription: \"string\", // the value is car description, ex: Honda Jazz adalah salah satu mobil terbaik di Indonesia\n\t\t\t\tplate_number: \"string\", // the value is car plate number, ex: B 12345\n\t\t\t\tstatus: \"string\", // the value is car status, ex: Available\n\t\t\t\tkilometer: \"string\", // the value is car kilometer, ex: 100.000\n\t\t\t\timage: [\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"string\",\n\t\t\t\tmodel: \"string\", // the value is car name, ex: Honda Jazz\n\t\t\t\tbrand: \"string\", // the value is brand name, ex: Honda\n\t\t\t\tcolor: \"string\", // the value is color name, ex: Black\n\t\t\t\tfuel: \"string\", // the value is fuel type, ex: Bensin\n\t\t\t\tyear: \"string\", // the value is car year, ex: 2019\n\t\t\t\tprice: \"string\", // the value is car price, ex: 1.000.000.000\n\t\t\t\tdescription: \"string\", // the value is car description, ex: Honda Jazz adalah salah satu mobil terbaik di Indonesia\n\t\t\t\tplate_number: \"string\", // the value is car plate number, ex: B 12345\n\t\t\t\tstatus: \"string\", // the value is car status, ex: Available\n\t\t\t\tkilometer: \"string\", // the value is car kilometer, ex: 100.000\n\t\t\t\timage: [\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"string\",\n\t\t\t\tmodel: \"string\", // the value is car name, ex: Honda Jazz\n\t\t\t\tbrand: \"string\", // the value is brand name, ex: Honda\n\t\t\t\tcolor: \"string\", // the value is color name, ex: Black\n\t\t\t\tfuel: \"string\", // the value is fuel type, ex: Bensin\n\t\t\t\tyear: \"string\", // the value is car year, ex: 2019\n\t\t\t\tprice: \"string\", // the value is car price, ex: 1.000.000.000\n\t\t\t\tdescription: \"string\", // the value is car description, ex: Honda Jazz adalah salah satu mobil terbaik di Indonesia\n\t\t\t\tplate_number: \"string\", // the value is car plate number, ex: B 12345\n\t\t\t\tstatus: \"string\", // the value is car status, ex: Available\n\t\t\t\tkilometer: \"string\", // the value is car kilometer, ex: 100.000\n\t\t\t\timage: [\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"string\",\n\t\t\t\tmodel: \"string\", // the value is car name, ex: Honda Jazz\n\t\t\t\tbrand: \"string\", // the value is brand name, ex: Honda\n\t\t\t\tcolor: \"string\", // the value is color name, ex: Black\n\t\t\t\tfuel: \"string\", // the value is fuel type, ex: Bensin\n\t\t\t\tyear: \"string\", // the value is car year, ex: 2019\n\t\t\t\tprice: \"string\", // the value is car price, ex: 1.000.000.000\n\t\t\t\tdescription: \"string\", // the value is car description, ex: Honda Jazz adalah salah satu mobil terbaik di Indonesia\n\t\t\t\tplate_number: \"string\", // the value is car plate number, ex: B 12345\n\t\t\t\tstatus: \"string\", // the value is car status, ex: Available\n\t\t\t\tkilometer: \"string\", // the value is car kilometer, ex: 100.000\n\t\t\t\timage: [\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\t]\n\t\t\t},\n\t\t]\n\t}\n}\n```\n\n## Detail Car\n\nRequest :\n\n-   Method : GET\n-   Endpoint : `/car/detail`\n-   Header :\n    -   Content-Type: application/json\n    -   Accept: application/json\n-   Body :\n\n```json5\n{\n\tid: \"string\", // value : car id\n}\n```\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n\tdata: {\n\t\tid: \"string\",\n\t\tmodel: \"string\", // the value is car name, ex: Honda Jazz\n\t\tbrand: \"string\", // the value is brand name, ex: Honda\n\t\tcolor: [\n\t\t\t\"color\",\n\t\t\t\"color\",\n\t\t\t\"color\",\n\t\t], // the value is color name, ex: Black\n\t\tfuel: \"string\", // the value is fuel type, ex: Bensin\n\t\tyear: \"string\", // the value is car year, ex: 2019\n\t\tprice: \"string\", // the value is car price, ex: 1.000.000.000\n\t\tdescription: \"string\", // the value is car description, ex: Honda Jazz adalah salah satu mobil terbaik di Indonesia\n\t\tplate_number: \"string\", // the value is car plate number, ex: B 12345\n\t\tstatus: \"string\", // the value is car status, ex: Available\n\t\tkilometer: \"string\", // the value is car kilometer, ex: 100.000\n\t\timage: [\n\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t\t\"https://www.google.com/images/brand/brand.png\",\n\t\t]\n\t\tpayments: [\n\t\t\t{\n\t\t\t\tid: \"string\",\n\t\t\t\tlabel: \"string\", // the value is payment name, ex: Cash, Cicilan 46 Bulan, Cicilan 48 Bulan, Cicilan 60 Bulan\n\t\t\t\tcicilan: \"string\", // the value is car cicilan, ex: if cicilan : Rp 4.973.000 X 48 bln or if cash : Rp 200.000.000\n\t\t\t\tdp: \"string\", // the value is car cicilan dp, ex: Rp 20.400.000, just if type is cicilan\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"string\",\n\t\t\t\tlabel: \"string\", // the value is payment name, ex: Cash, Cicilan 46 Bulan, Cicilan 48 Bulan, Cicilan 60 Bulan\n\t\t\t\tcicilan: \"string\", // the value is car cicilan, ex: if cicilan : Rp 4.973.000 X 48 bln or if cash : Rp 200.000.000\n\t\t\t\tdp: \"string\", // the value is car cicilan dp, ex: Rp 20.400.000, just if type is cicilan\n\t\t\t},\n\t\t],\n\t\tcatalog : {\n\t\t\tlink : \"string\",\n\t\t\tsize : \"string\" // the value is catalog size, ex: 1.2 MB\n\t\t}\n\t}\n}\n```\n\n## List History Booking\n\nRequest :\n\n-   Method : GET\n-   Endpoint : `/history/list`\n-   Header :\n    -   Content-Type: application/json\n    -   Accept: application/json\n-   Body :\n\n```json5\n{\n\tid: \"string\", // value : user id\n}\n```\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n\tdata: [\n\t\t{\n\t\t\tid: \"string\",\n\t\t\tdate: \"string\",\n\t\t\tstatus: \"string\", // value : Belum Dibayar, Dibayar, Diverifikasi, Dibatalkan, Dalam Perjalanan, Selesai\n\t\t\timage: \"string\", // the value is car image, ex: https://www.google.com/images/brand/brand.png\n\t\t\tmodel: \"string\", // the value is car name, ex: Honda Jazz\n\t\t\tbrand: \"string\", // the value is brand name, ex: Honda\n\t\t\tnote: \"string\", // the value is color name, ex: Black\n\t\t\tyear: \"string\", // the value is car year, ex: 2019\n\t\t},\n\t\t{\n\t\t\tid: \"string\",\n\t\t\tdate: \"string\",\n\t\t\tstatus: \"string\", // value : Belum Dibayar, Dibayar, Diverifikasi, Dibatalkan, Dalam Perjalanan, Selesai\n\t\t\timage: \"string\", // the value is car image, ex: https://www.google.com/images/brand/brand.png\n\t\t\tmodel: \"string\", // the value is car name, ex: Honda Jazz\n\t\t\tbrand: \"string\", // the value is brand name, ex: Honda\n\t\t\tnote: \"string\", // the value is color name, ex: Black\n\t\t\tyear: \"string\", // the value is car year, ex: 2019\n\t\t},\n\t\t{\n\t\t\tid: \"string\",\n\t\t\tdate: \"string\",\n\t\t\tstatus: \"string\", // value : Belum Dibayar, Dibayar, Diverifikasi, Dibatalkan, Dalam Perjalanan, Selesai\n\t\t\timage: \"string\", // the value is car image, ex: https://www.google.com/images/brand/brand.png\n\t\t\tmodel: \"string\", // the value is car name, ex: Honda Jazz\n\t\t\tbrand: \"string\", // the value is brand name, ex: Honda\n\t\t\tnote: \"string\", // the value is color name, ex: Black\n\t\t\tyear: \"string\", // the value is car year, ex: 2019\n\t\t},\n\t],\n}\n```\n\n## Detail History Booking\n\nRequest :\n\n-   Method : GET\n-   Endpoint : `/history/detail`\n-   Header :\n    -   Content-Type: application/json\n    -   Accept: application/json\n-   Body :\n\n```json5\n{\n\tuser_id: \"string\", // value : user id\n\tid: \"string\", // value : history id\n}\n```\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n\tdata: {\n\t\tid: \"string\",\n\t\tcode: \"string\", // the value is history code, ex: #92929379938\n\t\tdate: \"string\", // the value is booking date, ex: 2019-01-01\n\t\tstatus: \"string\", // value : Belum Dibayar, Dibayar, Diverifikasi, Dibatalkan, Dalam Perjalanan, Selesai\n\t\tcar: {\n\t\t\tid: \"string\",\n\t\t\tmodel: \"string\", // the value is car name, ex: Honda Jazz\n\t\t\tbrand: \"string\", // the value is brand name, ex: Honda\n\t\t\tcolor: \"string\", // the value is color name, ex: Black\n\t\t\tfuel: \"string\", // the value is fuel type, ex: Bensin\n\t\t\tyear: \"string\", // the value is car year, ex: 2019\n\t\t\tprice: \"string\", // the value is car price, ex:\n\t\t},\n\t\taddress: {\n\t\t\tname: \"string\", // the value is user name, ex: John Doe\n\t\t\tphone: \"string\", // the value is user phone, ex: 081234567890\n\t\t\temail: \"string\", // the value is user email, ex: user@domain.com\n\t\t\taddress: \"string\", // the value is user address, ex: Jl. Kebon Jeruk No. 1\n\t\t},\n\t\tpayment: {\n\t\t\tpayment_method: \"string\", // the value is payment method, ex: Cicilan\n\t\t\tbooking_fee: \"string\", // the value is booking fee, ex: Rp 200.000\n\t\t\tcode_uniq: \"string\", // the value is code uniq, ex: Rp 751\n\t\t\ttotal_payment: \"string\", // the value is total price, ex: Rp 200.751\n\t\t},\n\t},\n}\n```\n\n## Tracking History\n\nRequest :\n\n-   Method : GET\n-   Endpoint : `/history/tracking`\n-   Header :\n    -   Content-Type: application/json\n    -   Accept: application/json\n-   Body :\n\n```json5\n{\n\tuser_id: \"string\", // value : user id\n\tid: \"string\", // value : history id\n}\n```\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n\tdata: {\n\t\tid: \"string\",\n\t\tcode: \"string\", // the value is history code, ex: #92929379938\n\t\tdate: \"string\", // the value is booking date, ex: 2019-01-01\n\t\ttracking: [\n\t\t\t{\n\t\t\t\tdate: \"string\", // the value is tracking date, ex: Sabtu, 20 Agustus 2022\n\t\t\t\ttime: \"string\", // the value is tracking time, ex: 10:00\n\t\t\t\tdescription: \"string\", // the value is tracking description, ex: Mobil telah diterima penerima.\n\t\t\t},\n\t\t\t{\n\t\t\t\tdate: \"string\", // the value is tracking date, ex: Sabtu, 20 Agustus 2022\n\t\t\t\ttime: \"string\", // the value is tracking time, ex: 10:00\n\t\t\t\tdescription: \"string\", // the value is tracking description, ex: Mobil telah diterima penerima.\n\t\t\t},\n\t\t\t{\n\t\t\t\tdate: \"string\", // the value is tracking date, ex: Sabtu, 20 Agustus 2022\n\t\t\t\ttime: \"string\", // the value is tracking time, ex: 10:00\n\t\t\t\tdescription: \"string\", // the value is tracking description, ex: Mobil telah diterima penerima.\n\t\t\t},\n\t\t],\n\t},\n}\n```\n\n## Confirm Car is Arrived\n\nRequest :\n\n-   Method : GET\n-   Endpoint : `/history/confirm`\n-   Header :\n    -   Content-Type: application/json\n    -   Accept: application/json\n-   Body :\n\n```json5\n{\n\tuser_id: \"string\", // value : user id\n\tid: \"string\", // value : history id\n}\n```\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n}\n```\n\n## Booking - Create Booking Code/ID\n\nRequest :\n\n-   Method : POST\n-   Endpoint : `/booking/create`\n-   Body :\n\n```json5\n{\n\tid: \"string\",\n\tid_car: \"string\", // value : car id\n\tname: \"string\",\n\taddress: \"string\",\n\tphone: \"string\",\n\tname_2: \"string\", // optional\n}\n```\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n\tcode: \"string\", // the value is booking code, ex: #92929379938\n}\n```\n\n## Booking - Upload Image (ID CARD,FAMILLY CARD,ID CARD 2)\n\nRequest :\n\n-   Method : POST\n-   Endpoint : `/booking/upload`\n-   Body :\n\n```json5\n{\n\tcode: \"string\",\n\tcard_id: \"file\",\n\tcard_familly: \"file\",\n\tcard_id_2: \"file\", // optional\n}\n```\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n}\n```\n\n## Booking - Select Method Payment (Cash, Credit)\n\nRequest :\n\n-   Method : POST\n-   Endpoint : `/booking/payment`\n-   Body :\n\n```json5\n{\n\tcode: \"string\", // value : booking code\n\tpayment_method: \"string\", // value : payment method id\n}\n```\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n}\n```\n\n## Booking - Get Info Payment\n\nRequest :\n\n-   Method : POST\n-   Endpoint : `/booking/payment_info`\n-   Body :\n\n```json5\n{\n\tcode: \"string\", // value : booking code\n}\n```\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n\tdata: {\n\t\tcode_unique: \"string\", // the value is code uniq, ex: Rp 751\n\t\ttotal_payment: \"string\", // the value is total price, ex: Rp 200.751\n\t},\n}\n```\n\n## Booking - Upload Bukti Bayar\n\nRequest :\n\n-   Method : POST\n-   Endpoint : `/booking/payment_upload`\n-   Body :\n\n```json5\n{\n\tcode: \"string\",\n\timage: \"file\",\n}\n```\n\nResponse :\n\n```json5\n{\n\tstatus: \"boolean\", //value : true or false\n\tmessage: \"string\",\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefuj%2Fmosya.bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefuj%2Fmosya.bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefuj%2Fmosya.bootstrap/lists"}