PUT api/AudioBooks/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

AudioBook
NameDescriptionTypeAdditional information
Id

integer

None.

Narrator

string

None.

Formate

string

None.

CategoryId

integer

None.

SubCategoryId

integer

None.

Price

decimal number

None.

Rent

decimal number

None.

Publisher

string

None.

ReleaseDate

date

None.

Duration

string

None.

Size

string

None.

Description

string

None.

AudioBookImage

string

None.

AudioBookTitle

string

None.

AuthorName

string

None.

AudioFile

string

None.

ReviewTitle

string

None.

RatingPoint

string

None.

Relevances

string

None.

ReviewUserName

string

None.

ReviewDate

date

None.

ReviewDescription

string

None.

Status

string

None.

AudioSample

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Narrator": "sample string 2",
  "Formate": "sample string 3",
  "CategoryId": 4,
  "SubCategoryId": 5,
  "Price": 1.1,
  "Rent": 1.1,
  "Publisher": "sample string 6",
  "ReleaseDate": "2018-09-25T14:45:10.0446161-04:00",
  "Duration": "sample string 7",
  "Size": "sample string 8",
  "Description": "sample string 9",
  "AudioBookImage": "sample string 10",
  "AudioBookTitle": "sample string 11",
  "AuthorName": "sample string 12",
  "AudioFile": "sample string 13",
  "ReviewTitle": "sample string 14",
  "RatingPoint": "sample string 15",
  "Relevances": "sample string 16",
  "ReviewUserName": "sample string 17",
  "ReviewDate": "2018-09-25T14:45:10.0446161-04:00",
  "ReviewDescription": "sample string 18",
  "Status": "sample string 19",
  "AudioSample": "sample string 20"
}

application/xml, text/xml

Sample:
<AudioBook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AudioJewelAPI.Models">
  <AudioBookImage>sample string 10</AudioBookImage>
  <AudioBookTitle>sample string 11</AudioBookTitle>
  <AudioFile>sample string 13</AudioFile>
  <AudioSample>sample string 20</AudioSample>
  <AuthorName>sample string 12</AuthorName>
  <CategoryId>4</CategoryId>
  <Description>sample string 9</Description>
  <Duration>sample string 7</Duration>
  <Formate>sample string 3</Formate>
  <Id>1</Id>
  <Narrator>sample string 2</Narrator>
  <Price>1.1</Price>
  <Publisher>sample string 6</Publisher>
  <RatingPoint>sample string 15</RatingPoint>
  <ReleaseDate>2018-09-25T14:45:10.0446161-04:00</ReleaseDate>
  <Relevances>sample string 16</Relevances>
  <Rent>1.1</Rent>
  <ReviewDate>2018-09-25T14:45:10.0446161-04:00</ReviewDate>
  <ReviewDescription>sample string 18</ReviewDescription>
  <ReviewTitle>sample string 14</ReviewTitle>
  <ReviewUserName>sample string 17</ReviewUserName>
  <Size>sample string 8</Size>
  <Status>sample string 19</Status>
  <SubCategoryId>5</SubCategoryId>
</AudioBook>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.