POST api/ContactBook/UploadUserLevelContacts
Request Information
URI Parameters
None.
Body Parameters
MSAttachmentContactBookDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| AttachmentId | string |
None. |
|
| TicketId | string |
None. |
|
| FileName | string |
None. |
|
| AttachmentBody | Collection of byte |
None. |
|
| ContentType | string |
None. |
|
| 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:
{
"AttachmentId": "sample string 1",
"TicketId": "sample string 2",
"FileName": "sample string 3",
"AttachmentBody": "QEA=",
"ContentType": "sample string 4",
"UserId": 5,
"EnterpriseId": 6,
"TN": "sample string 7",
"OldName": "sample string 8",
"Name": "sample string 9",
"OldSpeedDialCode": "sample string 10",
"SpeedDialCode": "sample string 11"
}
application/xml, text/xml
Sample:
<MSAttachmentContactBookDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.MSTeams"> <AttachmentBody>QEA=</AttachmentBody> <AttachmentId>sample string 1</AttachmentId> <ContentType>sample string 4</ContentType> <EnterpriseId>6</EnterpriseId> <FileName>sample string 3</FileName> <Name>sample string 9</Name> <OldName>sample string 8</OldName> <OldSpeedDialCode>sample string 10</OldSpeedDialCode> <SpeedDialCode>sample string 11</SpeedDialCode> <TN>sample string 7</TN> <TicketId>sample string 2</TicketId> <UserId>5</UserId> </MSAttachmentContactBookDTO>
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. |