POST api/v1/search/advanced

Advanced search to find monographs based on multiple criteria

Request Information

URI Parameters

None.

Body Parameters

An instance of the AdvancedSearchCriteriaRequest

AdvancedSearchCriteriaRequest
NameDescriptionTypeAdditional information
Criteria

Collection of AdvancedSearchCriteria

None.

Request Formats

application/json, text/json

Sample:
{
  "Criteria": [
    {
      "Type": 0,
      "Verb": 0,
      "Operator": 0,
      "TermId": 1
    },
    {
      "Type": 0,
      "Verb": 0,
      "Operator": 0,
      "TermId": 1
    }
  ]
}

application/xml, text/xml

Sample:
<AdvancedSearchCriteriaRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ElsevierGSContentServices.Models.Search">
  <Criteria xmlns:d2p1="http://schemas.datacontract.org/2004/07/ElsevierGSContentServices.Core.Models.Search">
    <d2p1:AdvancedSearchCriteria>
      <d2p1:Operator>And</d2p1:Operator>
      <d2p1:TermId>1</d2p1:TermId>
      <d2p1:Type>Indication</d2p1:Type>
      <d2p1:Verb>Is</d2p1:Verb>
    </d2p1:AdvancedSearchCriteria>
    <d2p1:AdvancedSearchCriteria>
      <d2p1:Operator>And</d2p1:Operator>
      <d2p1:TermId>1</d2p1:TermId>
      <d2p1:Type>Indication</d2p1:Type>
      <d2p1:Verb>Is</d2p1:Verb>
    </d2p1:AdvancedSearchCriteria>
  </Criteria>
</AdvancedSearchCriteriaRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A list of monograph items matching the criteria

ListResponseOfMonographItem
NameDescriptionTypeAdditional information
count

integer

None.

items

Collection of MonographItem

None.

_links

Collection of Link

None.

_languages

Collection of LanguagesLink

None.

Response Codes

CodeDescriptionAdditional information
200OKThe request returned without error
204No ContentThe request was successful but no results were returned
400Bad RequestA parameter was missing or invalid
404Not FoundThe requested resource was not found

Response Formats

application/json, text/json

Sample:
{
  "_links": [
    {
      "rel": "sample string 1",
      "locale": "sample string 4",
      "href": "sample string 2",
      "templated": true
    },
    {
      "rel": "sample string 1",
      "locale": "sample string 4",
      "href": "sample string 2",
      "templated": true
    }
  ],
  "_languages": [
    {
      "rel": "sample string 1",
      "locale": "sample string 3",
      "name": "sample string 4",
      "href": "sample string 2"
    },
    {
      "rel": "sample string 1",
      "locale": "sample string 3",
      "name": "sample string 4",
      "href": "sample string 2"
    }
  ],
  "count": 1,
  "items": [
    {
      "_links": [
        {
          "rel": "sample string 1",
          "locale": "sample string 4",
          "href": "sample string 2",
          "templated": true
        },
        {
          "rel": "sample string 1",
          "locale": "sample string 4",
          "href": "sample string 2",
          "templated": true
        }
      ],
      "_languages": [
        {
          "rel": "sample string 1",
          "locale": "sample string 3",
          "name": "sample string 4",
          "href": "sample string 2"
        },
        {
          "rel": "sample string 1",
          "locale": "sample string 3",
          "name": "sample string 4",
          "href": "sample string 2"
        }
      ],
      "cpnum": 1,
      "name": "sample string 2",
      "types": [
        0,
        0
      ],
      "hasPeds": false,
      "isMini": true
    },
    {
      "_links": [
        {
          "rel": "sample string 1",
          "locale": "sample string 4",
          "href": "sample string 2",
          "templated": true
        },
        {
          "rel": "sample string 1",
          "locale": "sample string 4",
          "href": "sample string 2",
          "templated": true
        }
      ],
      "_languages": [
        {
          "rel": "sample string 1",
          "locale": "sample string 3",
          "name": "sample string 4",
          "href": "sample string 2"
        },
        {
          "rel": "sample string 1",
          "locale": "sample string 3",
          "name": "sample string 4",
          "href": "sample string 2"
        }
      ],
      "cpnum": 1,
      "name": "sample string 2",
      "types": [
        0,
        0
      ],
      "hasPeds": false,
      "isMini": true
    }
  ]
}

application/xml, text/xml

Sample:
<listResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <_languages>
    <languageslink>
      <rel>sample string 1</rel>
      <locale>sample string 3</locale>
      <name>sample string 4</name>
      <href>sample string 2</href>
    </languageslink>
    <languageslink>
      <rel>sample string 1</rel>
      <locale>sample string 3</locale>
      <name>sample string 4</name>
      <href>sample string 2</href>
    </languageslink>
  </_languages>
  <_links>
    <link>
      <rel>sample string 1</rel>
      <locale>sample string 4</locale>
      <href>sample string 2</href>
      <templated>true</templated>
    </link>
    <link>
      <rel>sample string 1</rel>
      <locale>sample string 4</locale>
      <href>sample string 2</href>
      <templated>true</templated>
    </link>
  </_links>
  <count>1</count>
  <items>
    <monograph>
      <_languages>
        <languageslink>
          <rel>sample string 1</rel>
          <locale>sample string 3</locale>
          <name>sample string 4</name>
          <href>sample string 2</href>
        </languageslink>
        <languageslink>
          <rel>sample string 1</rel>
          <locale>sample string 3</locale>
          <name>sample string 4</name>
          <href>sample string 2</href>
        </languageslink>
      </_languages>
      <_links>
        <link>
          <rel>sample string 1</rel>
          <locale>sample string 4</locale>
          <href>sample string 2</href>
          <templated>true</templated>
        </link>
        <link>
          <rel>sample string 1</rel>
          <locale>sample string 4</locale>
          <href>sample string 2</href>
          <templated>true</templated>
        </link>
      </_links>
      <cpnum>1</cpnum>
      <name>sample string 2</name>
      <types xmlns:d4p1="http://schemas.datacontract.org/2004/07/ElsevierGSContentServices.Core">
        <d4p1:MonographType>General</d4p1:MonographType>
        <d4p1:MonographType>General</d4p1:MonographType>
      </types>
      <hasPeds>false</hasPeds>
      <isMini>true</isMini>
    </monograph>
    <monograph>
      <_languages>
        <languageslink>
          <rel>sample string 1</rel>
          <locale>sample string 3</locale>
          <name>sample string 4</name>
          <href>sample string 2</href>
        </languageslink>
        <languageslink>
          <rel>sample string 1</rel>
          <locale>sample string 3</locale>
          <name>sample string 4</name>
          <href>sample string 2</href>
        </languageslink>
      </_languages>
      <_links>
        <link>
          <rel>sample string 1</rel>
          <locale>sample string 4</locale>
          <href>sample string 2</href>
          <templated>true</templated>
        </link>
        <link>
          <rel>sample string 1</rel>
          <locale>sample string 4</locale>
          <href>sample string 2</href>
          <templated>true</templated>
        </link>
      </_links>
      <cpnum>1</cpnum>
      <name>sample string 2</name>
      <types xmlns:d4p1="http://schemas.datacontract.org/2004/07/ElsevierGSContentServices.Core">
        <d4p1:MonographType>General</d4p1:MonographType>
        <d4p1:MonographType>General</d4p1:MonographType>
      </types>
      <hasPeds>false</hasPeds>
      <isMini>true</isMini>
    </monograph>
  </items>
</listResponse>