{ "opencollection": "1.0.0", "info": { "name": "Partner services API V1.", "version": "V1" }, "items": [ { "info": { "name": "DeliveryPoint", "type": "folder" }, "items": [ { "info": { "name": "Get all Existing Servicepoints for a specified country.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/DeliveryPoint/v1/GetAllServicePoints", "params": [ { "name": "countryCode", "value": "", "type": "query", "description": "Countycode for specified country" } ] }, "docs": "Get all Existing Servicepoints for a specified country." }, { "info": { "name": "Gives you a list of the Servicepoints nearest to the specified location.", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/DeliveryPoint/v1/GetNearestServicePoint" }, "docs": "Gives you a list of the Servicepoints nearest to the specified location." } ] }, { "info": { "name": "Edi", "type": "folder" }, "items": [ { "info": { "name": "Creates an EDI-Shipment in our system. This is needed for all parcels that are sent with Privpak.\r\n Called when another TA has managed the creation of the EDI and is notififying PrivPak of data", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/Edi/v1/RegisterEdi/:countryCode", "params": [ { "name": "countryCode", "value": "", "type": "path", "description": "The country code." } ] }, "docs": "Creates an EDI-Shipment in our system. This is needed for all parcels that are sent with Privpak.\r\n Called when another TA has managed the creation of the EDI and is notififying PrivPak of data" }, { "info": { "name": "Creates a return EDI-Shipment in our system. This is needed for all return parcels that are sent with Privpak.\r\nCalled when another TA has managed the creation of the EDI and is notififying PrivPak of data", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/Edi/v1/RegisterReturnEdi/:countryCode", "params": [ { "name": "countryCode", "value": "", "type": "path", "description": "The country code" } ] }, "docs": "Creates a return EDI-Shipment in our system. This is needed for all return parcels that are sent with Privpak.\r\nCalled when another TA has managed the creation of the EDI and is notififying PrivPak of data" } ] }, { "info": { "name": "ExtendedDeliveryPoint", "type": "folder" }, "items": [ { "info": { "name": "Get all Existing Servicepoints for a specified country.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/ExtendedDeliveryPoint/v1/GetAllServicePoints", "params": [ { "name": "countryCode", "value": "", "type": "query", "description": "Countycode for specified country" } ] }, "docs": "Get all Existing Servicepoints for a specified country." } ] }, { "info": { "name": "PrintCode", "type": "folder" }, "items": [ { "info": { "name": "Gets the QR print code for a shipment based on shipment number.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/print-code/v1", "params": [ { "name": "shipmentNumber", "value": "", "type": "query", "description": "Shipment number." }, { "name": "colliId", "value": "", "type": "query", "description": "Barcode/colli ID." } ] }, "docs": "Gets the QR print code for a shipment based on shipment number." }, { "info": { "name": "Gets the QR image for a shipment based on shipment number or colli-id.\r\n\r\nEasy to use as ex. img-src or background-image on element.\r\nEx. set img src to \"data:image/svg+xml;base64,\" + [Svg response from endpoint]\r\nIf png, a bytestream is returned.", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/print-code/v1/image", "params": [ { "name": "shipmentNumber", "value": "", "type": "query", "description": "Shipment number." }, { "name": "colliId", "value": "", "type": "query", "description": "Barcode/colli ID." }, { "name": "imageformat", "value": "", "type": "query", "description": "If not set, defaults to svg. Send \"png\" if response should be a png." }, { "name": "useBackground", "value": "", "type": "query", "description": "If set, it will remove the white background that can cause issues when using dark mode" } ] }, "docs": "Gets the QR image for a shipment based on shipment number or colli-id.\r\n\r\nEasy to use as ex. img-src or background-image on element.\r\nEx. set img src to \"data:image/svg+xml;base64,\" + [Svg response from endpoint]\r\nIf png, a bytestream is returned." } ] }, { "info": { "name": "SortingCode", "type": "folder" }, "items": [ { "info": { "name": "Returns a sorting code with the corresponding city and postal code.\r\nThe departure- and arrival code should be printed on the waybill and STES according to AGI.\r\n\r\nIf the API returns \"N/A\" the sorting code is missing. This is not an error. Print as is.\r\nIn case of time-out, print '---' for each code.\r\nIn case of other errors, print '???' for each code.\r\nCaching responses for more than 24 hours is not recommended.\r\n\r\nTo use endpoint, invoke a HTTP POST request at \r\n'https://parcelservices-se.dbschenker.com/apipartner/SortingCode/v1/GetSortingCode'", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/SortingCode/v1/GetSortingCode" }, "docs": "Returns a sorting code with the corresponding city and postal code.\r\nThe departure- and arrival code should be printed on the waybill and STES according to AGI.\r\n\r\nIf the API returns \"N/A\" the sorting code is missing. This is not an error. Print as is.\r\nIn case of time-out, print '---' for each code.\r\nIn case of other errors, print '???' for each code.\r\nCaching responses for more than 24 hours is not recommended.\r\n\r\nTo use endpoint, invoke a HTTP POST request at \r\n'https://parcelservices-se.dbsc" } ] }, { "info": { "name": "TrackAndTraceBoxes", "type": "folder" }, "items": [ { "info": { "name": "Retrieves a parcel from a reference", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/TrackAndTraceBoxes/v1/GetParcel", "params": [ { "name": "countryCode", "value": "", "type": "query", "description": "Country code" }, { "name": "referenceType", "value": "", "type": "query", "description": "Parcel referenceType [BARCODE]" }, { "name": "reference", "value": "", "type": "query", "description": "Parcel reference" } ] }, "docs": "Retrieves a parcel from a reference" } ] } ], "bundled": true }