POST api/account/customer/holiday

Request Information

URI Parameters

None.

Body Parameters

CustomerHoliday
NameDescriptionTypeAdditional information
ID

integer

None.

CustomerID

integer

None.

CreatedDate

date

None.

StartDate

date

None.

EndDate

date

None.

Notes

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "CustomerID": 2,
  "CreatedDate": "2025-05-11T10:23:18.6793375+00:00",
  "StartDate": "2025-05-11T10:23:18.6793375+00:00",
  "EndDate": "2025-05-11T10:23:18.6793375+00:00",
  "Notes": "sample string 6"
}

application/xml, text/xml

Sample:
<CustomerHoliday xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/cag.Data.Customers">
  <CreatedDate>2025-05-11T10:23:18.6793375+00:00</CreatedDate>
  <CustomerID>2</CustomerID>
  <EndDate>2025-05-11T10:23:18.6793375+00:00</EndDate>
  <ID>1</ID>
  <Notes>sample string 6</Notes>
  <StartDate>2025-05-11T10:23:18.6793375+00:00</StartDate>
</CustomerHoliday>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.