Purpose
This Web Service Call allows a third party application to create or modify a consignment in the OneFlo system.
Info |
---|
In this instance I am making a call to GetChargeQuote in my uat environment through postman, Things I need to perform this call:
*Learn how to chain this call in 5) Creating Chained Requests |
...
Code Block | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices"> <soapenv:Header/> <soapenv:Body> <SaveConsignment> <session> <!--Mandatory:--> <AccountID>{{AccountID}}</AccountID> <DistributorID>{{DistributorID}}</DistributorID> <Expires>{{Expires}}</Expires> <Key>{{Key}}</Key> <UserID>{{UserID}}</UserID> </session> <consignment> <!--Mandatory:--> <AccountID>{{AccountID}}</AccountID> <AllowConsolidation>true</AllowConsolidation> <CloseAt>16:00</CloseAt> <ConsignmentDate>2018-08-02 10:09:00</ConsignmentDate> <ConsignmentItems> <ConsignmentItem><ConsignmentItem><!--Mandatory:--> <ConsignmentProduct><ConsignmentProduct><!--Mandatory:--> <Cubic>0.0152</Cubic> <DangerousGoods> <AggQty>4</AggQty> <Class>2.1</Class> <Group>NONE</Group> <Name>AEROSOLS</Name> <PSN>AEROSOLS IN A CAN</PSN> <Qty>1</Qty> <Receptacle>CAN</Receptacle> <SubRisk>N/A</SubRisk> <UnCode>1950</UnCode> <Units>kg</Units> </DangerousGoods> </ConsignmentProduct> <Description>SMALL CARTON</Description> <Height>16</Height> <ItemNo>1</ItemNo> <Length>38</Length> <NoItems>1</NoItems> <Reference /> <Weight>5</Weight> <Width>25</Width> </ConsignmentItem> </ConsignmentItems> <DeliveryInstructions>Deliver to Front Door.</DeliveryInstructions> <Description /> <DistributorID>{{DistributorID}}</DistributorID> <ReadyAt>14:00</ReadyAt> <Receiver><Receiver><!--Mandatory:--> <AddressLocation> <CountryCode>AU</CountryCode> <SuburbStatePostcode>HALLAM VIC 3803</SuburbStatePostcode> </AddressLocation> <ATL>false</ATL> <Contact>CONTACT PERSON</Contact> <Country>AUSTRALIA</Country> <CountryCode>AU</CountryCode> <Email>hallam@company.com.au</Email> <Fax /> <Line1>89 Wellington Street</Line1> <Line2 /> <Line3 /> <Name>CUSTOMER F</Name> <Phone>03 6334 1000</Phone> </Receiver> <Reference>PO123456</Reference>Reference><!--Mandatory:--> <Released>2019-08-01T00:00:00</Released>Released><!--Mandatory:--> <Sender><Sender><!--Mandatory:--> <AddressLocation> <CountryCode>AU</CountryCode> <SuburbStatePostcode>SCORESBY VIC 3179</SuburbStatePostcode> </AddressLocation> <Country>AUSTRALIA</Country> <CountryCode>AU</CountryCode> <Line1>7 Lakeview Drive</Line1> <Line2 /> <Line3 /> <Name>SENDER ENTITY</Name> <Phone /> </Sender> <Service>STEEXP</Service>Service><!--Mandatory:--> <SpecialInstructions/> </consignment> </SaveConsignment> </soapenv:Body> </soapenv:Envelope> |
...