POST api/Orders

Request Information

URI Parameters

None.

Body Parameters

OrderModel
NameDescriptionTypeAdditional information
Key

string

Required

DeliveredOn

date

None.

InternalNote

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Key": "sample string 1",
  "DeliveredOn": "2024-12-25T03:20:46.7819898+02:00",
  "InternalNote": "sample string 2"
}

application/xml, text/xml

Sample:
<OrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Salesforce.Gateway.Model">
  <DeliveredOn>2024-12-25T03:20:46.7819898+02:00</DeliveredOn>
  <InternalNote>sample string 2</InternalNote>
  <Key>sample string 1</Key>
</OrderModel>

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 'OrderModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.