GET api/RecentContact/GetRecentContact?name={name}&phone={phone}&InfoType={InfoType}
查询最近联络人信息
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| name |
姓名搜索词 |
string |
Required |
| phone |
电话搜索词 |
string |
Required |
| InfoType |
1: 发件人, 2: 收件人 |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
RecentContactListModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ReturnResult |
Return result in string |
Object |
None. |
| Reference | string |
None. |
|
| Message |
Additional message of return result |
string |
None. |
| ContactList |
常用联系人列表 |
Collection of RecentContactModel |
None. |
| Code |
Return result code |
APIReturnResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"ContactList": [
{
"SenderName": "sample string 1",
"SenderPhone": "sample string 2",
"SenderCountry": "sample string 3",
"SenderProvince": "sample string 4",
"SenderCity": "sample string 5",
"SenderAddr1": "sample string 6",
"SenderPostCode": "sample string 7",
"ReceiverName": "sample string 8",
"ReceiverPhone": "sample string 9",
"ReceiverCountry": "sample string 10",
"ReceiverProvince": "sample string 11",
"ReceiverCity": "sample string 12",
"ReceiverAddr1": "sample string 13",
"ReceiverPostCode": "sample string 14",
"ReceiverPhotoId": "sample string 15"
},
{
"SenderName": "sample string 1",
"SenderPhone": "sample string 2",
"SenderCountry": "sample string 3",
"SenderProvince": "sample string 4",
"SenderCity": "sample string 5",
"SenderAddr1": "sample string 6",
"SenderPostCode": "sample string 7",
"ReceiverName": "sample string 8",
"ReceiverPhone": "sample string 9",
"ReceiverCountry": "sample string 10",
"ReceiverProvince": "sample string 11",
"ReceiverCity": "sample string 12",
"ReceiverAddr1": "sample string 13",
"ReceiverPostCode": "sample string 14",
"ReceiverPhotoId": "sample string 15"
}
],
"Code": 0,
"ReturnResult": {},
"Reference": "sample string 2",
"Message": "sample string 3"
}