POST api/usr/CallNotify?serviceNumber={serviceNumber}&pbxUserId={pbxUserId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| serviceNumber | string |
None. |
|
| pbxUserId | string |
None. |
Body Parameters
CallNotifyDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| string |
None. |
||
| CriteriaList | Collection of CallNotifyCriteriaDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"Email": "sample string 1",
"CriteriaList": [
{
"IsActive": true,
"Name": "sample string 2",
"Notify": true,
"CallsFrom": "sample string 4"
},
{
"IsActive": true,
"Name": "sample string 2",
"Notify": true,
"CallsFrom": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<CallNotifyDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.User">
<CriteriaList>
<CallNotifyCriteriaDTO>
<CallsFrom>sample string 4</CallsFrom>
<IsActive>true</IsActive>
<Name>sample string 2</Name>
<Notify>true</Notify>
</CallNotifyCriteriaDTO>
<CallNotifyCriteriaDTO>
<CallsFrom>sample string 4</CallsFrom>
<IsActive>true</IsActive>
<Name>sample string 2</Name>
<Notify>true</Notify>
</CallNotifyCriteriaDTO>
</CriteriaList>
<Email>sample string 1</Email>
</CallNotifyDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | 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. |