Skip to content

Instantly share code, notes, and snippets.

@klondaiker
Created May 6, 2021 10:36
Show Gist options
  • Save klondaiker/df9037fbf0a5a4648f855750ce27d875 to your computer and use it in GitHub Desktop.
Save klondaiker/df9037fbf0a5a4648f855750ce27d875 to your computer and use it in GitHub Desktop.
request
{
"ClientInfo":{
"UserName":"[email protected]",
"Password":"*****",
"Version":"v1.0",
"AccountNumber":"4004281",
"AccountPin":"462313",
"AccountEntity":"RUH",
"AccountCountryCode":"SA"
},
"Shipments":[
{
"Shipment":{
"Shipper":{
"Reference1":"ref 1",
"Reference2":"ref 2",
"AccountNumber":"4004281",
"PartyAddress":{
"Line1":"Tabouk",
"Line2":"",
"Line3":"",
"City":"Tabouk",
"StateOrProvinceCode":"",
"PostCode":"SA",
"CountryCode":"SA"
},
"Contact":{
"Department":"",
"PersonName":"Bandar Alanazi",
"Title":"",
"CompanyName":"Bandar Alanazi",
"PhoneNumber1":"+966543931906",
"PhoneNumber1Ext":"",
"PhoneNumber2":"",
"PhoneNumber2Ext":"",
"FaxNumber":"",
"CellPhone":"+966543931906",
"EmailAddress":"[email protected]",
"Type":""
}
},
"Consignee":{
"Reference1":"ref 3",
"Reference2":"ref 4",
"PartyAddress":{
"Line1":"Badr Building Building 8026 ap./office 2",
"Line2":"",
"Line3":"",
"City":"Riyadh",
"StateOrProvinceCode":"",
"PostCode":"12245",
"CountryCode":"SA"
},
"Contact":{
"Department":"",
"PersonName":"Abujamous Amjad Mohammad",
"Title":"",
"CompanyName":"Abujamous Amjad Mohammad",
"PhoneNumber1":"+966531577381",
"PhoneNumber1Ext":"",
"PhoneNumber2":"",
"PhoneNumber2Ext":"",
"FaxNumber":"",
"CellPhone":"+966531577381",
"EmailAddress":"[email protected]",
"Type":""
}
},
"ShippingDateTime":"2021-05-06T13:35:01+03:00",
"DueDate":"2021-05-06T13:35:01+03:00",
"Comments":"",
"PickupLocation":"",
"Details":{
"Dimensions":{
"Length":10,
"Width":10,
"Height":10,
"Unit":"cm"
},
"ActualWeight":{
"Unit":"Kg",
"Value":0.01
},
"ChargeableWeight":{
"Unit":"Kg",
"Value":0.01
},
"DescriptionOfGoods":"Docs",
"GoodsOriginCountry":"SA",
"NumberOfPieces":1,
"ProductGroup":"DOM",
"ProductType":"CDS",
"PaymentType":"P",
"PaymentOptions":"",
"CustomsValueAmount":{
"CurrencyCode":"SAR",
"Value":40.0
},
"CashOnDeliveryAmount":{
"CurrencyCode":"",
"Value":0
},
"InsuranceAmount":{
"CurrencyCode":"",
"Value":0
},
"CashAdditionalAmount":{
"CurrencyCode":"",
"Value":0
},
"CashAdditionalAmountDescription":"",
"CollectAmount":{
"CurrencyCode":"",
"Value":0
},
"Services":"",
"Items":[
]
}
}
}
],
"Transaction":{
"Reference1":"",
"Reference2":"",
"Reference3":"",
"Reference4":"",
"Reference5":""
},
"LabelInfo":{
"ReportID":"9201",
"ReportType":"URL"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment