POST api/customers/{customerId}/innovation/usual-orders

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

integer

Required

Body Parameters

CustomerUsualOrderDto
NameDescriptionTypeAdditional information
Id

integer

None.

StoreId

integer

None.

Label

string

None.

ItemsJson

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "storeId": 2,
  "label": "sample string 3",
  "itemsJson": "sample string 4"
}

application/xml, text/xml

Sample:
<CustomerUsualOrderDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Del.Api.Models.Dtos">
  <Id>1</Id>
  <ItemsJson>sample string 4</ItemsJson>
  <Label>sample string 3</Label>
  <StoreId>2</StoreId>
</CustomerUsualOrderDto>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.