POST api/Users/AddUser
Request Information
URI Parameters
None.
Body Parameters
GameUserEntityName | Description | Type | Additional information |
---|---|---|---|
UniqueId | string |
Required String length: inclusive between 0 and 100 |
|
FacebookId | string |
String length: inclusive between 0 and 50 |
|
PlayerId | string |
String length: inclusive between 0 and 50 |
|
Name | string |
String length: inclusive between 0 and 150 |
|
DeviceType | string |
String length: inclusive between 0 and 15 |
Request Formats
application/json, text/json
Sample:
{ "UniqueId": "sample string 1", "FacebookId": "sample string 2", "PlayerId": "sample string 3", "Name": "sample string 4", "DeviceType": "sample string 5" }
text/html
Sample:
{"UniqueId":"sample string 1","FacebookId":"sample string 2","PlayerId":"sample string 3","Name":"sample string 4","DeviceType":"sample string 5"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResultName | Description | Type | Additional information |
---|---|---|---|
Status | boolean |
None. |
|
Error | string |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": true, "Error": "sample string 2", "Data": {} }
text/html
Sample:
{"Status":true,"Error":"sample string 2","Data":{}}