POST api/DocumentStore/AddBook

Request Information

URI Parameters

None.

Body Parameters

CompositeBook
NameDescriptionTypeAdditional information
Book

Book

None.

Content

Content

None.

Request Formats

application/json, text/json

Sample:
{
  "Book": {
    "UUID": "sample string 1",
    "Title": "sample string 2",
    "Path": "sample string 3",
    "LastModified": "2024-10-06T05:16:43.2057105+02:00",
    "FullName": "sample string 5",
    "Indexed": true,
    "Format": "sample string 7",
    "Language": "sample string 8",
    "Id": "sample string 9"
  },
  "Content": {
    "IdBook": "sample string 1",
    "Text": "sample string 2",
    "Id": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<CompositeBook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/it.t9a.Interfaces.Model">
  <Book>
    <Id>sample string 9</Id>
    <Format>sample string 7</Format>
    <FullName>sample string 5</FullName>
    <Indexed>true</Indexed>
    <Language>sample string 8</Language>
    <LastModified>2024-10-06T05:16:43.2057105+02:00</LastModified>
    <Path>sample string 3</Path>
    <Title>sample string 2</Title>
    <UUID>sample string 1</UUID>
  </Book>
  <Content>
    <Id>sample string 3</Id>
    <IdBook>sample string 1</IdBook>
    <Text>sample string 2</Text>
  </Content>
</CompositeBook>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.