This operation returns information about a specified identity.
Request
PARAMETER | DESCRIPTION | FORMAT | EXAMPLE |
partnerID | Unique ID associated with each customer | GUID | D61A14AE-0A0C-464B-B7AB-5900BE7462F9 |
sign | Parameters; partnerID, name (for more information, see Creating Data Sign) |
string (64) | 5E0A0349AE36AD67CD21D891AB124CCE8CC417 1C5BD7EF5B26FCA86DB71F500A |
name | Player’s name | string (48) | Player01 |
Request example:
REST JSON
POST https://staging.tomhorngames.com/services/gms/RestCustomerIntegrationService.svc/GetIdentity HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/json
Content-Length: 123456
Host: staging.tomhorngames.com
{
"partnerID" : "9a2e7402-5cef-42ed-84a6-db589ce19fc6",
"sign" : "D1394EEF834F7B9654B47C0B0994EBCB518EDEBEC523E1157B93A3C8539E3EA6",
"name" : "test_EUR"
}
Response
PARAMETER | DESCRIPTION | FORMAT | EXAMPLE |
Code | Result codes: 0, 1, 11, 12, 1001, 1002, 1003, 1013 (for more information, see Result Codes) | integer | 0 |
Message | Description of the error, if one has occurred. This value is filled only in the event that an error takes place. | string (256) | Cannot find specified identity |
Identity | This property is set only if the result code is 0 (success) | ||
Name | Identity name | string (48) | Player01 |
State | The current state of identity:
|
short | 0 |
Response example:
REST JSON
{
"Code": 0,
"Identity": {
"Name": "test_EUR",
"State": 1
},
"Message": null
}
SOAP
<GetIdentityResult> <Code>0</Code> <Message></Message> <Identity> <Name>Player01</Name> <State>1</State> </Identity> </GetIdentityResult>
Comments
0 comments
Article is closed for comments.