GET api/Callcenter/ContactInfo?phoneNumber={phoneNumber}
Получить информацию о контакте
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
phoneNumber | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ContactInfoResponseName | Description | Type | Additional information |
---|---|---|---|
CompanyId | integer |
None. |
|
CompanyName | string |
None. |
|
ContactId | integer |
None. |
|
ContactName | string |
None. |
|
Note | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{ "CompanyId": 1, "CompanyName": "sample string 2", "ContactId": 1, "ContactName": "sample string 3", "Note": "sample string 4" }
application/xml, text/xml
Sample:
<CallcenterController.ContactInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Apec.WebApi.Controllers"> <CompanyId>1</CompanyId> <CompanyName>sample string 2</CompanyName> <ContactId>1</ContactId> <ContactName>sample string 3</ContactName> <Note>sample string 4</Note> </CallcenterController.ContactInfoResponse>