POST api/IM/CheckFriend
Request Information
URI Parameters
None.
Body Parameters
CheckFriend_Par| Name | Description | Type | Additional information |
|---|---|---|---|
| From_Account | string |
None. |
|
| To_Account | Collection of string |
None. |
|
| CheckType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"From_Account": "sample string 1",
"To_Account": [
"sample string 1",
"sample string 2"
],
"CheckType": "sample string 2"
}
application/xml, text/xml
Sample:
<CheckFriend_Par xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BPMS.OpenApi.Model.IM.ParameterModel">
<CheckType>sample string 2</CheckType>
<From_Account>sample string 1</From_Account>
<To_Account xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</To_Account>
</CheckFriend_Par>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| msg | string |
None. |
|
| errMsg | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2",
"errMsg": "sample string 3",
"data": {}
}
application/xml, text/xml
Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BPMS.OpenApi.Model.ManageBase"> <code>1</code> <data /> <errMsg>sample string 3</errMsg> <msg>sample string 2</msg> </ApiResult>