POST api/vodia/dndupdated
Request Information
URI Parameters
None.
Body Parameters
APGDoNoDisturb| Name | Description | Type | Additional information |
|---|---|---|---|
| extension | string |
None. |
|
| state | boolean |
None. |
|
| agentconnect_id | string |
None. |
|
| reason | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"extension": "sample string 1",
"state": true,
"agentconnect_id": "sample string 3",
"reason": "sample string 4"
}
application/xml, text/xml
Sample:
<APGDoNoDisturb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vodia.Integration.BusinessEntities"> <agentconnect_id>sample string 3</agentconnect_id> <extension>sample string 1</extension> <reason>sample string 4</reason> <state>true</state> </APGDoNoDisturb>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Object |
None. |
|
| HasError | boolean |
None. |
|
| ErrorCode | integer |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {},
"HasError": true,
"ErrorCode": 3,
"ErrorMessage": "sample string 4"
}
application/xml, text/xml
Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vodia.Integration.BusinessEntities"> <Data /> <ErrorCode>3</ErrorCode> <ErrorMessage>sample string 4</ErrorMessage> <HasError>true</HasError> </ApiResponse>