POST api/BookAttachments

Request Information

URI Parameters

None.

Body Parameters

BookAttachment
NameDescriptionTypeAdditional information
Id

integer

None.

BookId

integer

None.

BookAudio

string

None.

ChapterExcelFile

string

None.

CoverImage

string

None.

SummaryText

string

None.

SummaryAudioFile

string

None.

ProofPDF

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "BookId": 2,
  "BookAudio": "sample string 3",
  "ChapterExcelFile": "sample string 4",
  "CoverImage": "sample string 5",
  "SummaryText": "sample string 6",
  "SummaryAudioFile": "sample string 7",
  "ProofPDF": "sample string 8"
}

application/xml, text/xml

Sample:
<BookAttachment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AudioJewelAPI.Models">
  <BookAudio>sample string 3</BookAudio>
  <BookId>2</BookId>
  <ChapterExcelFile>sample string 4</ChapterExcelFile>
  <CoverImage>sample string 5</CoverImage>
  <Id>1</Id>
  <ProofPDF>sample string 8</ProofPDF>
  <SummaryAudioFile>sample string 7</SummaryAudioFile>
  <SummaryText>sample string 6</SummaryText>
</BookAttachment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BookAttachment
NameDescriptionTypeAdditional information
Id

integer

None.

BookId

integer

None.

BookAudio

string

None.

ChapterExcelFile

string

None.

CoverImage

string

None.

SummaryText

string

None.

SummaryAudioFile

string

None.

ProofPDF

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "BookId": 2,
  "BookAudio": "sample string 3",
  "ChapterExcelFile": "sample string 4",
  "CoverImage": "sample string 5",
  "SummaryText": "sample string 6",
  "SummaryAudioFile": "sample string 7",
  "ProofPDF": "sample string 8"
}

application/xml, text/xml

Sample:
<BookAttachment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AudioJewelAPI.Models">
  <BookAudio>sample string 3</BookAudio>
  <BookId>2</BookId>
  <ChapterExcelFile>sample string 4</ChapterExcelFile>
  <CoverImage>sample string 5</CoverImage>
  <Id>1</Id>
  <ProofPDF>sample string 8</ProofPDF>
  <SummaryAudioFile>sample string 7</SummaryAudioFile>
  <SummaryText>sample string 6</SummaryText>
</BookAttachment>