POST language/Update

Request Information

URI Parameters

None.

Body Parameters

LanguageEntity
NameDescriptionTypeAdditional information
LanguageId

integer

None.

Language

string

None.

LanguageCode

string

None.

Active

boolean

None.

IsDefault

boolean

None.

TenantID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LanguageId": 1,
  "Language": "sample string 2",
  "LanguageCode": "sample string 3",
  "Active": true,
  "IsDefault": true,
  "TenantID": 5
}

text/html

Sample:
{"LanguageId":1,"Language":"sample string 2","LanguageCode":"sample string 3","Active":true,"IsDefault":true,"TenantID":5}

application/xml, text/xml

Sample:
<LanguageEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common">
  <Active>true</Active>
  <IsDefault>true</IsDefault>
  <Language>sample string 2</Language>
  <LanguageCode>sample string 3</LanguageCode>
  <LanguageId>1</LanguageId>
  <TenantID>5</TenantID>
</LanguageEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.