Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save klondaiker/cf8c1b7731c7b64613d788af2303f6c7 to your computer and use it in GitHub Desktop.
Save klondaiker/cf8c1b7731c7b64613d788af2303f6c7 to your computer and use it in GitHub Desktop.
Request Order k-2-9
HTTPI GET request to ws.dev.aramex.net (httpclient)
SOAP request: https://ws.dev.aramex.net/ShippingAPI.V2/Shipping/Service_1_0.svc
SOAPAction: "http://ws.aramex.net/ShippingAPI/v1/Service_1_0/CreateShipments", Content-Type: text/xml;charset=UTF-8, Content-Length: 4281
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://ws.aramex.net/ShippingAPI/v1/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Body>
<tns:ShipmentCreationRequest>
<tns:ClientInfo>
<tns:UserName>[email protected]</tns:UserName>
<tns:Password>R123456789$r</tns:Password>
<tns:Version>v1.0</tns:Version>
<tns:AccountNumber>20016</tns:AccountNumber>
<tns:AccountPin>331421</tns:AccountPin>
<tns:AccountEntity>AMM</tns:AccountEntity>
<tns:AccountCountryCode>JO</tns:AccountCountryCode>
</tns:ClientInfo>
<tns:Shipments>
<tns:Shipment>
<tns:Shipper>
<tns:Reference1>ref 1</tns:Reference1>
<tns:Reference2>ref 2</tns:Reference2>
<tns:AccountNumber>20016</tns:AccountNumber>
<tns:PartyAddress>
<tns:Line1>Prince Abdulaziz Ibn Musaid Ibn Jalawi، As Sulimaniyah</tns:Line1>
<tns:Line2/>
<tns:Line3/>
<tns:City>Riyadh</tns:City>
<tns:StateOrProvinceCode/>
<tns:PostCode>11372</tns:PostCode>
<tns:CountryCode>SA</tns:CountryCode>
</tns:PartyAddress>
<tns:Contact>
<tns:Department/>
<tns:PersonName>Geidea Demo</tns:PersonName>
<tns:Title/>
<tns:CompanyName>Geidea Demo</tns:CompanyName>
<tns:PhoneNumber1>011 463 3100</tns:PhoneNumber1>
<tns:PhoneNumber1Ext/>
<tns:PhoneNumber2/>
<tns:PhoneNumber2Ext/>
<tns:FaxNumber/>
<tns:CellPhone>011 463 3100</tns:CellPhone>
<tns:EmailAddress>[email protected]</tns:EmailAddress>
<tns:Type/>
</tns:Contact>
</tns:Shipper>
<tns:Consignee>
<tns:Reference1>ref 3</tns:Reference1>
<tns:Reference2>ref 4</tns:Reference2>
<tns:PartyAddress>
<tns:Line1>Eastern Ring Branch Rd д. 10 кв. 1</tns:Line1>
<tns:Line2/>
<tns:Line3/>
<tns:City>Saudi Arabia</tns:City>
<tns:StateOrProvinceCode/>
<tns:PostCode>14251</tns:PostCode>
<tns:CountryCode>SA</tns:CountryCode>
</tns:PartyAddress>
<tns:Contact>
<tns:Department/>
<tns:PersonName>Kostyrev Eduard Serg</tns:PersonName>
<tns:Title/>
<tns:CompanyName>Kostyrev Eduard Serg</tns:CompanyName>
<tns:PhoneNumber1>+79036136933</tns:PhoneNumber1>
<tns:PhoneNumber1Ext/>
<tns:PhoneNumber2/>
<tns:PhoneNumber2Ext/>
<tns:FaxNumber/>
<tns:CellPhone>+79036136933</tns:CellPhone>
<tns:EmailAddress>[email protected]</tns:EmailAddress>
<tns:Type/>
</tns:Contact>
</tns:Consignee>
<tns:ShippingDateTime>2019-06-13T18:00:14+03:00</tns:ShippingDateTime>
<tns:DueDate>2019-06-13T18:00:14+03:00</tns:DueDate>
<tns:Comments/>
<tns:PickupLocation/>
<tns:Details>
<tns:Dimensions>
<tns:Length>20</tns:Length>
<tns:Width>10</tns:Width>
<tns:Height>5</tns:Height>
<tns:Unit>cm</tns:Unit>
</tns:Dimensions>
<tns:ActualWeight>
<tns:Unit>Kg</tns:Unit>
<tns:Value>0.5</tns:Value>
</tns:ActualWeight>
<tns:ChargeableWeight>
<tns:Unit>Kg</tns:Unit>
<tns:Value>0.5</tns:Value>
</tns:ChargeableWeight>
<tns:DescriptionOfGoods>Docs</tns:DescriptionOfGoods>
<tns:GoodsOriginCountry>Jo</tns:GoodsOriginCountry>
<tns:NumberOfPieces>1</tns:NumberOfPieces>
<tns:ProductGroup>EXP</tns:ProductGroup>
<tns:ProductType>PDX</tns:ProductType>
<tns:PaymentType>P</tns:PaymentType>
<tns:PaymentOptions/>
<tns:CustomsValueAmount>
<tns:CurrencyCode/>
<tns:Value>0</tns:Value>
</tns:CustomsValueAmount>
<tns:CashOnDeliveryAmount>
<tns:CurrencyCode/>
<tns:Value>0</tns:Value>
</tns:CashOnDeliveryAmount>
<tns:InsuranceAmount>
<tns:CurrencyCode/>
<tns:Value>0</tns:Value>
</tns:InsuranceAmount>
<tns:CashAdditionalAmount>
<tns:CurrencyCode/>
<tns:Value>0</tns:Value>
</tns:CashAdditionalAmount>
<tns:CashAdditionalAmountDescription/>
<tns:CollectAmount>
<tns:CurrencyCode/>
<tns:Value>0</tns:Value>
</tns:CollectAmount>
<tns:Services/>
</tns:Details>
</tns:Shipment>
</tns:Shipments>
<tns:Transaction>#&lt;Aramex::Entity::Transaction:0x0000563ee951bde0&gt;</tns:Transaction>
<tns:LabelInfo>
<tns:ReportID>9201</tns:ReportID>
<tns:ReportType>URL</tns:ReportType>
</tns:LabelInfo>
</tns:ShipmentCreationRequest>
</env:Body>
</env:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment