POST api/{database}/Language

Creates a new Language with the specified values



Request Information

Parameters

NameDescriptionAdditional information
value The Language with the updated values.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "description": "sample string 3",
  "ficheLanguage": 1,
  "isoCode": "sample string 4",
  "languageId": "sample string 5"
}

application/xml, text/xml

Sample:
<Language xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <Description>sample string 3</Description>
  <FicheLanguage>1</FicheLanguage>
  <IsoCode>sample string 4</IsoCode>
  <LanguageId>sample string 5</LanguageId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
</Language>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "description": "sample string 3",
  "ficheLanguage": 1,
  "isoCode": "sample string 4",
  "languageId": "sample string 5"
}

application/xml, text/xml

Sample:
<Language xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <Description>sample string 3</Description>
  <FicheLanguage>1</FicheLanguage>
  <IsoCode>sample string 4</IsoCode>
  <LanguageId>sample string 5</LanguageId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
</Language>