POST api/store-portal/advanced/quick-orders

Request Information

URI Parameters

None.

Body Parameters

StoreQuickOrderTemplateDto
NameDescriptionTypeAdditional information
Id

integer

None.

Label

string

None.

ItemsJson

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "label": "sample string 2",
  "itemsJson": "sample string 3",
  "isActive": true
}

application/xml, text/xml

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

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.