Search for all my posted trucks

POST /v13/Posting/TruckPosting.svc Gets trucks posted by authenticated user.

Authorization Username, Password, & Integration ID
SOAP Action http://webservices.truckstop.com/v11/ITruckPosting/GetTrucks
Content Type text/xml
Accept text/xml
URL Params None
Body Params XML data

📘

Get a list of posted trucks

Input

TruckListRequest

Requirements

Authentication requires an account with a valid user name, password, and integration ID that has Truck Posting Web Service enabled.

Output

TruckListReturn

Sample Request

curl --location 'https://testws.truckstop.com/v13/Posting/TruckPosting.svc' \
--header 'Content-Type: text/xml' \
--header 'SOAPAction: http://webservices.truckstop.com/v11/ITruckPosting/GetTrucks' \
--header 'Cookie: ASP.NET_SessionId=u4sfjts1qiiuc4ie0mxqnpmg' \
--data '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v11="http://webservices.truckstop.com/v11" xmlns:web="http://schemas.datacontract.org/2004/07/WebServices">
   <soapenv:Header/>
   <soapenv:Body>
      <v11:GetTrucks>
         <v11:listRequest>
            <web:IntegrationId>12345</web:IntegrationId>
            <web:Password>MyPass123!</web:Password>
            <web:UserName>MyWSUserName</web:UserName>
         </v11:listRequest>
      </v11:GetTrucks>
   </soapenv:Body>
</soapenv:Envelope>'
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
        <GetTrucksResponse xmlns="http://webservices.truckstop.com/v11">
            <GetTrucksResult xmlns:a="http://schemas.datacontract.org/2004/07/WebServices.Objects" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
                <Errors xmlns="http://schemas.datacontract.org/2004/07/WebServices"/>
                <a:PostedTrucks>
                    <a:TruckPost>
                        <a:DateAvailable>2024-11-07T00:00:00</a:DateAvailable>
                        <a:DateTruckAvailable>11/7/24</a:DateTruckAvailable>
                        <a:DestinationCity/>
                        <a:DestinationCountry>USA</a:DestinationCountry>
                        <a:DestinationRadius>100</a:DestinationRadius>
                        <a:DestinationState/>
                        <a:EnteredUtc>2024-11-07T09:52:09.477Z</a:EnteredUtc>
                        <a:Equipment>V</a:Equipment>
                        <a:EquipmentOptions xmlns:b="http://schemas.datacontract.org/2004/07/Truckstop2.Objects"/>
                        <a:Handle>Dispatch</a:Handle>
                        <a:Id>66337780</a:Id>
                        <a:IsDaily>false</a:IsDaily>
                        <a:IsFull>false</a:IsFull>
                        <a:OriginCity>seattle</a:OriginCity>
                        <a:OriginCountry>USA</a:OriginCountry>
                        <a:OriginRadius>100</a:OriginRadius>
                        <a:OriginState>wa</a:OriginState>
                        <a:TruckMultiDest/>
                        <a:TruckNumber>144</a:TruckNumber>
                        <a:WhenPostedUtc>2024-10-28T13:32:52.533Z</a:WhenPostedUtc>
                    </a:TruckPost>
                </a:PostedTrucks>
            </GetTrucksResult>
        </GetTrucksResponse>
    </s:Body>
</s:Envelope>