View truck details

POST /V13/Searching/TruckSearch.svc Gets the details for a specified truck.

Authorization Username, Password, & Integration ID
SOAP Action http://webservices.truckstop.com/v12/ITruckSearch/GetTruckDetailResults
Content Type text/cml
Accept text/xml
URL Params None
Body Params XML data

📘

## Get Truck Detail Results

Input

GetTruckDetailResultsRequest

Requirements

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

TruckId is the ID of the Truck you want to retrieve details for.

Output

TruckDetailReturn

Sample Request

curl --location 'https://testws.truckstop.com/V13/Searching/TruckSearch.svc' \
--header 'Content-Type: text/xml' \
--header 'SOAPAction: http://webservices.truckstop.com/v12/ITruckSearch/GetTruckDetailResults' \
--header 'Cookie: ASP.NET_SessionId=fqfh5kbcneyitjndt1mevw3f' \
--data '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v12="http://webservices.truckstop.com/v12" xmlns:web="http://schemas.datacontract.org/2004/07/WebServices" xmlns:web1="http://schemas.datacontract.org/2004/07/WebServices.Objects">
   <soapenv:Header/>
   <soapenv:Body>
      <v12:GetTruckDetailResults>
         <v12:detailRequest>
            <web:IntegrationId>12345</web:IntegrationId>
            <web:Password>MyPass123!</web:Password>
            <web:UserName>MyWSUsername</web:UserName>
            <web1:TruckId>1</web1:TruckId>
         </v12:detailRequest>
      </v12:GetTruckDetailResults>
   </soapenv:Body>
</soapenv:Envelope>'
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
        <GetTruckDetailResultsResponse xmlns="http://webservices.truckstop.com/v12">
            <GetTruckDetailResultsResult 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:TruckDetail>
                    <a:CarrierRating/>
                    <a:CompanyID>00000000-0000-0000-0000-000000000000</a:CompanyID>
                    <a:DOTNumber/>
                    <a:DateTruckAvailable/>
                    <a:DestinationCity/>
                    <a:DestinationCountry/>
                    <a:DestinationRadius>0</a:DestinationRadius>
                    <a:DestinationState/>
                    <a:DispatchName/>
                    <a:DispatchPhone/>
                    <a:Entered>2024-11-10T06:48:39.5726843+00:00</a:Entered>
                    <a:EnteredUtc>2024-11-10T06:48:39.5726843Z</a:EnteredUtc>
                    <a:Equipment/>
                    <a:EquipmentOptions xmlns:b="http://schemas.datacontract.org/2004/07/Truckstop2.Objects"/>
                    <a:EquipmentTypes xmlns:b="http://schemas.datacontract.org/2004/07/Truckstop2.Objects">
                        <b:Category i:nil="true"/>
                        <b:CategoryId>0</b:CategoryId>
                        <b:Code i:nil="true"/>
                        <b:Description i:nil="true"/>
                        <b:FullLoad i:nil="true"/>
                        <b:Id>0</b:Id>
                        <b:IsCategorizable>false</b:IsCategorizable>
                        <b:IsCombo>false</b:IsCombo>
                        <b:IsTruckPost>false</b:IsTruckPost>
                        <b:MapToId>0</b:MapToId>
                        <b:RequiredOption i:nil="true"/>
                        <b:WebserviceOnly>false</b:WebserviceOnly>
                    </a:EquipmentTypes>
                    <a:HasFileCheck>false</a:HasFileCheck>
                    <a:ID>0</a:ID>
                    <a:IsDaily>false</a:IsDaily>
                    <a:IsFriend>true</a:IsFriend>
                    <a:IsFullTruck>false</a:IsFullTruck>
                    <a:Length/>
                    <a:MCNumber/>
                    <a:MinMiles/>
                    <a:OriginCity/>
                    <a:OriginCountry/>
                    <a:OriginRadius>0</a:OriginRadius>
                    <a:OriginState/>
                    <a:PerMile>0</a:PerMile>
                    <a:PercentFull/>
                    <a:PointOfContact/>
                    <a:PointOfContactPhone/>
                    <a:Quantity/>
                    <a:SpecInfo/>
                    <a:TCAMember>false</a:TCAMember>
                    <a:TMCNumber/>
                    <a:TimeTruckAvailable/>
                    <a:TruckCompanyCity/>
                    <a:TruckCompanyEmail/>
                    <a:TruckCompanyFax/>
                    <a:TruckCompanyId>0</a:TruckCompanyId>
                    <a:TruckCompanyName/>
                    <a:TruckCompanyPhone/>
                    <a:TruckCompanyState/>
                    <a:TruckDesiredDirection/>
                    <a:TruckNumber i:nil="true"/>
                    <a:Weight/>
                    <a:WhenPostedUtc>0001-01-01T00:00:00Z</a:WhenPostedUtc>
                    <a:Width>0</a:Width>
                </a:TruckDetail>
            </GetTruckDetailResultsResult>
        </GetTruckDetailResultsResponse>
    </s:Body>
</s:Envelope>