POST api/InvoiceTemplate/DeleteOfferTemplate
Request Information
URI Parameters
None.
Body Parameters
InvoiceTemplateCardDtoName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Template | string |
None. |
|
TemplateType | TemplateType |
None. |
|
ProductCount | integer |
None. |
|
Code | string |
None. |
|
CreateBy | UserLeanDto |
None. |
|
CreateDT | date |
None. |
|
UpdateBy | UserLeanDto |
None. |
|
UpdateDT | date |
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, "code": "sample string 4", "createBy": { "id": "d0010e94-189a-4612-bea1-9f4e51959fea", "name": "sample string 2", "surname": "sample string 3", "email": "sample string 4" }, "createDT": "2025-05-24T14:44:04.7276907+03:00", "updateBy": { "id": "d0010e94-189a-4612-bea1-9f4e51959fea", "name": "sample string 2", "surname": "sample string 3", "email": "sample string 4" }, "updateDT": "2025-05-24T14:44:04.7276907+03:00", "id": "5558ab2e-221f-47be-975b-eb7d8807aa4a", "companyID": "b813f394-75a6-48ad-b99c-7419ea2e5da3" }
application/xml, text/xml
Sample:
<InvoiceTemplateCardDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CompanyID>b813f394-75a6-48ad-b99c-7419ea2e5da3</CompanyID> <ID>5558ab2e-221f-47be-975b-eb7d8807aa4a</ID> <Code>sample string 4</Code> <CreateBy> <Email>sample string 4</Email> <ID>d0010e94-189a-4612-bea1-9f4e51959fea</ID> <Name>sample string 2</Name> <Surname>sample string 3</Surname> </CreateBy> <CreateDT>2025-05-24T14:44:04.7276907+03:00</CreateDT> <UpdateBy> <Email>sample string 4</Email> <ID>d0010e94-189a-4612-bea1-9f4e51959fea</ID> <Name>sample string 2</Name> <Surname>sample string 3</Surname> </UpdateBy> <UpdateDT>2025-05-24T14:44:04.7276907+03:00</UpdateDT> <Name>sample string 1</Name> <ProductCount>3</ProductCount> <Template>sample string 2</Template> <TemplateType>Invoice</TemplateType> </InvoiceTemplateCardDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"name":"sample string 1","template":"sample string 2","templateType":1,"productCount":3,"code":"sample string 4","createBy":{"id":"d0010e94-189a-4612-bea1-9f4e51959fea","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-05-24T14:44:04.7276907+03:00","updateBy":{"id":"d0010e94-189a-4612-bea1-9f4e51959fea","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-05-24T14:44:04.7276907+03:00","id":"5558ab2e-221f-47be-975b-eb7d8807aa4a","companyID":"b813f394-75a6-48ad-b99c-7419ea2e5da3"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.