POST api/InvoiceTemplate/Update

Request Information

URI Parameters

None.

Body Parameters

InvoiceTemplateUpdateDto
NameDescriptionTypeAdditional information
Name

string

None.

Template

string

None.

TemplateType

TemplateType

None.

ProductCount

integer

None.

ID

globally unique identifier

Required

CompanyID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "template": "sample string 2",
  "templateType": 1,
  "productCount": 3,
  "id": "656c2a82-7692-42f7-bdb8-7923bbac7434",
  "companyID": "3d54b052-877d-474c-b551-aa3c6729a9d3"
}

application/xml, text/xml

Sample:
<InvoiceTemplateUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">
  <CompanyID>3d54b052-877d-474c-b551-aa3c6729a9d3</CompanyID>
  <ID>656c2a82-7692-42f7-bdb8-7923bbac7434</ID>
  <Name>sample string 1</Name>
  <ProductCount>3</ProductCount>
  <Template>sample string 2</Template>
  <TemplateType>Invoice</TemplateType>
</InvoiceTemplateUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"name":"sample string 1","template":"sample string 2","templateType":1,"productCount":3,"id":"656c2a82-7692-42f7-bdb8-7923bbac7434","companyID":"3d54b052-877d-474c-b551-aa3c6729a9d3"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.