POST api/InvoiceTemplate/Update
Request Information
URI Parameters
None.
Body Parameters
InvoiceTemplateUpdateDtoName | Description | Type | Additional 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": "a8ff5fcb-bb70-4a1c-be94-be9a1c529150", "companyID": "5e9af733-4cb1-4d53-bf27-808c13fb4d75" }
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>5e9af733-4cb1-4d53-bf27-808c13fb4d75</CompanyID> <ID>a8ff5fcb-bb70-4a1c-be94-be9a1c529150</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":"a8ff5fcb-bb70-4a1c-be94-be9a1c529150","companyID":"5e9af733-4cb1-4d53-bf27-808c13fb4d75"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.