POST invoice/addInvoiceTemplates

Request Information

URI Parameters

None.

Body Parameters

InvoiceTemplatesEntity
NameDescriptionTypeAdditional information
InvoiceTemplateId

integer

None.

TemplateName

string

None.

Active

boolean

None.

ObjectType

integer

None.

ObjectTypeName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InvoiceTemplateId": 1,
  "TemplateName": "sample string 2",
  "Active": true,
  "ObjectType": 4,
  "ObjectTypeName": "sample string 5"
}

text/html

Sample:
{"InvoiceTemplateId":1,"TemplateName":"sample string 2","Active":true,"ObjectType":4,"ObjectTypeName":"sample string 5"}

application/xml, text/xml

Sample:
<InvoiceTemplatesEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Invoice">
  <Active>true</Active>
  <InvoiceTemplateId>1</InvoiceTemplateId>
  <ObjectType>4</ObjectType>
  <ObjectTypeName>sample string 5</ObjectTypeName>
  <TemplateName>sample string 2</TemplateName>
</InvoiceTemplatesEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.