POST api/DocumentRentals

Request Information

URI Parameters

None.

Body Parameters

DocumentRental
NameDescriptionTypeAdditional information
Id

integer

None.

DocumentId

integer

None.

RentalId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "DocumentId": 2,
  "RentalId": 3
}

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

Response Information

Resource Description

DocumentRental
NameDescriptionTypeAdditional information
Id

integer

None.

DocumentId

integer

None.

RentalId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "DocumentId": 2,
  "RentalId": 3
}