POST api/InvoiceTemplate/Add
Request Information
URI Parameters
None.
Body Parameters
InvoiceTemplateAddDtoName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Template | string |
None. |
|
TemplateType | TemplateType |
None. |
|
ProductCount | integer |
None. |
|
CompanyID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "name": "sample string 1", "template": "sample string 2", "templateType": 1, "productCount": 3, "companyID": "5bfb1e03-06e1-4ec8-ab13-c98e7e54a09c" }
application/xml, text/xml
Sample:
<InvoiceTemplateAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>5bfb1e03-06e1-4ec8-ab13-c98e7e54a09c</CompanyID> <Name>sample string 1</Name> <ProductCount>3</ProductCount> <Template>sample string 2</Template> <TemplateType>Invoice</TemplateType> </InvoiceTemplateAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"name":"sample string 1","template":"sample string 2","templateType":1,"productCount":3,"companyID":"5bfb1e03-06e1-4ec8-ab13-c98e7e54a09c"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.