POST technical/CreateOperatingHourTemplates

Request Information

URI Parameters

None.

Body Parameters

OperatingHourTemplates
NameDescriptionTypeAdditional information
OpTemplateId

integer

None.

Tenant

string

None.

TenantId

integer

None.

TemplateName

string

None.

Active

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "OpTemplateId": 1,
  "Tenant": "sample string 2",
  "TenantId": 3,
  "TemplateName": "sample string 4",
  "Active": true
}

text/html

Sample:
{"OpTemplateId":1,"Tenant":"sample string 2","TenantId":3,"TemplateName":"sample string 4","Active":true}

application/xml, text/xml

Sample:
<OperatingHourTemplates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.Xyro.Models.Technical">
  <Active>true</Active>
  <OpTemplateId>1</OpTemplateId>
  <TemplateName>sample string 4</TemplateName>
  <Tenant>sample string 2</Tenant>
  <TenantId>3</TenantId>
</OperatingHourTemplates>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.