POST api/Languages/Add

Request Information

URI Parameters

None.

Body Parameters

AddImageLanguageBindingModel
NameDescriptionTypeAdditional information
ImageContent

string

None.

ImageName

string

None.

EnglishName

string

None.

LocalName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ImageContent": "sample string 1",
  "ImageName": "sample string 2",
  "EnglishName": "sample string 3",
  "LocalName": "sample string 4"
}

application/xml, text/xml

Sample:
<AddImageLanguageBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <EnglishName>sample string 3</EnglishName>
  <LocalName>sample string 4</LocalName>
  <ImageContent>sample string 1</ImageContent>
  <ImageName>sample string 2</ImageName>
</AddImageLanguageBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LanguageViewModels
NameDescriptionTypeAdditional information
Id

integer

None.

EnglishName

string

None.

LocalName

string

None.

ImageUrl

string

None.

TinyImageUrl

string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.