POST api/admin/enterprise/UpdateAgentUnavailableCodes
Request Information
URI Parameters
None.
Body Parameters
AgentUnavailableCodesDTOName | Description | Type | Additional information |
---|---|---|---|
DefaultAgentUnavailableCodeOnDND | string |
None. |
|
DefaultAgentUnavailableCodeOnPersonalCalls | string |
None. |
|
DefaultAgentUnavailableCodeOnConsecutiveBounces | string |
None. |
|
EnableAgentUnavailableCodes | boolean |
None. |
|
ForceUseOfAgentUnavailableCodes | boolean |
None. |
|
DefaultAgentForceUnavailableCode | string |
None. |
|
UnavailableCodes | Collection of EntCallCenterUnavailableCodeDTO |
None. |
Request Formats
application/json, text/json
Sample:
{ "DefaultAgentUnavailableCodeOnDND": "sample string 1", "DefaultAgentUnavailableCodeOnPersonalCalls": "sample string 2", "DefaultAgentUnavailableCodeOnConsecutiveBounces": "sample string 3", "EnableAgentUnavailableCodes": true, "ForceUseOfAgentUnavailableCodes": true, "DefaultAgentForceUnavailableCode": "sample string 6", "UnavailableCodes": [ { "IsActive": true, "Description": "sample string 2", "Code": "sample string 3" }, { "IsActive": true, "Description": "sample string 2", "Code": "sample string 3" } ] }
application/xml, text/xml
Sample:
<AgentUnavailableCodesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.Enterprise"> <DefaultAgentForceUnavailableCode>sample string 6</DefaultAgentForceUnavailableCode> <DefaultAgentUnavailableCodeOnConsecutiveBounces>sample string 3</DefaultAgentUnavailableCodeOnConsecutiveBounces> <DefaultAgentUnavailableCodeOnDND>sample string 1</DefaultAgentUnavailableCodeOnDND> <DefaultAgentUnavailableCodeOnPersonalCalls>sample string 2</DefaultAgentUnavailableCodeOnPersonalCalls> <EnableAgentUnavailableCodes>true</EnableAgentUnavailableCodes> <ForceUseOfAgentUnavailableCodes>true</ForceUseOfAgentUnavailableCodes> <UnavailableCodes> <EntCallCenterUnavailableCodeDTO> <Code>sample string 3</Code> <Description>sample string 2</Description> <IsActive>true</IsActive> </EntCallCenterUnavailableCodeDTO> <EntCallCenterUnavailableCodeDTO> <Code>sample string 3</Code> <Description>sample string 2</Description> <IsActive>true</IsActive> </EntCallCenterUnavailableCodeDTO> </UnavailableCodes> </AgentUnavailableCodesDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |