POST api/Beings/UpdateFactionOfficers

Request Information

URI Parameters

None.

Body Parameters

DiplomatsUpdateData
NameDescriptionTypeAdditional information
FactionGuid

globally unique identifier

None.

NewDiplomats

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "FactionGuid": "c089dea4-80d4-4645-a2c3-ac04a1db9251",
  "NewDiplomats": [
    "68236eb5-c1f5-4173-b742-2cb0ef18d604",
    "e55c0d9a-9166-44a9-8526-98478c758eb6"
  ]
}

application/xml, text/xml

Sample:
<DiplomatsUpdateData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Beings">
  <FactionGuid>c089dea4-80d4-4645-a2c3-ac04a1db9251</FactionGuid>
  <NewDiplomats xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>68236eb5-c1f5-4173-b742-2cb0ef18d604</d2p1:guid>
    <d2p1:guid>e55c0d9a-9166-44a9-8526-98478c758eb6</d2p1:guid>
  </NewDiplomats>
</DiplomatsUpdateData>

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

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.