Skip to content

Instantly share code, notes, and snippets.

@andychongyz
Last active February 23, 2018 06:56
Show Gist options
  • Select an option

  • Save andychongyz/c044460d5c1791fbadea062e0ae7658c to your computer and use it in GitHub Desktop.

Select an option

Save andychongyz/c044460d5c1791fbadea062e0ae7658c to your computer and use it in GitHub Desktop.
Aramex Sample request
"
<soapenv:Envelopexmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"xmlns:v1=\"http://ws.aramex.net/ShippingAPI/v1/\">
<soapenv:Header/>
<soapenv:Body>
<v1:PickupCreationRequest>
<v1:ClientInfo>
//sensitive data removed
</v1:ClientInfo>
<v1:Transaction>
<v1:Reference1>PostCoParcelReturnService</v1:Reference1>
<v1:Reference2></v1:Reference2>
<v1:Reference3></v1:Reference3>
<v1:Reference4></v1:Reference4>
<v1:Reference5></v1:Reference5>
</v1:Transaction>
<v1:Pickup>
<v1:PickupAddress>
<v1:Line1>50JurongGatewayRoad,608549</v1:Line1>
<v1:Line2>JEM</v1:Line2>
<v1:Line3>#01-34/35</v1:Line3>
<v1:City>Singapore</v1:City>
<v1:StateOrProvinceCode></v1:StateOrProvinceCode>
<v1:PostCode>498828</v1:PostCode>
<v1:CountryCode>SG</v1:CountryCode>
</v1:PickupAddress>
<v1:PickupContact>
<v1:Department>PostCoParcelReturn</v1:Department>
<v1:PersonName>MyatKyaing</v1:PersonName>
<v1:Title></v1:Title>
<v1:CompanyName>adidasOriginalsJEMPostCo</v1:CompanyName>
<v1:PhoneNumber1>+6581893250</v1:PhoneNumber1>
<v1:PhoneNumber1Ext></v1:PhoneNumber1Ext>
<v1:PhoneNumber2>+60169332821</v1:PhoneNumber2>
<v1:PhoneNumber2Ext></v1:PhoneNumber2Ext>
<v1:FaxNumber></v1:FaxNumber>
<v1:CellPhone>+6581893250</v1:CellPhone>
<v1:EmailAddress>[email protected]</v1:EmailAddress>
<v1:Type>Pending</v1:Type>
</v1:PickupContact>
<v1:PickupLocation>Counter</v1:PickupLocation>
<v1:PickupDate>2018-02-24</v1:PickupDate>
<v1:ReadyTime>2018-02-24T11:00:00+08:00</v1:ReadyTime>
<v1:LastPickupTime>2018-02-24T16:00:00+08:00</v1:LastPickupTime>
<v1:ClosingTime>2018-02-24T14:00:00+08:00</v1:ClosingTime>
<v1:Comments>PostCoSelf-Collection/Delivery</v1:Comments>
<v1:Reference1>PostCoSelf-Collection/Delivery</v1:Reference1>
<v1:Vehicle>Van</v1:Vehicle>
<v1:Shipments>
<!--Zeroormorerepetitions:-->
<v1:Shipment>
<v1:Reference1>PostCoParcelReturnService</v1:Reference1>
<v1:Reference2></v1:Reference2>
<v1:Reference3></v1:Reference3>
<v1:Shipper>
<v1:Reference1>PostCoParcel</v1:Reference1>
<v1:Reference2></v1:Reference2>
<v1:AccountNumber>139695</v1:AccountNumber>
<v1:PartyAddress>
<v1:Line1>50JurongGatewayRoad,608549</v1:Line1>
<v1:Line2>JEM</v1:Line2>
<v1:Line3>#01-34/35</v1:Line3>
<v1:City>Singapore</v1:City>
<v1:StateOrProvinceCode></v1:StateOrProvinceCode>
<v1:PostCode>498828</v1:PostCode>
<v1:CountryCode>SG</v1:CountryCode>
</v1:PartyAddress>
<v1:Contact>
<v1:Department>PostCoParcelReturn</v1:Department>
<v1:PersonName>MyatKyaing</v1:PersonName>
<v1:Title></v1:Title>
<v1:CompanyName>adidasOriginalsJEMPostCo</v1:CompanyName>
<v1:PhoneNumber1>+6581893250</v1:PhoneNumber1>
<v1:PhoneNumber1Ext></v1:PhoneNumber1Ext>
<v1:PhoneNumber2>+60169332821</v1:PhoneNumber2>
<v1:PhoneNumber2Ext></v1:PhoneNumber2Ext>
<v1:FaxNumber></v1:FaxNumber>
<v1:CellPhone>+6581893250</v1:CellPhone>
<v1:EmailAddress>[email protected]</v1:EmailAddress>
<v1:Type>Pending</v1:Type>
</v1:Contact>
</v1:Shipper>
<v1:Consignee>
<v1:Reference1>PostCoParcel</v1:Reference1>
<v1:Reference2></v1:Reference2>
<v1:AccountNumber>139695</v1:AccountNumber>
<v1:PartyAddress>
<v1:Line1>UETechPark,128476</v1:Line1>
<v1:Line2>10PandanCresent</v1:Line2>
<v1:Line3>#04-01</v1:Line3>
<v1:City>Singapore</v1:City>
<v1:StateOrProvinceCode></v1:StateOrProvinceCode>
<v1:PostCode>498828</v1:PostCode>
<v1:CountryCode>SG</v1:CountryCode>
</v1:PartyAddress>
<v1:Contact>
<v1:Department>PostCoParcelReturn</v1:Department>
<v1:PersonName>Adidas</v1:PersonName>
<v1:Title></v1:Title>
<v1:CompanyName>Adidas@PostCo</v1:CompanyName>
<v1:PhoneNumber1>+60169332821</v1:PhoneNumber1>
<v1:PhoneNumber1Ext></v1:PhoneNumber1Ext>
<v1:PhoneNumber2>+60169332821</v1:PhoneNumber2>
<v1:PhoneNumber2Ext></v1:PhoneNumber2Ext>
<v1:FaxNumber></v1:FaxNumber>
<v1:CellPhone>+60169332821</v1:CellPhone>
<v1:EmailAddress>[email protected]</v1:EmailAddress>
<v1:Type>Pending</v1:Type>
</v1:Contact>
</v1:Consignee>
<v1:ShippingDateTime>2018-02-24</v1:ShippingDateTime>
<v1:DueDate>2018-02-25</v1:DueDate>
<v1:Comments></v1:Comments>
<v1:PickupLocation></v1:PickupLocation>
<v1:OperationsInstructions></v1:OperationsInstructions>
<v1:AccountingInstrcutions></v1:AccountingInstrcutions>
<v1:Details>
<v1:Dimensions>
<v1:Length>50.000</v1:Length>
<v1:Width>50.000</v1:Width>
<v1:Height>50.000</v1:Height>
<v1:Unit>CM</v1:Unit>
</v1:Dimensions>
<v1:ActualWeight>
<v1:Unit>KG</v1:Unit>
<v1:Value>0.500</v1:Value>
</v1:ActualWeight>
<v1:ChargeableWeight>
<v1:Unit>0.500</v1:Unit>
<v1:Value>0.500</v1:Value>
</v1:ChargeableWeight>
<v1:DescriptionOfGoods></v1:DescriptionOfGoods>
<v1:GoodsOriginCountry></v1:GoodsOriginCountry>
<v1:NumberOfPieces>1</v1:NumberOfPieces>
<v1:ProductGroup>DOM</v1:ProductGroup>
<v1:ProductType>ONP</v1:ProductType>
<v1:PaymentType>P</v1:PaymentType>
<v1:PaymentOptions></v1:PaymentOptions>
<v1:CustomsValueAmount>
<v1:CurrencyCode>SGD</v1:CurrencyCode>
<v1:Value>0.000</v1:Value>
</v1:CustomsValueAmount>
<v1:InsuranceAmount>
<v1:CurrencyCode>SGD</v1:CurrencyCode>
<v1:Value>0.000</v1:Value>
</v1:InsuranceAmount>
<v1:CashAdditionalAmount>
<v1:CurrencyCode>SGD</v1:CurrencyCode>
<v1:Value>0.000</v1:Value>
</v1:CashAdditionalAmount>
<v1:CashAdditionalAmountDescription></v1:CashAdditionalAmountDescription>
<v1:CollectAmount>
<v1:CurrencyCode>SGD</v1:CurrencyCode>
<v1:Value>0.000</v1:Value>
</v1:CollectAmount>
<v1:Services></v1:Services>
<v1:Items>
<!--Zeroormorerepetitions:-->
<v1:ShipmentItem>
<v1:PackageType>Plastic</v1:PackageType>
<v1:Quantity>1</v1:Quantity>
<v1:Weight>
<v1:Unit>KG</v1:Unit>
<v1:Value>0.500</v1:Value>
</v1:Weight>
<v1:Comments></v1:Comments>
<v1:Reference></v1:Reference>
</v1:ShipmentItem>
</v1:Items>
</v1:Details>
<v1:Attachments>
<!--Zeroormorerepetitions:-->
<v1:Attachment>
<v1:FileName></v1:FileName>
<v1:FileExtension></v1:FileExtension>
<v1:FileContents></v1:FileContents>
</v1:Attachment>
</v1:Attachments>
<v1:ForeignHAWB></v1:ForeignHAWB>
<v1:TransportType_x0020_>0</v1:TransportType_x0020_>
<v1:PickupGUID></v1:PickupGUID>
</v1:Shipment>
</v1:Shipments>
<v1:PickupItems>
<!--Zeroormorerepetitions:-->
<v1:PickupItemDetail>
<v1:ProductGroup>DOM</v1:ProductGroup>
<v1:ProductType>ONP</v1:ProductType>
<v1:NumberOfShipments>1</v1:NumberOfShipments>
<v1:PackageType>Plastic</v1:PackageType>
<v1:Payment>3</v1:Payment>
<v1:ShipmentWeight>
<v1:Unit>KG</v1:Unit>
<v1:Value>0.500</v1:Value>
</v1:ShipmentWeight>
<v1:ShipmentVolume>
<v1:Unit>KG</v1:Unit>
<v1:Value>0.500</v1:Value>
</v1:ShipmentVolume>
<v1:NumberOfPieces>1</v1:NumberOfPieces>
<v1:CashAmount>
<v1:CurrencyCode>SGD</v1:CurrencyCode>
<v1:Value>0.000</v1:Value>
</v1:CashAmount>
<v1:ExtraCharges>
<v1:CurrencyCode>SGD</v1:CurrencyCode>
<v1:Value>0.000</v1:Value>
</v1:ExtraCharges>
<v1:ShipmentDimensions>
<v1:Length>50.000</v1:Length>
<v1:Width>50.000</v1:Width>
<v1:Height>50.000</v1:Height>
<v1:Unit>CM</v1:Unit>
</v1:ShipmentDimensions>
<v1:Comments></v1:Comments>
</v1:PickupItemDetail>
</v1:PickupItems>
<v1:Status>Ready</v1:Status>
</v1:Pickup>
<v1:LabelInfo>
<v1:ReportID>9201</v1:ReportID>
<v1:ReportType>URL</v1:ReportType>
</v1:LabelInfo>
</v1:PickupCreationRequest>
</soapenv:Body>
</soapenv:Envelope>
"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment