{ "info": { "_postman_id": "939cedd9-c3ed-4e20-9a6f-c38dcd17a5b6", "name": "M2M API PRODUCTION", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Shipment Entry", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxxx", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"customer_account\": \"M1122017000111\",\r\n \"cost_center\": \"GA\",\r\n \"shipper_name\": \"Imam\",\r\n \"shipper_company\": \"ABC, PT\",\r\n \"shipper_address\": \"AA. WAREHOUSE PT. ABC. Jl. ABC Serua Blk. B No.01 Rt 001/01, Kupang\",\r\n \"shipper_post_code\": \"1234\",\r\n \"shipper_phone\": \"021\",\r\n \"origin\": \"Kupang\",\r\n \"origin_province\": \"Nusa Tenggara Timur (NTT)\",\r\n \"receiver_name\": \"Arifin\",\r\n \"receiver_company\": \"PT. DEF\",\r\n \"receiver_address\": \"BB. GUDANG. JL. DEFG RT. 01 NO. 1 Bekasi\",\r\n \"receiver_post_code\": \"\",\r\n \"receiver_phone\": \"05113311111\",\r\n \"destination\": \"Bekasi\",\r\n \"destination_province\": \"Jawa Barat\",\r\n \"description\": \"SPARE PARTS\",\r\n \"service\": 16,\r\n \"special_instruction\": \"\",\r\n \"packages\": [\r\n {\r\n \"description\": \"SPARE PARTS 1\",\r\n \"pieces\": \"2\",\r\n \"weight\": \"112.00\",\r\n \"unit\": \"KG\",\r\n \"length\": \"102.00\",\r\n \"width\": \"39.00\",\r\n \"height\": \"17.00\",\r\n \"volume\": \"135.00\",\r\n \"volume_weight\": \"135.00\",\r\n \"packing_cost\": \"0.00\",\r\n \"surcharge_percent\": \"0\",\r\n \"surcharge_cost\": \"0.00\"\r\n },\r\n {\r\n \"description\": \"SPARE PARTS 2\",\r\n \"pieces\": \"3\",\r\n \"weight\": \"96.00\",\r\n \"unit\": \"KG\",\r\n \"length\": \"57.00\",\r\n \"width\": \"33.00\",\r\n \"height\": \"14.00\",\r\n \"volume\": \"105.00\",\r\n \"volume_weight\": \"105.00\",\r\n \"packing_cost\": \"0.00\",\r\n \"surcharge_percent\": \"0\",\r\n \"surcharge_cost\": \"0.00\"\r\n }\r\n ],\r\n \"do_number\": [\r\n {\r\n \"do_number\": \"DO-06304\",\r\n \"do_description\": \"DN\"\r\n },\r\n {\r\n \"do_number\": \"DO-06325\",\r\n \"do_description\": \"DN\"\r\n }\r\n ]\r\n}" }, "url": { "raw": "http://m2msys.mtwomlogistics.com:81/m2m/public/api/shipment", "protocol": "http", "host": [ "m2msys", "mtwomlogistics", "com" ], "port": "81", "path": [ "m2m", "public", "api", "shipment" ] }, "description": "Shipment Entry" }, "response": [] }, { "name": "Update Shipment", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxxx", "type": "string" } ] }, "method": "PATCH", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"customer_account\": \"M1122017000111\",\r\n \"cost_center\": \"GA\",\r\n \"shipper_name\": \"Imam\",\r\n \"shipper_address\": \"AA. WAREHOUSE PT. ABC. Jl. ABC Serua Blk. B No.01 Rt 001/01, Kupang\",\r\n \"shipper_post_code\": \"1234\",\r\n \"shipper_phone\": \"021\",\r\n \"origin\": \"Kupang\",\r\n \"origin_province\": \"Nusa Tenggara Timur (NTT)\",\r\n \"receiver_name\": \"Arifin\",\r\n \"receiver_company\": \"PT. DEF\",\r\n \"receiver_address\": \"BB. GUDANG. JL. DEFG RT. 01 NO. 1 Bekasi\",\r\n \"receiver_post_code\": \"\",\r\n \"receiver_phone\": \"05113311111\",\r\n \"destination\": \"Bekasi\",\r\n \"destination_province\": \"Jawa Barat\",\r\n \"description\": \"SPARE PARTS\",\r\n \"service\": 16,\r\n \"special_instruction\": \"\",\r\n \"packages\": [\r\n {\r\n \"description\": \"SPARE PARTS 1\",\r\n \"pieces\": \"2\",\r\n \"weight\": \"112.00\",\r\n \"unit\": \"KG\",\r\n \"length\": \"102.00\",\r\n \"width\": \"39.00\",\r\n \"height\": \"17.00\",\r\n \"volume\": \"135.00\",\r\n \"volume_weight\": \"135.00\",\r\n \"packing_cost\": \"0.00\",\r\n \"surcharge_percent\": \"0\",\r\n \"surcharge_cost\": \"0.00\"\r\n },\r\n {\r\n \"description\": \"SPARE PARTS 2\",\r\n \"pieces\": \"3\",\r\n \"weight\": \"96.00\",\r\n \"unit\": \"KG\",\r\n \"length\": \"57.00\",\r\n \"width\": \"33.00\",\r\n \"height\": \"14.00\",\r\n \"volume\": \"105.00\",\r\n \"volume_weight\": \"105.00\",\r\n \"packing_cost\": \"0.00\",\r\n \"surcharge_percent\": \"0\",\r\n \"surcharge_cost\": \"0.00\"\r\n }\r\n ],\r\n \"do_number\": [\r\n {\r\n \"do_number\": \"DO-06304\",\r\n \"do_description\": \"DN\"\r\n },\r\n {\r\n \"do_number\": \"DO-06325\",\r\n \"do_description\": \"DN\"\r\n }\r\n ]\r\n}" }, "url": { "raw": "http://m2msys.mtwomlogistics.com:81/m2m/public/api/shipment/{AWB Number}", "protocol": "http", "host": [ "m2msys", "mtwomlogistics", "com" ], "port": "81", "path": [ "m2m", "public", "api", "shipment", "{AWB Number}" ] }, "description": "Update Shipment Entry" }, "response": [] }, { "name": "Delete Shipment Data", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxxx", "type": "string" } ] }, "method": "DELETE", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"remarks\": \"test delete\"\r\n}" }, "url": { "raw": "http://m2msys.mtwomlogistics.com:81/m2m/public/api/shipment/{AWB Number}", "protocol": "http", "host": [ "m2msys", "mtwomlogistics", "com" ], "port": "81", "path": [ "m2m", "public", "api", "shipment", "{AWB Number}" ] }, "description": "Delete Shipment Data" }, "response": [] }, { "name": "Shipment Detail", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxxx", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "http://m2msys.mtwomlogistics.com:81/api/shipment/{AWB Number/DO Number/DN Number}", "protocol": "http", "host": [ "m2msys", "mtwomlogistics", "com" ], "port": "81", "path": [ "api", "shipment", "{AWB Number", "DO Number", "DN Number}" ] }, "description": "Shipment Detail" }, "response": [] }, { "name": "Print AWB", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxxx", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "http://m2msys.mtwomlogistics.com:81/api/shipment/print/{AWB Number/DO Number/DN Number}", "protocol": "http", "host": [ "m2msys", "mtwomlogistics", "com" ], "port": "81", "path": [ "api", "shipment", "print", "{AWB Number", "DO Number", "DN Number}" ] }, "description": "Print AWB" }, "response": [] }, { "name": "Shipment List", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxxx", "type": "string" } ] }, "method": "GET", "header": [], "body": { "mode": "formdata", "formdata": [] }, "url": { "raw": "http://m2msys.mtwomlogistics.com:81/api/shipments?from_date=2019-12-20&to_date=2019-12-25", "protocol": "http", "host": [ "m2msys", "mtwomlogistics", "com" ], "port": "81", "path": [ "api", "shipments" ], "query": [ { "key": "from_date", "value": "2019-12-20" }, { "key": "to_date", "value": "2019-12-25" } ] }, "description": "Shipment List" }, "response": [] }, { "name": "Shipment Tracking", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxxx", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "http://m2msys.mtwomlogistics.com:81/api/track/{AWB Number/DO Number/DN Number}", "protocol": "http", "host": [ "m2msys", "mtwomlogistics", "com" ], "port": "81", "path": [ "api", "track", "{AWB Number", "DO Number", "DN Number}" ] } }, "response": [] }, { "name": "Price List", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxxx", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "http://m2msys.mtwomlogistics.com:81/api/pricelist", "protocol": "http", "host": [ "m2msys", "mtwomlogistics", "com" ], "port": "81", "path": [ "api", "pricelist" ], "query": [ { "key": "origin", "value": "111111", "disabled": true }, { "key": "origin", "value": "Jakarta Barat", "disabled": true }, { "key": "destination", "value": "111111", "disabled": true }, { "key": "destination", "value": "Asahan", "disabled": true }, { "key": "service", "value": "BVG Grand Max", "disabled": true }, { "key": "service", "value": "111111", "disabled": true }, { "key": "weight", "value": "50", "description": "Numeric / double , if unit = \"unit\", weight will be ignored", "disabled": true }, { "key": "unit", "value": "unit", "description": "unit or kg", "disabled": true } ] } }, "response": [] }, { "name": "Coverage Area", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxxx", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "http://m2msys.mtwomlogistics.com:81/api/area", "protocol": "http", "host": [ "m2msys", "mtwomlogistics", "com" ], "port": "81", "path": [ "api", "area" ], "query": [ { "key": "origin", "value": "11111", "disabled": true }, { "key": "origin", "value": "Jakarta Barat", "disabled": true }, { "key": "destination", "value": "11111", "disabled": true }, { "key": "destination", "value": "Asahan", "disabled": true }, { "key": "service", "value": "BVG Grand Max", "disabled": true }, { "key": "service", "value": "11111", "disabled": true }, { "key": "weight", "value": "50", "description": "Numeric / double , if unit = \"unit\", weight will be ignored", "disabled": true }, { "key": "unit", "value": "unit", "description": "unit or kg", "disabled": true } ] } }, "response": [] }, { "name": "Services", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxxx", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "http://m2msys.mtwomlogistics.com:81/api/service", "protocol": "http", "host": [ "m2msys", "mtwomlogistics", "com" ], "port": "81", "path": [ "api", "service" ], "query": [ { "key": "origin", "value": "11111", "disabled": true }, { "key": "origin", "value": "Jakarta Barat", "disabled": true }, { "key": "destination", "value": "11111", "disabled": true }, { "key": "destination", "value": "Asahan", "disabled": true }, { "key": "service", "value": "BVG Grand Max", "disabled": true }, { "key": "service", "value": "11111", "disabled": true }, { "key": "weight", "value": "50", "description": "Numeric / double , if unit = \"unit\", weight will be ignored", "disabled": true }, { "key": "unit", "value": "unit", "description": "unit or kg", "disabled": true } ] } }, "response": [] }, { "name": "Account list", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxxx", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "http://m2msys.mtwomlogistics.com:81/m2m/public/api/accounts", "protocol": "http", "host": [ "m2msys", "mtwomlogistics", "com" ], "port": "81", "path": [ "m2m", "public", "api", "accounts" ] } }, "response": [] }, { "name": "Areas", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxxx", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "http://m2msys.mtwomlogistics.com:81/api/areas?area_type=origin&filter_city=Jakarta Selatan", "protocol": "http", "host": [ "m2msys", "mtwomlogistics", "com" ], "port": "81", "path": [ "api", "areas" ], "query": [ { "key": "area_type", "value": "origin", "description": "origin or destination" }, { "key": "filter_city", "value": "7185", "description": "if area_type = origin then destination filtered by filter_city else if area_type = destination then origin filtered by filter_city", "disabled": true }, { "key": "filter_city", "value": "Jakarta Selatan", "description": "if area_type = origin then destination filtered by filter_city else if area_type = destination then origin filtered by filter_city" } ] }, "description": "Areas only for Origin and Destination option" }, "response": [] }, { "name": "Token Renew", "request": { "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "xxxxx", "type": "string" } ] }, "method": "POST", "header": [], "url": { "raw": "http://m2msys.mtwomlogistics.com:81/api/settings/token/renew", "protocol": "http", "host": [ "m2msys", "mtwomlogistics", "com" ], "port": "81", "path": [ "api", "settings", "token", "renew" ] }, "description": "Token Renew" }, "response": [] } ], "protocolProfileBehavior": {} }