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",
      "objectCount": 9
    },
    {
      "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",
      "objectCount": 9
    }
  ]
}

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>
      <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>
      <MomaDepartment>true</MomaDepartment>
      <ObjectCount>9</ObjectCount>
      <ProjectNumber>sample string 2</ProjectNumber>
    </GetExhibitionViewModel>
    <GetExhibitionViewModel>
      <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>
      <MomaDepartment>true</MomaDepartment>
      <ObjectCount>9</ObjectCount>
      <ProjectNumber>sample string 2</ProjectNumber>
    </GetExhibitionViewModel>
  </Exhibitions>
  <Language>sample string 2</Language>
  <ResultsCount>3</ResultsCount>
  <Source>sample string 1</Source>
</GetExhibitionsViewModel>