POST api/usr/CallNotify?serviceNumber={serviceNumber}&pbxUserId={pbxUserId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
serviceNumber

string

None.

pbxUserId

string

None.

Body Parameters

CallNotifyDTO
NameDescriptionTypeAdditional information
Email

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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CallNotifyDTO'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.