POST api/ActionService/GetUserTypeId

Documentation for 'GetUserTypeId'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "UserId": 1
}

application/xml, text/xml

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

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "Message": {
    "User_Type_Id": 64
  }
}

application/xml, text/xml

Sample:
<ResponseBaseOfUserTypeIdResponsecyvasJX2 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.Musician.Account">
    <d2p1:User_Type_Id>64</d2p1:User_Type_Id>
  </Message>
  <status>sample string 1</status>
</ResponseBaseOfUserTypeIdResponsecyvasJX2>