POST api/Player/SetShipName

Request Information

URI Parameters

None.

Body Parameters

Ship
NameDescriptionTypeAdditional information
ModelId

integer

None.

ShipCode

globally unique identifier

None.

ShipName

string

None.

Skills

Collection of globally unique identifier

None.

IconIdx

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ModelId": 1,
  "ShipCode": "a22d5705-ea2e-43ca-95d1-9ce7f43df306",
  "ShipName": "sample string 3",
  "Skills": [
    "714c3060-105b-41e9-8957-3591d177cecb",
    "714c3060-105b-41e9-8957-3591d177cecb"
  ],
  "IconIdx": 4
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'Player.PlayerData' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'Player.PlayerData' contains cycles and cannot be serialized if reference tracking is disabled.

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 'Ship'.

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.