POST api/InvoiceTemplate/DeleteOfferTemplate

Request Information

URI Parameters

None.

Body Parameters

InvoiceTemplateCardDto
NameDescriptionTypeAdditional 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": "185e6e7e-f1d2-4a8e-87af-f769cb534e78",
    "name": "sample string 2",
    "surname": "sample string 3",
    "email": "sample string 4"
  },
  "createDT": "2025-05-24T16:56:32.3068414+03:00",
  "updateBy": {
    "id": "185e6e7e-f1d2-4a8e-87af-f769cb534e78",
    "name": "sample string 2",
    "surname": "sample string 3",
    "email": "sample string 4"
  },
  "updateDT": "2025-05-24T16:56:32.3068414+03:00",
  "id": "1953ac67-3c01-43fc-908d-fd3aa728cf8c",
  "companyID": "2a1b6f49-bb27-4b3e-92dc-264dcd369683"
}

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>2a1b6f49-bb27-4b3e-92dc-264dcd369683</CompanyID>
  <ID>1953ac67-3c01-43fc-908d-fd3aa728cf8c</ID>
  <Code>sample string 4</Code>
  <CreateBy>
    <Email>sample string 4</Email>
    <ID>185e6e7e-f1d2-4a8e-87af-f769cb534e78</ID>
    <Name>sample string 2</Name>
    <Surname>sample string 3</Surname>
  </CreateBy>
  <CreateDT>2025-05-24T16:56:32.3068414+03:00</CreateDT>
  <UpdateBy>
    <Email>sample string 4</Email>
    <ID>185e6e7e-f1d2-4a8e-87af-f769cb534e78</ID>
    <Name>sample string 2</Name>
    <Surname>sample string 3</Surname>
  </UpdateBy>
  <UpdateDT>2025-05-24T16:56:32.3068414+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":"185e6e7e-f1d2-4a8e-87af-f769cb534e78","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"createDT":"2025-05-24T16:56:32.3068414+03:00","updateBy":{"id":"185e6e7e-f1d2-4a8e-87af-f769cb534e78","name":"sample string 2","surname":"sample string 3","email":"sample string 4"},"updateDT":"2025-05-24T16:56:32.3068414+03:00","id":"1953ac67-3c01-43fc-908d-fd3aa728cf8c","companyID":"2a1b6f49-bb27-4b3e-92dc-264dcd369683"}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.