GET api/objects?token={token}&searchtype={searchtype}&search={search}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
token | string |
Required |
|
searchtype | string |
Required |
|
search | string |
Required |
Body Parameters
None.
Response Information
Resource Description
GetAltObjectsViewModelName | Description | Type | Additional information |
---|---|---|---|
Source | string |
None. |
|
Language | string |
None. |
|
ResultsCount | integer |
None. |
|
Objects | Collection of GetAltObjectViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "source": "sample string 1", "language": "sample string 2", "resultsCount": 3, "objects": [ { "objectNumber": "sample string 1", "objectID": 2, "title": "sample string 3", "role": "sample string 4", "displayName": "sample string 5", "alphaSort": "sample string 6", "artistID": 7, "displayDate": "sample string 8", "dated": "sample string 9", "dateBegin": 10, "dateEnd": 11, "accessionDate": "sample string 12", "medium": "sample string 13", "dimensions": "sample string 14", "department": "sample string 15", "classification": "sample string 16", "onView": 17, "provenance": "sample string 18", "description": "sample string 19", "objectStatusID": 20, "creditLine": "sample string 21", "imageID": "sample string 22", "thumbnail": "sample string 23", "fullImage": "sample string 24", "currentLocation": "sample string 25", "lastModifiedDate": "2024-11-21T01:48:06.2389951-05:00" }, { "objectNumber": "sample string 1", "objectID": 2, "title": "sample string 3", "role": "sample string 4", "displayName": "sample string 5", "alphaSort": "sample string 6", "artistID": 7, "displayDate": "sample string 8", "dated": "sample string 9", "dateBegin": 10, "dateEnd": 11, "accessionDate": "sample string 12", "medium": "sample string 13", "dimensions": "sample string 14", "department": "sample string 15", "classification": "sample string 16", "onView": 17, "provenance": "sample string 18", "description": "sample string 19", "objectStatusID": 20, "creditLine": "sample string 21", "imageID": "sample string 22", "thumbnail": "sample string 23", "fullImage": "sample string 24", "currentLocation": "sample string 25", "lastModifiedDate": "2024-11-21T01:48:06.2389951-05:00" } ] }
text/xml
Sample:
<GetAltObjectsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/moma_tms_api.Models"> <Language>sample string 2</Language> <Objects> <GetAltObjectViewModel> <AccessionDate>sample string 12</AccessionDate> <AlphaSort>sample string 6</AlphaSort> <ArtistID>7</ArtistID> <Classification>sample string 16</Classification> <CreditLine>sample string 21</CreditLine> <CurrentLocation>sample string 25</CurrentLocation> <DateBegin>10</DateBegin> <DateEnd>11</DateEnd> <Dated>sample string 9</Dated> <Department>sample string 15</Department> <Description>sample string 19</Description> <Dimensions>sample string 14</Dimensions> <DisplayDate>sample string 8</DisplayDate> <DisplayName>sample string 5</DisplayName> <FullImage>sample string 24</FullImage> <ImageID>sample string 22</ImageID> <LastModifiedDate>2024-11-21T01:48:06.2389951-05:00</LastModifiedDate> <Medium>sample string 13</Medium> <ObjectID>2</ObjectID> <ObjectNumber>sample string 1</ObjectNumber> <ObjectStatusID>20</ObjectStatusID> <OnView>17</OnView> <Provenance>sample string 18</Provenance> <Role>sample string 4</Role> <Thumbnail>sample string 23</Thumbnail> <Title>sample string 3</Title> </GetAltObjectViewModel> <GetAltObjectViewModel> <AccessionDate>sample string 12</AccessionDate> <AlphaSort>sample string 6</AlphaSort> <ArtistID>7</ArtistID> <Classification>sample string 16</Classification> <CreditLine>sample string 21</CreditLine> <CurrentLocation>sample string 25</CurrentLocation> <DateBegin>10</DateBegin> <DateEnd>11</DateEnd> <Dated>sample string 9</Dated> <Department>sample string 15</Department> <Description>sample string 19</Description> <Dimensions>sample string 14</Dimensions> <DisplayDate>sample string 8</DisplayDate> <DisplayName>sample string 5</DisplayName> <FullImage>sample string 24</FullImage> <ImageID>sample string 22</ImageID> <LastModifiedDate>2024-11-21T01:48:06.2389951-05:00</LastModifiedDate> <Medium>sample string 13</Medium> <ObjectID>2</ObjectID> <ObjectNumber>sample string 1</ObjectNumber> <ObjectStatusID>20</ObjectStatusID> <OnView>17</OnView> <Provenance>sample string 18</Provenance> <Role>sample string 4</Role> <Thumbnail>sample string 23</Thumbnail> <Title>sample string 3</Title> </GetAltObjectViewModel> </Objects> <ResultsCount>3</ResultsCount> <Source>sample string 1</Source> </GetAltObjectsViewModel>