GetTransporterContracts
This function is used to see which transport alternatives are set up for a specific goods owner. The correct transporter codes and service codes are needed in order to specify transporter and service when creating/updating an order through ProcessOrder. Transporter Contract is specified in the object TransporterContract when calling ProcessOrder.
GetTransporterContracts can be used to dynamically display freight alternatives for the user in the system integrating with Ongoing WMS.
Tags: GetTransporterContracts, GetTransporterContractsResponse, GetTransporterContractsResult, TransporterContract, TransporterService
Request XML
POST /xxx/Service.asmx HTTP/1.1
Host: api.ongoingsystems.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ongoingsystems.se/WSI/GetTransporterContracts"
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetTransporterContracts xmlns="http://ongoingsystems.se/WSI">
<UserName>string</UserName>
<Password>string</Password>
<GoodsOwnerCode>string</GoodsOwnerCode>
</GetTransporterContracts>
</soap:Body>
</soap:Envelope>
Request specification
GetTransporterContracts |
UserName |
string(50) |
Req. |
Your username |
Password |
string(50) |
Req. |
Your password |
GoodsOwnerCode |
string(400) |
Req. |
The name/code of your client |
Response XML
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetTransporterContractsResponse xmlns="http://ongoingsystems.se/WSI">
<GetTransporterContractsResult>
<TransporterContracts>
<TransporterContract>
<TransporterName>string</TransporterName>
<TransporterCustomerNumber>string</TransporterCustomerNumber>
<EDICustomerCode>string</EDICustomerCode>
<TransporterCode>string</TransporterCode>
<TransporterServiceCode>string</TransporterServiceCode>
<TransporterServices>
<TransporterService>
<TransporterServiceName>string</TransporterServiceName>
<TransporterServiceCode>string</TransporterServiceCode>
</TransporterService>
<TransporterService>
<TransporterServiceName>string</TransporterServiceName>
<TransporterServiceCode>string</TransporterServiceCode>
</TransporterService>
</TransporterServices>
</TransporterContract>
<TransporterContract>
<TransporterName>string</TransporterName>
<TransporterCustomerNumber>string</TransporterCustomerNumber>
<EDICustomerCode>string</EDICustomerCode>
<TransporterCode>string</TransporterCode>
<TransporterServiceCode>string</TransporterServiceCode>
<TransporterServices>
<TransporterService>
<TransporterServiceName>string</TransporterServiceName>
<TransporterServiceCode>string</TransporterServiceCode>
</TransporterService>
<TransporterService>
<TransporterServiceName>string</TransporterServiceName>
<TransporterServiceCode>string</TransporterServiceCode>
</TransporterService>
</TransporterServices>
</TransporterContract>
</TransporterContracts>
</GetTransporterContractsResult>
</GetTransporterContractsResponse>
</soap:Body>
</soap:Envelope>
Response specification
GetTransporterContractsResponse |
GetTransporterContractsResult |
GetTransporterContractsResult |
|
GetTransporterContractsResult |
TransporterContracts |
TransporterContract[] |
Containing elements of TransporterContract |
TransporterContract |
TransporterName |
string(80) |
The name of the transporter |
TransporterCustomerNumber |
string(50) |
Customer number at the transporter (not always used if defined by sender in TA-system) |
EDICustomerCode |
string(200) |
Often the code defining the sender in the TA-system |
TransporterCode |
string(50) |
The code of the transporter |
TransporterServiceCode |
string(50) |
Obsolete, do not use. |
TransporterServices |
TransporterService[] |
Containing elements of TransporterService |
TransporterService |
TransporterServiceName |
string(100) |
The name of the transporter service |
TransporterServiceCode |
string(50) |
The code of the transporter service |