POST api/ActionService/GetDisplayName

Documentation for 'GetDisplayName'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ConceptId": 1,
  "UserId": 2
}

application/xml, text/xml

Sample:
<UserProfileRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages">
  <ConceptId>1</ConceptId>
  <UserId>2</UserId>
</UserProfileRequest>

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "Message": {
    "DisplayName": "sample string 1",
    "UserTypeId": 64,
    "ProfileUrl": "sample string 3",
    "IsUrlChoosen": 4
  }
}

application/xml, text/xml

Sample:
<ResponseBaseOfDisplayProfileNameResponseK8eNC3q0 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.MessageBase">
  <Message xmlns:d2p1="http://schemas.datacontract.org/2004/07/PartyMusic.BusinessObject.Messages">
    <d2p1:DisplayName>sample string 1</d2p1:DisplayName>
    <d2p1:IsUrlChoosen>4</d2p1:IsUrlChoosen>
    <d2p1:ProfileUrl>sample string 3</d2p1:ProfileUrl>
    <d2p1:UserTypeId>64</d2p1:UserTypeId>
  </Message>
  <status>sample string 1</status>
</ResponseBaseOfDisplayProfileNameResponseK8eNC3q0>