PUT api/v1/Agents/{AgentID}/Holidays
Updates the agent’s holiday identified by id.
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-04-24T12:58:40.7127516Z", "DateTo": "2025-04-24T12:58:40.7127516Z", "Topic": "sample string 5", "Description": "sample string 6" }
application/xml, text/xml
Sample:
<AgentHolidayDTO> <TheID>1</TheID> <AgentID>2</AgentID> <DateFrom>2025-04-24T12:58:40.7127516+00:00</DateFrom> <DateTo>2025-04-24T12:58:40.7127516+00:00</DateTo> <Topic>sample string 5</Topic> <Description>sample string 6</Description> </AgentHolidayDTO>