GET api/exhibitions-list?search={search}&token={token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
search

string

Required

token

string

Required

Body Parameters

None.

Response Information

Resource Description

GetExhibitionsViewModel
NameDescriptionTypeAdditional information
Source

string

None.

Language

string

None.

ResultsCount

integer

None.

Exhibitions

Collection of GetExhibitionViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "source": "sample string 1",
  "language": "sample string 2",
  "resultsCount": 3,
  "exhibitions": [
    {
      "exhibitionID": 1,
      "projectNumber": "sample string 2",
      "exhibitionTitle": "sample string 3",
      "momaDepartment": true,
      "department": "sample string 5",
      "exhibitionDisplayDate": "sample string 6",
      "exhibitionBeginDate": "sample string 7",
      "exhibitionEndDate": "sample string 8",
      "locationString": "sample string 9",
      "objectCount": 10,
      "constituents": {
        "source": "sample string 1",
        "language": "sample string 2",
        "resultsCount": 3,
        "constituents": [
          {
            "role": "sample string 1",
            "displayName": "sample string 2"
          },
          {
            "role": "sample string 1",
            "displayName": "sample string 2"
          }
        ]
      }
    },
    {
      "exhibitionID": 1,
      "projectNumber": "sample string 2",
      "exhibitionTitle": "sample string 3",
      "momaDepartment": true,
      "department": "sample string 5",
      "exhibitionDisplayDate": "sample string 6",
      "exhibitionBeginDate": "sample string 7",
      "exhibitionEndDate": "sample string 8",
      "locationString": "sample string 9",
      "objectCount": 10,
      "constituents": {
        "source": "sample string 1",
        "language": "sample string 2",
        "resultsCount": 3,
        "constituents": [
          {
            "role": "sample string 1",
            "displayName": "sample string 2"
          },
          {
            "role": "sample string 1",
            "displayName": "sample string 2"
          }
        ]
      }
    }
  ]
}

text/xml

Sample:
<GetExhibitionsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/moma_tms_api.Models">
  <Exhibitions>
    <GetExhibitionViewModel>
      <Constituents>
        <Constituents>
          <GetConstituentViewModel>
            <DisplayName>sample string 2</DisplayName>
            <Role>sample string 1</Role>
          </GetConstituentViewModel>
          <GetConstituentViewModel>
            <DisplayName>sample string 2</DisplayName>
            <Role>sample string 1</Role>
          </GetConstituentViewModel>
        </Constituents>
        <Language>sample string 2</Language>
        <ResultsCount>3</ResultsCount>
        <Source>sample string 1</Source>
      </Constituents>
      <Department>sample string 5</Department>
      <ExhibitionBeginDate>sample string 7</ExhibitionBeginDate>
      <ExhibitionDisplayDate>sample string 6</ExhibitionDisplayDate>
      <ExhibitionEndDate>sample string 8</ExhibitionEndDate>
      <ExhibitionID>1</ExhibitionID>
      <ExhibitionTitle>sample string 3</ExhibitionTitle>
      <LocationString>sample string 9</LocationString>
      <MomaDepartment>true</MomaDepartment>
      <ObjectCount>10</ObjectCount>
      <ProjectNumber>sample string 2</ProjectNumber>
    </GetExhibitionViewModel>
    <GetExhibitionViewModel>
      <Constituents>
        <Constituents>
          <GetConstituentViewModel>
            <DisplayName>sample string 2</DisplayName>
            <Role>sample string 1</Role>
          </GetConstituentViewModel>
          <GetConstituentViewModel>
            <DisplayName>sample string 2</DisplayName>
            <Role>sample string 1</Role>
          </GetConstituentViewModel>
        </Constituents>
        <Language>sample string 2</Language>
        <ResultsCount>3</ResultsCount>
        <Source>sample string 1</Source>
      </Constituents>
      <Department>sample string 5</Department>
      <ExhibitionBeginDate>sample string 7</ExhibitionBeginDate>
      <ExhibitionDisplayDate>sample string 6</ExhibitionDisplayDate>
      <ExhibitionEndDate>sample string 8</ExhibitionEndDate>
      <ExhibitionID>1</ExhibitionID>
      <ExhibitionTitle>sample string 3</ExhibitionTitle>
      <LocationString>sample string 9</LocationString>
      <MomaDepartment>true</MomaDepartment>
      <ObjectCount>10</ObjectCount>
      <ProjectNumber>sample string 2</ProjectNumber>
    </GetExhibitionViewModel>
  </Exhibitions>
  <Language>sample string 2</Language>
  <ResultsCount>3</ResultsCount>
  <Source>sample string 1</Source>
</GetExhibitionsViewModel>