POST api/Player/CheckAdminAuthorized

Request Information

URI Parameters

None.

Body Parameters

PlayerModificationInstruction
NameDescriptionTypeAdditional 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": "030b02e6-f9a7-4dec-a1ac-2be7a78777b7",
  "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>030b02e6-f9a7-4dec-a1ac-2be7a78777b7</ModificationGuid>
  <PlayerId>1</PlayerId>
  <Quantity>4.1</Quantity>
</PlayerData.PlayerModificationInstruction>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PlayerModificationInstruction'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.