POST api/Users/SetLanguage

Request Information

URI Parameters

None.

Body Parameters

InputLang
NameDescriptionTypeAdditional information
UserId

integer

Required

Language

string

Required

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "Language": "sample string 2"
}

application/xml, text/xml

Sample:
<InputLang xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Musika.Models.API.Input">
  <Language>sample string 2</Language>
  <UserId>1</UserId>
</InputLang>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.