POST api/admin/AddContactToContactBook

Request Information

URI Parameters

None.

Body Parameters

EnterpriseContactBookDTO
NameDescriptionTypeAdditional information
EnterpriseId

integer

None.

TN

string

None.

OldName

string

None.

Name

string

None.

CanEdit

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "EnterpriseId": 1,
  "TN": "sample string 2",
  "OldName": "sample string 3",
  "Name": "sample string 4",
  "CanEdit": true
}

application/xml, text/xml

Sample:
<EnterpriseContactBookDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO">
  <CanEdit>true</CanEdit>
  <EnterpriseId>1</EnterpriseId>
  <Name>sample string 4</Name>
  <OldName>sample string 3</OldName>
  <TN>sample string 2</TN>
</EnterpriseContactBookDTO>

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.