POST api/OpsLog/UpdateTaskDeliver

Use this method to udpate the deliver task (DELIVER)

Request Information

URI Parameters

None.

Body Parameters

TaskDeliverParm
NameDescriptionTypeAdditional information
auth

User authorization key

string

None.

EntityGUID

System assign entity identifier

string

None.

EntityType

Entity type

string

None.

DeliverType

RD= Recover and Deliver, PD=Pickup and Deliver

string

None.

ActualDeliveryDateTime

Acutal date/time of delivery

date

None.

Signature

Signature of delivery

string

None.

QualityControlID

The quality control code if shipment is late

integer

None.

Weight

Weight of the shipment

decimal number

None.

Distance

Deliver distance of the shipment

integer

None.

WaitingTime

Waiting time at delivery

integer

None.

AttemptCount

Number of attempts to deliver

integer

None.

WeightUOM

The weight unit (LB=pounds, KG=kilos)

string

None.

DistanceUOM

The distance unit (MI=miles, KM=kilometers)

string

None.

Request Formats

application/json, text/json

Sample:
{
  "auth": "sample string 1",
  "EntityGUID": "sample string 2",
  "EntityType": "sample string 3",
  "DeliverType": "sample string 4",
  "ActualDeliveryDateTime": "2024-09-22T05:36:18.858261-07:00",
  "Signature": "sample string 5",
  "QualityControlID": 1,
  "Weight": 1.0,
  "Distance": 1,
  "WaitingTime": 1,
  "AttemptCount": 1,
  "WeightUOM": "sample string 6",
  "DistanceUOM": "sample string 7"
}

application/xml, text/xml

Sample:
<TaskDeliverParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Transportation.Models">
  <ActualDeliveryDateTime>2024-09-22T05:36:18.858261-07:00</ActualDeliveryDateTime>
  <AttemptCount>1</AttemptCount>
  <DeliverType>sample string 4</DeliverType>
  <Distance>1</Distance>
  <DistanceUOM>sample string 7</DistanceUOM>
  <EntityGUID>sample string 2</EntityGUID>
  <EntityType>sample string 3</EntityType>
  <QualityControlID>1</QualityControlID>
  <Signature>sample string 5</Signature>
  <WaitingTime>1</WaitingTime>
  <Weight>1</Weight>
  <WeightUOM>sample string 6</WeightUOM>
  <auth>sample string 1</auth>
</TaskDeliverParm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseBase
NameDescriptionTypeAdditional information
IsSuccessful

Set to true if method was successful

boolean

None.

ErrorMessage

The error message if method call was not successful

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseBase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Transportation.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccessful>true</IsSuccessful>
</ResponseBase>