PensRater
Click here for a complete list of operations.
GetShipmentStatus
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/pensrater.asmx HTTP/1.1 Host: classicapi.peninsulatruck.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://peninsulatruck.com/WebServices/GetShipmentStatus" <?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> <GetShipmentStatus xmlns="http://peninsulatruck.com/WebServices"> <userId>string</userId> <password>string</password> <proNumber>string</proNumber> </GetShipmentStatus> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?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> <GetShipmentStatusResponse xmlns="http://peninsulatruck.com/WebServices"> <GetShipmentStatusResult> <status> <proNumber>string</proNumber> <proDate>string</proDate> <interlinePro>string</interlinePro> <shipperNumber>string</shipperNumber> <poNumber>string</poNumber> <freightParties> <freightParty xsi:nil="true" /> <freightParty xsi:nil="true" /> </freightParties> <freightTerminals> <freightTerminal xsi:nil="true" /> <freightTerminal xsi:nil="true" /> </freightTerminals> <proStatus>string</proStatus> <activityDetail> <freightActivity xsi:nil="true" /> <freightActivity xsi:nil="true" /> </activityDetail> </status> <errors> <number>string</number> <message>string</message> </errors> </GetShipmentStatusResult> </GetShipmentStatusResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/pensrater.asmx HTTP/1.1 Host: classicapi.peninsulatruck.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetShipmentStatus xmlns="http://peninsulatruck.com/WebServices"> <userId>string</userId> <password>string</password> <proNumber>string</proNumber> </GetShipmentStatus> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetShipmentStatusResponse xmlns="http://peninsulatruck.com/WebServices"> <GetShipmentStatusResult> <status> <proNumber>string</proNumber> <proDate>string</proDate> <interlinePro>string</interlinePro> <shipperNumber>string</shipperNumber> <poNumber>string</poNumber> <freightParties> <freightParty xsi:nil="true" /> <freightParty xsi:nil="true" /> </freightParties> <freightTerminals> <freightTerminal xsi:nil="true" /> <freightTerminal xsi:nil="true" /> </freightTerminals> <proStatus>string</proStatus> <activityDetail> <freightActivity xsi:nil="true" /> <freightActivity xsi:nil="true" /> </activityDetail> </status> <errors> <number>string</number> <message>string</message> </errors> </GetShipmentStatusResult> </GetShipmentStatusResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /webservices/pensrater.asmx/GetShipmentStatus?userId=string&password=string&proNumber=string HTTP/1.1 Host: classicapi.peninsulatruck.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <freightStatus xmlns="http://peninsulatruck.com/WebServices"> <status> <proNumber>string</proNumber> <proDate>string</proDate> <interlinePro>string</interlinePro> <shipperNumber>string</shipperNumber> <poNumber>string</poNumber> <freightParties> <freightParty> <partyType>string</partyType> <partyName>string</partyName> <partyAddress1>string</partyAddress1> <partyAddress2>string</partyAddress2> <partyCity>string</partyCity> <partyState>string</partyState> <partyZipCode>string</partyZipCode> </freightParty> <freightParty> <partyType>string</partyType> <partyName>string</partyName> <partyAddress1>string</partyAddress1> <partyAddress2>string</partyAddress2> <partyCity>string</partyCity> <partyState>string</partyState> <partyZipCode>string</partyZipCode> </freightParty> </freightParties> <freightTerminals> <freightTerminal> <terminalType>string</terminalType> <terminalCode>string</terminalCode> <terminalName>string</terminalName> </freightTerminal> <freightTerminal> <terminalType>string</terminalType> <terminalCode>string</terminalCode> <terminalName>string</terminalName> </freightTerminal> </freightTerminals> <proStatus>string</proStatus> <activityDetail> <freightActivity> <activityDate>string</activityDate> <activityTime>string</activityTime> <activityDescription>string</activityDescription> <activityLocation>string</activityLocation> </freightActivity> <freightActivity> <activityDate>string</activityDate> <activityTime>string</activityTime> <activityDescription>string</activityDescription> <activityLocation>string</activityLocation> </freightActivity> </activityDetail> </status> <errors> <number>string</number> <message>string</message> </errors> </freightStatus>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /webservices/pensrater.asmx/GetShipmentStatus HTTP/1.1 Host: classicapi.peninsulatruck.com Content-Type: application/x-www-form-urlencoded Content-Length: length userId=string&password=string&proNumber=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <freightStatus xmlns="http://peninsulatruck.com/WebServices"> <status> <proNumber>string</proNumber> <proDate>string</proDate> <interlinePro>string</interlinePro> <shipperNumber>string</shipperNumber> <poNumber>string</poNumber> <freightParties> <freightParty> <partyType>string</partyType> <partyName>string</partyName> <partyAddress1>string</partyAddress1> <partyAddress2>string</partyAddress2> <partyCity>string</partyCity> <partyState>string</partyState> <partyZipCode>string</partyZipCode> </freightParty> <freightParty> <partyType>string</partyType> <partyName>string</partyName> <partyAddress1>string</partyAddress1> <partyAddress2>string</partyAddress2> <partyCity>string</partyCity> <partyState>string</partyState> <partyZipCode>string</partyZipCode> </freightParty> </freightParties> <freightTerminals> <freightTerminal> <terminalType>string</terminalType> <terminalCode>string</terminalCode> <terminalName>string</terminalName> </freightTerminal> <freightTerminal> <terminalType>string</terminalType> <terminalCode>string</terminalCode> <terminalName>string</terminalName> </freightTerminal> </freightTerminals> <proStatus>string</proStatus> <activityDetail> <freightActivity> <activityDate>string</activityDate> <activityTime>string</activityTime> <activityDescription>string</activityDescription> <activityLocation>string</activityLocation> </freightActivity> <freightActivity> <activityDate>string</activityDate> <activityTime>string</activityTime> <activityDescription>string</activityDescription> <activityLocation>string</activityLocation> </freightActivity> </activityDetail> </status> <errors> <number>string</number> <message>string</message> </errors> </freightStatus>