GET api/artists/{artist_id}?token={token}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
artist_id | integer |
Required |
|
token | string |
Required |
Body Parameters
None.
Response Information
Resource Description
GetArtistObjectsViewModelName | Description | Type | Additional information |
---|---|---|---|
ArtistID | integer |
None. |
|
AlphaSort | string |
None. |
|
Role | string |
None. |
|
DisplayName | string |
None. |
|
BeginDate | string |
None. |
|
EndDate | string |
None. |
|
DisplayDate | string |
None. |
|
Sex | string |
None. |
|
Nationality | string |
None. |
|
ObjectCount | integer |
None. |
|
Objects | Collection of GetAltObjectViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "artistID": 1, "alphaSort": "sample string 2", "role": "sample string 3", "displayName": "sample string 4", "beginDate": "sample string 5", "endDate": "sample string 6", "displayDate": "sample string 7", "sex": "sample string 8", "nationality": "sample string 9", "objectCount": 10, "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-21T05:26:21.0783847-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-21T05:26:21.0783847-05:00" } ] }
text/xml
Sample:
<GetArtistObjectsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/moma_tms_api.Models"> <AlphaSort>sample string 2</AlphaSort> <ArtistID>1</ArtistID> <BeginDate>sample string 5</BeginDate> <DisplayDate>sample string 7</DisplayDate> <DisplayName>sample string 4</DisplayName> <EndDate>sample string 6</EndDate> <Nationality>sample string 9</Nationality> <ObjectCount>10</ObjectCount> <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-21T05:26:21.0783847-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-21T05:26:21.0783847-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> <Role>sample string 3</Role> <Sex>sample string 8</Sex> </GetArtistObjectsViewModel>