Skip to main content
Omnitracs Knowledge Base

Send Delivery

sendDelivery

Sends an newly created delivery to the vehicles and groups associated with this delivery. The success of this API call denotes successful processing of the send request, not the actual deliveries to all vehicles. This call should only be made after calling Create Delivery with sendImmediate=false. The most current status of actual delivery can be obtained by calling Get Delivery Status.

Once the delivery is sent, individual vehicles will report status of the delivery via T.8.01.0 ESS transactions.

void sendDelivery(SendDeliveryRequest deliveryId)
  • deliveryId: The Id returned from the createDelivery method.

Sample XML Request

Only the SOAP body is shown. To see a sample SOAP Envelope and Header, click here.

<SOAP-ENV:Body>
   <ns2:sendDeliveryRequest xmlns:ns2="http://www.qualcomm.com/mms">1991</ns2:sendDeliveryRequest>
 </SOAP-ENV:Body>

 

Sample XML Response

sendDelivery does not return any value. A SOAP Fault will be returned if there is an error.

Sample Soap Fault

<SOAP-ENV:Body>
  <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring xml:lang="en">error.result.request - Delivery has already been sent</faultstring>
  </SOAP-ENV:Fault>
</SOAP-ENV:Body>

Error Messages 

The following Fault messages will be returned if there is an error.

 

FaultCode

FaultString

error.result.request

error.reason.invalid.request

error.result.request

error.reason.request.already.sent

 

  • Was this article helpful?