Web Service Call - SaveConsignment
Purpose
Create/Save a consignment within the OneFlo System. This information will be stored within OneFlo, for Label Generation, Manifesting and Booking. subsequent steps can be done Manually in the App or via API
In this instance I am making a call to GetChargeQuote in my uat environment through postman, Things I need to perform this call:
- My Session Credentials form my previous Login Call
- Note Session Credentials will expire If
- You Have generated a new "Key"
- You Have Passed the Expiry Date of the Session
- The User has been Deleted/made inactive
- Note Session Credentials will expire If
- Your package/quote information
*Learn how to chain this call in 5) Creating Chained Requests
Endpoint: https://uat-thirdpartywcf.flipgroup.com.au/DataService.svc
This is not the production endpoint. The production endpoint will be provided once all requests have been validated to work correctly.
Headers:
- Key: Content-Type Value: text/xml
- Key: SoapAction Value: http://www.opensys.com.au/ChainIT/4.0/ChainITDataServices/IChainITService/SaveConsignment
Body:
Web Service Call
<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> <AccountID>{{AccountID}}</AccountID> <DistributorID>{{DistributorID}}</DistributorID> <Expires>{{Expires}}</Expires> <Key>{{Key}}</Key> <UserID>{{UserID}}</UserID> </session> <consignment> <AccountID>{{AccountID}}</AccountID> <AllowConsolidation>true</AllowConsolidation> <CloseAt>16:00</CloseAt> <ConsignmentDate>2019-10-19</ConsignmentDate> <ConsignmentItems> <ConsignmentItem> <ConsignmentProduct> <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> <ItemType>SMALL CARTON</ItemType> <Length>38</Length> <NoItems>1</NoItems> <PackagingType>CTN</PackagingType> <!-- https://flipgroup.atlassian.net/wiki/spaces/OIUG/pages/961445944/Shipping+Items+-+Packaging+Type --> <Reference /> <Weight>5</Weight> <Width>25</Width> </ConsignmentItem> </ConsignmentItems> <DeliveryInstructions>Deliver to Front Door.</DeliveryInstructions> <Description /> <DistributorID>101605</DistributorID> <Ext> <UserField1>123456</UserField1> </Ext> <ReadyAt>14:00</ReadyAt> <Receiver> <AddressLocation> <Locality>Nunawading</Locality> <State>VIC</State> <Postcode>3131</Postcode> <CountryCode>AU</CountryCode> </AddressLocation> <ContactName>Peter Test</ContactName> <Email>test@email.com</Email> <Line1>113 Rooks Rd</Line1> <LocationDetails> <Locality>Nunawading</Locality> <State>VIC</State> <Postcode>3131</Postcode> <CountryCode>AU</CountryCode> </LocationDetails> <Name>Steve</Name> <Phone>0425814806</Phone> <State>VIC</State> <Suburb>Nunawading</Suburb> </Receiver> <Reference>PO123456</Reference> <Released>2019-10-19</Released> <Sender> <AccountID>{{AccountID}}</AccountID> <AddressLocation> <Locality>Nunawading</Locality> <State>VIC</State> <Postcode>3131</Postcode> <CountryCode>AU</CountryCode> </AddressLocation> <ContactName>Peter & O"'"Connor</ContactName> <Email>test@email.com</Email> <Line1>113 Rooks Rd</Line1> <LocationDetails> <Locality>Nunawading</Locality> <State>VIC</State> <Postcode>3131</Postcode> <CountryCode>AU</CountryCode> </LocationDetails> <Name>Steven Reynolds</Name> <Phone>0425814806</Phone> <State>VIC</State> <Suburb>Nunawading</Suburb> </Sender> <Service>IPECL</Service> <SpecialInstructions/> </consignment> </SaveConsignment> </soapenv:Body> </soapenv:Envelope>
Related articles
Filter by label
There are no items with the selected labels at this time.