Skip to content
English
  • There are no suggestions because the search field is empty.

Import Parcel Batch

URL /transferability/v1/import_parcel_batch
Method POST 
Parameters

 istestonly, integer

sparcelbatchid, string

sparcelbatchiddest, string

Sample Request JSON

{

   "istestonly":0,

   "sparcelbatchid":"82e7200c-ff51-45c9-bb9e-a55dc0b6a1fe",

   "sparcelbatchiddest": "698b11d7-14a5-44cd-8846-f5cbd8f04330"

}

Sample Response JSON

{

   "status": "ok",

   "isvalid": true,

   "sparcelbatchid": "eb7b62fa-caa8-465b-83b4-9d72b9896ea2",

   "sparcelbatchiddest": "1ceea719-0294-4c1b-8e08-55de20bf5e90",

   "istestonly": false,

   "import": {

       "parcel": [

           {

               "status": "ok",

               "parcelreference": "0",

               "knownorigin": "0 ",

               "parcelweight": 30,

               "numberofstones": 0,

               "country": "UNKNOWN",

               "city": "BRAINE-LE-COMTE",

               "minefactory": "SOFTWARE",

               "origin": [

                   {

                       "country": "BELGIUM",

                       "country_parcel": "Unknown",

                       "country_domain": null,

                       "source_weight": 10,

                       "source_stones": 0,

                       "known_origin": "0",

                       "minefactory": "SOFTWARE",

                       "city": "BRAINE-LE-COMTE"

                   },

                   {

                       "country": "BELGIUM",

                       "country_parcel": "Unknown",

                       "country_domain": null,

                       "source_weight": 20,

                       "source_stones": 0,

                       "known_origin": "0",

                       "minefactory": "SOFTWARE",

                       "city": "BRAINE-LE-COMTE"

                   }

               ]

           },

           {

               "status": "ok",

               "parcelreference": "",

               "knownorigin": "",

               "parcelweight": 0,

               "numberofstones": 0,

               "country": "Unknown",

               "city": "BRAINE-LE-COMTE",

               "minefactory": "SOFTWARE",

               "origin": [

                   {

                       "country": "BELGIUM",

                       "country_parcel": "Unknown",

                       "country_domain": null,

                       "source_weight": 0,

                       "source_stones": 0,

                       "known_origin": "",

                       "minefactory": "SOFTWARE",

                       "city": "BRAINE-LE-COMTE"

                   }

               ]

           },

           {

               "status": "ok",

               "parcelreference": "test 2",

               "knownorigin": "0",

               "parcelweight": 0,

               "numberofstones": 0,

               "country": "Unknown",

               "city": "BRAINE-LE-COMTE",

               "minefactory": "SOFTWARE",

               "origin": [

                   {

                       "country": "BELGIUM",

                       "country_parcel": "Unknown",

                       "country_domain": null,

                       "source_weight": 20,

                       "source_stones": 0,

                       "known_origin": "0",

                       "minefactory": "SOFTWARE",

                       "city": "BRAINE-LE-COMTE"

                   }

               ]

           }

       ],

       "count": 3

   }

}

Response Codes

200: ok

E160: destination batch does not exists