{ "info": { "_postman_id": "378e9519-f0fe-41ae-9ac0-5aa73cfb2946", "name": "Kargo", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "29890726", "_collection_link": "https://entegrasyon-2859.postman.co/workspace/Entegrasyon-Workspace~03ae9ad0-ea83-478a-87af-e2b3db19bd63/collection/29890726-378e9519-f0fe-41ae-9ac0-5aa73cfb2946?action=share&source=collection_link&creator=29890726" }, "item": [ { "name": "Barkod Sorgulama", "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "12345", "type": "string" }, { "key": "username", "value": "ptt" "type": "string" } ] }, "method": "POST", "header": [ { "key": "Authorization", "value": "Basic dHJlbmRzYWF0aTp3RmpaY2w=" }, { "key": "Integration-Key", "value": "pttavm" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\r\n \"tracking_id\": \"135095626fd8e6b9ff7cd220a1110cd8\"\r\n}\r\n// completed: process completed error: Error received during operation pending: transaction continues ", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://shipment.pttavm.com/api/v1/barcode-status", "protocol": "https", "host": [ "shipment", "pttavm", "com" ], "path": [ "api", "v1", "barcode-status" ] } }, "response": [] }, { "name": "Barkod Oluştur", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "", "type": "string" }, { "key": "password", "value": "", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"orders\": [\r\n {\r\n \"order_id\": \"string\", //must\r\n \"warehouse_id\": 100301619 //must olan \r\n },\r\n {\r\n \"order_id\": \"string\",\r\n \"warehouse_id\": 100301619 //must olan \r\n }\r\n ]\r\n}\r\n\r\n// sipariş numaraları aynı olup, depo numaraları farklı olamaz\r\n", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://shipment.pttavm.com/api/v1/create-barcode", "protocol": "https", "host": [ "shipment", "pttavm", "com" ], "path": [ "api", "v1", "create-barcode" ] } }, "response": [] }, { "name": "Depo Sorgulama", "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "12345", "type": "string" }, { "key": "username", "value": "ptt" "type": "string" } ] }, "method": "POST", "header": [ { "key": "Authorization", "value": "Basic dHJlbmRzYWF0aTp3RmpaY2w=" }, { "key": "Integration-Key", "value": "pttavm" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\r\n \"tracking_id\": \"ba5caf7705ca836f404bd101dc53d9ef\"\r\n}\r\n// completed: process completed error: Error received during operation pending: transaction continues ", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://shipment.pttavm.com/api/v1/get-warehouse", "protocol": "https", "host": [ "shipment", "pttavm", "com" ], "path": [ "api", "v1", "get-warehouse" ] } }, "response": [] }, { "name": "Etkiet Detayı", "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "12345", "type": "string" }, { "key": "username", "value": "ptt" "type": "string" } ] }, "method": "POST", "header": [ { "key": "Authorization", "value": "Basic dHJlbmRzYWF0aTp3RmpaY2w=" }, { "key": "Integration-Key", "value": "pttavm" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\r\n \"barcode\": \"2710282936468\",\r\n \"order_id\": \"PTT-0BO6M672N-180925\",\r\n \"type\":\"null\"\r\n }\r\n\r\n // \"type\":\"zpl\" gönderilirse zebra yazıcılar için formattır.(zpl) null gönderilirse html", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://shipment.pttavm.com/api/v1/get-barcode-tag", "protocol": "https", "host": [ "shipment", "pttavm", "com" ], "path": [ "api", "v1", "get-barcode-tag" ] } }, "response": [] }, { "name": "Barkod Status Güncelle", "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "12345", "type": "string" }, { "key": "username", "value": "ptt" "type": "string" } ] }, "method": "POST", "header": [ { "key": "Authorization", "value": "Basic dHJlbmRzYWF0aTp3RmpaY2w=" }, { "key": "Integration-Key", "value": "pttavm" }, { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\r\n \"order_id\": \"PTT-0ACR4RS2B-180925\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "https://shipment.pttavm.com/api/v1/update-no-shipping-order", "protocol": "https", "host": [ "shipment", "pttavm", "com" ], "path": [ "api", "v1", "update-no-shipping-order" ] } }, "response": [] } ] }