POST api/Orders

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
orderDetailInfo
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "OrderNumber": "sample string 1",
  "Location": "sample string 2",
  "TractorId": "sample string 3",
  "ArrivalDate": "2024-09-16T06:08:09.785336-04:00",
  "StartedDate": "2024-09-16T06:08:09.785336-04:00",
  "CompletedDate": "2024-09-16T06:08:09.785336-04:00",
  "IsDriverUnloaded": true,
  "IsDriverAssist": true,
  "IsHelpRequired": true,
  "PaidAmount": 1.0,
  "IsAtRail": true,
  "HidePodDetentionHours": true
}

application/xml, text/xml

Sample:
<OrderDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgentPortalAPI.Models">
  <ArrivalDate>2024-09-16T06:08:09.785336-04:00</ArrivalDate>
  <CompletedDate>2024-09-16T06:08:09.785336-04:00</CompletedDate>
  <HidePodDetentionHours>true</HidePodDetentionHours>
  <IsAtRail>true</IsAtRail>
  <IsDriverAssist>true</IsDriverAssist>
  <IsDriverUnloaded>true</IsDriverUnloaded>
  <IsHelpRequired>true</IsHelpRequired>
  <Location>sample string 2</Location>
  <OrderNumber>sample string 1</OrderNumber>
  <PaidAmount>1</PaidAmount>
  <StartedDate>2024-09-16T06:08:09.785336-04:00</StartedDate>
  <TractorId>sample string 3</TractorId>
</OrderDetailModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OrderDetailModel'.