POST api/Player/UpdatePlayerContent
Request Information
URI Parameters
None.
Body Parameters
PlayerModificationInstructionName | Description | Type | Additional information |
---|---|---|---|
PlayerId | integer |
None. |
|
CurrentType | ModificationType |
None. |
|
Id | integer |
None. |
|
ModificationGuid | globally unique identifier |
None. |
|
Quantity | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "PlayerId": 1, "CurrentType": 0, "Id": 2, "ModificationGuid": "52d8caa7-684f-4250-980d-608a8759aa3b", "Quantity": 4.1 }
application/xml, text/xml
Sample:
<PlayerData.PlayerModificationInstruction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Player"> <CurrentType>CheckAdminRights</CurrentType> <Id>2</Id> <ModificationGuid>52d8caa7-684f-4250-980d-608a8759aa3b</ModificationGuid> <PlayerId>1</PlayerId> <Quantity>4.1</Quantity> </PlayerData.PlayerModificationInstruction>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |