POST api/ContactBook/AddContactToUserContactBook

Request Information

URI Parameters

None.

Body Parameters

UserContactBookDTO
NameDescriptionTypeAdditional information
UserId

integer

None.

EnterpriseId

integer

None.

TN

string

None.

OldName

string

None.

Name

string

None.

OldSpeedDialCode

string

None.

SpeedDialCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "EnterpriseId": 2,
  "TN": "sample string 3",
  "OldName": "sample string 4",
  "Name": "sample string 5",
  "OldSpeedDialCode": "sample string 6",
  "SpeedDialCode": "sample string 7"
}

application/xml, text/xml

Sample:
<UserContactBookDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO">
  <EnterpriseId>2</EnterpriseId>
  <Name>sample string 5</Name>
  <OldName>sample string 4</OldName>
  <OldSpeedDialCode>sample string 6</OldSpeedDialCode>
  <SpeedDialCode>sample string 7</SpeedDialCode>
  <TN>sample string 3</TN>
  <UserId>1</UserId>
</UserContactBookDTO>

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.