POST api/InvoiceRepeatProperty/Add

Request Information

URI Parameters

None.

Body Parameters

InvoiceRepeatPropertyAddDto
NameDescriptionTypeAdditional information
InvoiceID

globally unique identifier

None.

CompanyID

globally unique identifier

None.

RepeatCount

integer

None.

InvoiceRepeatPropertyGroupType

InvoiceRepeatPropertyGroupType

None.

FirstRepeatDate

date

None.

ExpirationDateNow

boolean

None.

DaysCreatedDayLater

integer

None.

EndRepeatNever

boolean

None.

EndRepeatCount

integer

None.

EndRepeatDate

date

None.

LastInvoiceDate

date

None.

InvoiceRepeatCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "invoiceID": "4b2f88ed-bf96-47ef-9e5f-166f031e1592",
  "companyID": "16a7146b-1941-41e7-aa60-b23ea5af9bad",
  "repeatCount": 3,
  "invoiceRepeatPropertyGroupType": 1,
  "firstRepeatDate": "2025-05-24T14:31:12.9345424+03:00",
  "expirationDateNow": true,
  "daysCreatedDayLater": 6,
  "endRepeatNever": true,
  "endRepeatCount": 8,
  "endRepeatDate": "2025-05-24T14:31:12.9501676+03:00",
  "lastInvoiceDate": "2025-05-24T14:31:12.9501676+03:00",
  "invoiceRepeatCount": 9
}

application/xml, text/xml

Sample:
<InvoiceRepeatPropertyAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs">
  <CompanyID>16a7146b-1941-41e7-aa60-b23ea5af9bad</CompanyID>
  <DaysCreatedDayLater>6</DaysCreatedDayLater>
  <EndRepeatCount>8</EndRepeatCount>
  <EndRepeatDate>2025-05-24T14:31:12.9501676+03:00</EndRepeatDate>
  <EndRepeatNever>true</EndRepeatNever>
  <ExpirationDateNow>true</ExpirationDateNow>
  <FirstRepeatDate>2025-05-24T14:31:12.9345424+03:00</FirstRepeatDate>
  <InvoiceID>4b2f88ed-bf96-47ef-9e5f-166f031e1592</InvoiceID>
  <InvoiceRepeatCount>9</InvoiceRepeatCount>
  <InvoiceRepeatPropertyGroupType>Week</InvoiceRepeatPropertyGroupType>
  <LastInvoiceDate>2025-05-24T14:31:12.9501676+03:00</LastInvoiceDate>
  <RepeatCount>3</RepeatCount>
</InvoiceRepeatPropertyAddDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"invoiceID":"4b2f88ed-bf96-47ef-9e5f-166f031e1592","companyID":"16a7146b-1941-41e7-aa60-b23ea5af9bad","repeatCount":3,"invoiceRepeatPropertyGroupType":1,"firstRepeatDate":"2025-05-24T14:31:12.9345424+03:00","expirationDateNow":true,"daysCreatedDayLater":6,"endRepeatNever":true,"endRepeatCount":8,"endRepeatDate":"2025-05-24T14:31:12.9501676+03:00","lastInvoiceDate":"2025-05-24T14:31:12.9501676+03:00","invoiceRepeatCount":9}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.