POST cyapi/pos/getPersonInfo
Request Information
URI Parameters
None.
Body Parameters
GetPersonInfoRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| personCode | string |
None. |
|
| fdbh | integer |
None. |
|
| personId | integer |
None. |
|
| queryPersonWay | integer |
None. |
|
| sktno | string |
None. |
|
| terminalNo | string |
None. |
|
| proType | integer |
None. |
|
| version | string |
None. |
|
| timeStamp | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"personCode": "sample string 1",
"fdbh": 2,
"personId": 3,
"queryPersonWay": 4,
"sktno": "sample string 5",
"terminalNo": "sample string 6",
"proType": 7,
"version": "sample string 8",
"timeStamp": "sample string 9"
}
application/xml, text/xml
Sample:
<GetPersonInfoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosLibrary.PubData"> <proType>7</proType> <sktno>sample string 5</sktno> <terminalNo>sample string 6</terminalNo> <timeStamp>sample string 9</timeStamp> <version>sample string 8</version> <fdbh>2</fdbh> <personCode>sample string 1</personCode> <personId>3</personId> <queryPersonWay>4</queryPersonWay> </GetPersonInfoRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
GetPersonInfoResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| person | Person |
None. |
|
| retCode | string |
None. |
|
| retMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"person": {
"personId": 1,
"personName": "sample string 2",
"personDeptCode": "sample string 3",
"personDeptId": 4,
"personDeptName": "sample string 5",
"personCode": "sample string 6",
"shopId": 7
},
"retCode": "sample string 1",
"retMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<GetPersonInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosLibrary.PubData">
<retCode>sample string 1</retCode>
<retMessage>sample string 2</retMessage>
<person>
<PersonCode>sample string 6</PersonCode>
<PersonDeptCode>sample string 3</PersonDeptCode>
<PersonDeptId>4</PersonDeptId>
<PersonDeptName>sample string 5</PersonDeptName>
<PersonId>1</PersonId>
<PersonName>sample string 2</PersonName>
<ShopId>7</ShopId>
</person>
</GetPersonInfoResponse>