POST api/usr/SpeedDial?speedCode={speedCode}&serviceNumber={serviceNumber}&pbxUserId={pbxUserId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
speedCode

integer

Required

serviceNumber

string

None.

pbxUserId

string

None.

Body Parameters

SpeedDialEntryEditDTO
NameDescriptionTypeAdditional information
Description

string

None.

PhoneNumber

string

None.

SpeedCode

integer

None.

PrimaryPhoneType

SpeedDialContactPrimaryPhoneType

None.

FirstName

string

None.

LastName

string

None.

HomePhone

string

None.

WorkPhone

string

None.

CellPhone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Description": "sample string 1",
  "PhoneNumber": "sample string 2",
  "SpeedCode": 3,
  "PrimaryPhoneType": 0,
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "HomePhone": "sample string 6",
  "WorkPhone": "sample string 7",
  "CellPhone": "sample string 8"
}

application/xml, text/xml

Sample:
<SpeedDialEntryEditDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.User">
  <CellPhone>sample string 8</CellPhone>
  <Description>sample string 1</Description>
  <FirstName>sample string 4</FirstName>
  <HomePhone>sample string 6</HomePhone>
  <LastName>sample string 5</LastName>
  <PhoneNumber>sample string 2</PhoneNumber>
  <PrimaryPhoneType>Home</PrimaryPhoneType>
  <SpeedCode>3</SpeedCode>
  <WorkPhone>sample string 7</WorkPhone>
</SpeedDialEntryEditDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.