GET api/artists-list?search={search}&token={token}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
search | string |
Required |
|
token | string |
Required |
Body Parameters
None.
Response Information
Resource Description
GetArtistsViewModelName | Description | Type | Additional information |
---|---|---|---|
Source | string |
None. |
|
Language | string |
None. |
|
ResultsCount | integer |
None. |
|
Artists | Collection of GetArtistViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "source": "sample string 1", "language": "sample string 2", "resultsCount": 3, "artists": [ { "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 }, { "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 } ] }
text/xml
Sample:
<GetArtistsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/moma_tms_api.Models"> <Artists> <GetArtistViewModel> <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> <Role>sample string 3</Role> <Sex>sample string 8</Sex> </GetArtistViewModel> <GetArtistViewModel> <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> <Role>sample string 3</Role> <Sex>sample string 8</Sex> </GetArtistViewModel> </Artists> <Language>sample string 2</Language> <ResultsCount>3</ResultsCount> <Source>sample string 1</Source> </GetArtistsViewModel>