POST api/ActionService/UpdateUserFirstAndLastName

Documentation for 'UpdateUserFirstAndLastName'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "LastName": "sample string 2",
  "UserId": 3
}

application/xml, text/xml

Sample:
<UpdateUserFirstAndLastName xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages.Prefrences">
  <FirstName>sample string 1</FirstName>
  <LastName>sample string 2</LastName>
  <UserId>3</UserId>
</UpdateUserFirstAndLastName>

application/x-www-form-urlencoded

Sample:

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "Message": true
}

application/xml, text/xml

Sample:
<ResponseBaseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.MessageBase">
  <Message>true</Message>
  <status>sample string 1</status>
</ResponseBaseOfboolean>