POST api/FilmVersion

Request Information

URI Parameters

None.

Body Parameters

FilmVersion
NameDescriptionTypeAdditional information
Id

integer

None.

VersionCode

string

None.

VersionName

string

None.

Deleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "VersionCode": "sample string 2",
  "VersionName": "sample string 3",
  "Deleted": true
}

application/xml, text/xml

Sample:
<FilmVersion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RCPQG_API.Models">
  <Deleted>true</Deleted>
  <Id>1</Id>
  <VersionCode>sample string 2</VersionCode>
  <VersionName>sample string 3</VersionName>
</FilmVersion>

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

Response Information

Resource Description

FilmVersion
NameDescriptionTypeAdditional information
Id

integer

None.

VersionCode

string

None.

VersionName

string

None.

Deleted

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "VersionCode": "sample string 2",
  "VersionName": "sample string 3",
  "Deleted": true
}

application/xml, text/xml

Sample:
<FilmVersion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RCPQG_API.Models">
  <Deleted>true</Deleted>
  <Id>1</Id>
  <VersionCode>sample string 2</VersionCode>
  <VersionName>sample string 3</VersionName>
</FilmVersion>