POST api/v1/Agents/{AgentID}/Holidays
Creates a new agent’s holiday.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| holidayDto |
Define this parameter in the request body. |
|
| AgentID | No documentation available. |
Define this parameter in the request URI. |
Request body formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"TheID": 1,
"AgentID": 2,
"DateFrom": "2025-10-27T06:56:33.6120277Z",
"DateTo": "2025-10-27T06:56:33.6120277Z",
"Topic": "sample string 5",
"Description": "sample string 6"
}
application/xml, text/xml
Sample:
<AgentHolidayDTO> <TheID>1</TheID> <AgentID>2</AgentID> <DateFrom>2025-10-27T06:56:33.6120277+00:00</DateFrom> <DateTo>2025-10-27T06:56:33.6120277+00:00</DateTo> <Topic>sample string 5</Topic> <Description>sample string 6</Description> </AgentHolidayDTO>