GET api/packages/{package_id}?token={token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
package_id

integer

Required

token

string

Required

Body Parameters

None.

Response Information

Resource Description

GetObjectsViewModel
NameDescriptionTypeAdditional information
Source

string

None.

Language

string

None.

ResultsCount

integer

None.

Objects

Collection of GetObjectViewModel

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",
      "prefix": "sample string 5",
      "displayName": "sample string 6",
      "suffix": "sample string 7",
      "alphaSort": "sample string 8",
      "artistID": 9,
      "displayDate": "sample string 10",
      "dated": "sample string 11",
      "dateBegin": 12,
      "dateEnd": 13,
      "accessionDate": "sample string 14",
      "medium": "sample string 15",
      "dimensions": "sample string 16",
      "department": "sample string 17",
      "departmentID": 18,
      "classification": "sample string 19",
      "onView": 20,
      "provenance": "sample string 21",
      "description": "sample string 22",
      "objectStatusID": 23,
      "creditLine": "sample string 24",
      "portfolio": "sample string 25",
      "edition": "sample string 26",
      "imageID": "sample string 27",
      "thumbnail": "sample string 28",
      "fullImage": "sample string 29",
      "currentLocation": "sample string 30",
      "lastModifiedDate": "2020-07-12T07:02:17.6955011-04:00",
      "exhibitions": {
        "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
          }
        ]
      },
      "persons": {
        "source": "sample string 1",
        "language": "sample string 2",
        "resultsCount": 3,
        "persons": [
          {
            "artistID": 1,
            "alphaSort": "sample string 2",
            "role": "sample string 3",
            "displayName": "sample string 4",
            "displayDate": "sample string 5",
            "displayOrder": 6
          },
          {
            "artistID": 1,
            "alphaSort": "sample string 2",
            "role": "sample string 3",
            "displayName": "sample string 4",
            "displayDate": "sample string 5",
            "displayOrder": 6
          }
        ]
      },
      "components": {
        "source": "sample string 1",
        "language": "sample string 2",
        "resultsCount": 3,
        "components": [
          {
            "componentID": 1,
            "componentNumber": "sample string 2",
            "componentName": "sample string 3",
            "physDesc": "sample string 4",
            "storageComments": "sample string 5",
            "installComments": "sample string 6",
            "prepComments": "sample string 7",
            "componentType": "sample string 8",
            "compCount": 9,
            "dimensions": {},
            "attributes": {},
            "textEntries": {}
          },
          {
            "componentID": 1,
            "componentNumber": "sample string 2",
            "componentName": "sample string 3",
            "physDesc": "sample string 4",
            "storageComments": "sample string 5",
            "installComments": "sample string 6",
            "prepComments": "sample string 7",
            "componentType": "sample string 8",
            "compCount": 9,
            "dimensions": {},
            "attributes": {},
            "textEntries": {}
          }
        ]
      },
      "titles": {
        "source": "sample string 1",
        "language": "sample string 2",
        "resultsCount": 3,
        "titles": [
          {
            "titleTypeID": 1,
            "titleType": "sample string 2",
            "title": "sample string 3",
            "active": 4,
            "displayOrder": 5,
            "displayed": 6,
            "isExhTitle": true
          },
          {
            "titleTypeID": 1,
            "titleType": "sample string 2",
            "title": "sample string 3",
            "active": 4,
            "displayOrder": 5,
            "displayed": 6,
            "isExhTitle": true
          }
        ]
      },
      "dates": {
        "source": "sample string 1",
        "language": "sample string 2",
        "resultsCount": 3,
        "dates": [
          {
            "eventType": "sample string 1",
            "dateText": "sample string 2"
          },
          {
            "eventType": "sample string 1",
            "dateText": "sample string 2"
          }
        ]
      }
    },
    {
      "objectNumber": "sample string 1",
      "objectID": 2,
      "title": "sample string 3",
      "role": "sample string 4",
      "prefix": "sample string 5",
      "displayName": "sample string 6",
      "suffix": "sample string 7",
      "alphaSort": "sample string 8",
      "artistID": 9,
      "displayDate": "sample string 10",
      "dated": "sample string 11",
      "dateBegin": 12,
      "dateEnd": 13,
      "accessionDate": "sample string 14",
      "medium": "sample string 15",
      "dimensions": "sample string 16",
      "department": "sample string 17",
      "departmentID": 18,
      "classification": "sample string 19",
      "onView": 20,
      "provenance": "sample string 21",
      "description": "sample string 22",
      "objectStatusID": 23,
      "creditLine": "sample string 24",
      "portfolio": "sample string 25",
      "edition": "sample string 26",
      "imageID": "sample string 27",
      "thumbnail": "sample string 28",
      "fullImage": "sample string 29",
      "currentLocation": "sample string 30",
      "lastModifiedDate": "2020-07-12T07:02:17.6955011-04:00",
      "exhibitions": {
        "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
          }
        ]
      },
      "persons": {
        "source": "sample string 1",
        "language": "sample string 2",
        "resultsCount": 3,
        "persons": [
          {
            "artistID": 1,
            "alphaSort": "sample string 2",
            "role": "sample string 3",
            "displayName": "sample string 4",
            "displayDate": "sample string 5",
            "displayOrder": 6
          },
          {
            "artistID": 1,
            "alphaSort": "sample string 2",
            "role": "sample string 3",
            "displayName": "sample string 4",
            "displayDate": "sample string 5",
            "displayOrder": 6
          }
        ]
      },
      "components": {
        "source": "sample string 1",
        "language": "sample string 2",
        "resultsCount": 3,
        "components": [
          {
            "componentID": 1,
            "componentNumber": "sample string 2",
            "componentName": "sample string 3",
            "physDesc": "sample string 4",
            "storageComments": "sample string 5",
            "installComments": "sample string 6",
            "prepComments": "sample string 7",
            "componentType": "sample string 8",
            "compCount": 9,
            "dimensions": {},
            "attributes": {},
            "textEntries": {}
          },
          {
            "componentID": 1,
            "componentNumber": "sample string 2",
            "componentName": "sample string 3",
            "physDesc": "sample string 4",
            "storageComments": "sample string 5",
            "installComments": "sample string 6",
            "prepComments": "sample string 7",
            "componentType": "sample string 8",
            "compCount": 9,
            "dimensions": {},
            "attributes": {},
            "textEntries": {}
          }
        ]
      },
      "titles": {
        "source": "sample string 1",
        "language": "sample string 2",
        "resultsCount": 3,
        "titles": [
          {
            "titleTypeID": 1,
            "titleType": "sample string 2",
            "title": "sample string 3",
            "active": 4,
            "displayOrder": 5,
            "displayed": 6,
            "isExhTitle": true
          },
          {
            "titleTypeID": 1,
            "titleType": "sample string 2",
            "title": "sample string 3",
            "active": 4,
            "displayOrder": 5,
            "displayed": 6,
            "isExhTitle": true
          }
        ]
      },
      "dates": {
        "source": "sample string 1",
        "language": "sample string 2",
        "resultsCount": 3,
        "dates": [
          {
            "eventType": "sample string 1",
            "dateText": "sample string 2"
          },
          {
            "eventType": "sample string 1",
            "dateText": "sample string 2"
          }
        ]
      }
    }
  ]
}

text/xml

Sample:
<GetObjectsViewModel 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>
    <GetObjectViewModel>
      <AccessionDate>sample string 14</AccessionDate>
      <AlphaSort>sample string 8</AlphaSort>
      <ArtistID>9</ArtistID>
      <Classification>sample string 19</Classification>
      <Components>
        <Components>
          <GetComponentViewModel>
            <Attributes />
            <CompCount>9</CompCount>
            <ComponentID>1</ComponentID>
            <ComponentName>sample string 3</ComponentName>
            <ComponentNumber>sample string 2</ComponentNumber>
            <ComponentType>sample string 8</ComponentType>
            <Dimensions />
            <InstallComments>sample string 6</InstallComments>
            <PhysDesc>sample string 4</PhysDesc>
            <PrepComments>sample string 7</PrepComments>
            <StorageComments>sample string 5</StorageComments>
            <TextEntries />
          </GetComponentViewModel>
          <GetComponentViewModel>
            <Attributes />
            <CompCount>9</CompCount>
            <ComponentID>1</ComponentID>
            <ComponentName>sample string 3</ComponentName>
            <ComponentNumber>sample string 2</ComponentNumber>
            <ComponentType>sample string 8</ComponentType>
            <Dimensions />
            <InstallComments>sample string 6</InstallComments>
            <PhysDesc>sample string 4</PhysDesc>
            <PrepComments>sample string 7</PrepComments>
            <StorageComments>sample string 5</StorageComments>
            <TextEntries />
          </GetComponentViewModel>
        </Components>
        <Language>sample string 2</Language>
        <ResultsCount>3</ResultsCount>
        <Source>sample string 1</Source>
      </Components>
      <CreditLine>sample string 24</CreditLine>
      <CurrentLocation>sample string 30</CurrentLocation>
      <DateBegin>12</DateBegin>
      <DateEnd>13</DateEnd>
      <Dated>sample string 11</Dated>
      <Dates>
        <Dates>
          <GetDateViewModel>
            <DateText>sample string 2</DateText>
            <EventType>sample string 1</EventType>
          </GetDateViewModel>
          <GetDateViewModel>
            <DateText>sample string 2</DateText>
            <EventType>sample string 1</EventType>
          </GetDateViewModel>
        </Dates>
        <Language>sample string 2</Language>
        <ResultsCount>3</ResultsCount>
        <Source>sample string 1</Source>
      </Dates>
      <Department>sample string 17</Department>
      <DepartmentID>18</DepartmentID>
      <Description>sample string 22</Description>
      <Dimensions>sample string 16</Dimensions>
      <DisplayDate>sample string 10</DisplayDate>
      <DisplayName>sample string 6</DisplayName>
      <Edition>sample string 26</Edition>
      <Exhibitions>
        <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>
      </Exhibitions>
      <FullImage>sample string 29</FullImage>
      <ImageID>sample string 27</ImageID>
      <LastModifiedDate>2020-07-12T07:02:17.6955011-04:00</LastModifiedDate>
      <Medium>sample string 15</Medium>
      <ObjectID>2</ObjectID>
      <ObjectNumber>sample string 1</ObjectNumber>
      <ObjectStatusID>23</ObjectStatusID>
      <OnView>20</OnView>
      <Persons>
        <Language>sample string 2</Language>
        <Persons>
          <GetPersonViewModel>
            <AlphaSort>sample string 2</AlphaSort>
            <ArtistID>1</ArtistID>
            <DisplayDate>sample string 5</DisplayDate>
            <DisplayName>sample string 4</DisplayName>
            <DisplayOrder>6</DisplayOrder>
            <Role>sample string 3</Role>
          </GetPersonViewModel>
          <GetPersonViewModel>
            <AlphaSort>sample string 2</AlphaSort>
            <ArtistID>1</ArtistID>
            <DisplayDate>sample string 5</DisplayDate>
            <DisplayName>sample string 4</DisplayName>
            <DisplayOrder>6</DisplayOrder>
            <Role>sample string 3</Role>
          </GetPersonViewModel>
        </Persons>
        <ResultsCount>3</ResultsCount>
        <Source>sample string 1</Source>
      </Persons>
      <Portfolio>sample string 25</Portfolio>
      <Prefix>sample string 5</Prefix>
      <Provenance>sample string 21</Provenance>
      <Role>sample string 4</Role>
      <Suffix>sample string 7</Suffix>
      <Thumbnail>sample string 28</Thumbnail>
      <Title>sample string 3</Title>
      <Titles>
        <Language>sample string 2</Language>
        <ResultsCount>3</ResultsCount>
        <Source>sample string 1</Source>
        <Titles>
          <GetTitleViewModel>
            <Active>4</Active>
            <DisplayOrder>5</DisplayOrder>
            <Displayed>6</Displayed>
            <IsExhTitle>true</IsExhTitle>
            <Title>sample string 3</Title>
            <TitleType>sample string 2</TitleType>
            <TitleTypeID>1</TitleTypeID>
          </GetTitleViewModel>
          <GetTitleViewModel>
            <Active>4</Active>
            <DisplayOrder>5</DisplayOrder>
            <Displayed>6</Displayed>
            <IsExhTitle>true</IsExhTitle>
            <Title>sample string 3</Title>
            <TitleType>sample string 2</TitleType>
            <TitleTypeID>1</TitleTypeID>
          </GetTitleViewModel>
        </Titles>
      </Titles>
    </GetObjectViewModel>
    <GetObjectViewModel>
      <AccessionDate>sample string 14</AccessionDate>
      <AlphaSort>sample string 8</AlphaSort>
      <ArtistID>9</ArtistID>
      <Classification>sample string 19</Classification>
      <Components>
        <Components>
          <GetComponentViewModel>
            <Attributes />
            <CompCount>9</CompCount>
            <ComponentID>1</ComponentID>
            <ComponentName>sample string 3</ComponentName>
            <ComponentNumber>sample string 2</ComponentNumber>
            <ComponentType>sample string 8</ComponentType>
            <Dimensions />
            <InstallComments>sample string 6</InstallComments>
            <PhysDesc>sample string 4</PhysDesc>
            <PrepComments>sample string 7</PrepComments>
            <StorageComments>sample string 5</StorageComments>
            <TextEntries />
          </GetComponentViewModel>
          <GetComponentViewModel>
            <Attributes />
            <CompCount>9</CompCount>
            <ComponentID>1</ComponentID>
            <ComponentName>sample string 3</ComponentName>
            <ComponentNumber>sample string 2</ComponentNumber>
            <ComponentType>sample string 8</ComponentType>
            <Dimensions />
            <InstallComments>sample string 6</InstallComments>
            <PhysDesc>sample string 4</PhysDesc>
            <PrepComments>sample string 7</PrepComments>
            <StorageComments>sample string 5</StorageComments>
            <TextEntries />
          </GetComponentViewModel>
        </Components>
        <Language>sample string 2</Language>
        <ResultsCount>3</ResultsCount>
        <Source>sample string 1</Source>
      </Components>
      <CreditLine>sample string 24</CreditLine>
      <CurrentLocation>sample string 30</CurrentLocation>
      <DateBegin>12</DateBegin>
      <DateEnd>13</DateEnd>
      <Dated>sample string 11</Dated>
      <Dates>
        <Dates>
          <GetDateViewModel>
            <DateText>sample string 2</DateText>
            <EventType>sample string 1</EventType>
          </GetDateViewModel>
          <GetDateViewModel>
            <DateText>sample string 2</DateText>
            <EventType>sample string 1</EventType>
          </GetDateViewModel>
        </Dates>
        <Language>sample string 2</Language>
        <ResultsCount>3</ResultsCount>
        <Source>sample string 1</Source>
      </Dates>
      <Department>sample string 17</Department>
      <DepartmentID>18</DepartmentID>
      <Description>sample string 22</Description>
      <Dimensions>sample string 16</Dimensions>
      <DisplayDate>sample string 10</DisplayDate>
      <DisplayName>sample string 6</DisplayName>
      <Edition>sample string 26</Edition>
      <Exhibitions>
        <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>
      </Exhibitions>
      <FullImage>sample string 29</FullImage>
      <ImageID>sample string 27</ImageID>
      <LastModifiedDate>2020-07-12T07:02:17.6955011-04:00</LastModifiedDate>
      <Medium>sample string 15</Medium>
      <ObjectID>2</ObjectID>
      <ObjectNumber>sample string 1</ObjectNumber>
      <ObjectStatusID>23</ObjectStatusID>
      <OnView>20</OnView>
      <Persons>
        <Language>sample string 2</Language>
        <Persons>
          <GetPersonViewModel>
            <AlphaSort>sample string 2</AlphaSort>
            <ArtistID>1</ArtistID>
            <DisplayDate>sample string 5</DisplayDate>
            <DisplayName>sample string 4</DisplayName>
            <DisplayOrder>6</DisplayOrder>
            <Role>sample string 3</Role>
          </GetPersonViewModel>
          <GetPersonViewModel>
            <AlphaSort>sample string 2</AlphaSort>
            <ArtistID>1</ArtistID>
            <DisplayDate>sample string 5</DisplayDate>
            <DisplayName>sample string 4</DisplayName>
            <DisplayOrder>6</DisplayOrder>
            <Role>sample string 3</Role>
          </GetPersonViewModel>
        </Persons>
        <ResultsCount>3</ResultsCount>
        <Source>sample string 1</Source>
      </Persons>
      <Portfolio>sample string 25</Portfolio>
      <Prefix>sample string 5</Prefix>
      <Provenance>sample string 21</Provenance>
      <Role>sample string 4</Role>
      <Suffix>sample string 7</Suffix>
      <Thumbnail>sample string 28</Thumbnail>
      <Title>sample string 3</Title>
      <Titles>
        <Language>sample string 2</Language>
        <ResultsCount>3</ResultsCount>
        <Source>sample string 1</Source>
        <Titles>
          <GetTitleViewModel>
            <Active>4</Active>
            <DisplayOrder>5</DisplayOrder>
            <Displayed>6</Displayed>
            <IsExhTitle>true</IsExhTitle>
            <Title>sample string 3</Title>
            <TitleType>sample string 2</TitleType>
            <TitleTypeID>1</TitleTypeID>
          </GetTitleViewModel>
          <GetTitleViewModel>
            <Active>4</Active>
            <DisplayOrder>5</DisplayOrder>
            <Displayed>6</Displayed>
            <IsExhTitle>true</IsExhTitle>
            <Title>sample string 3</Title>
            <TitleType>sample string 2</TitleType>
            <TitleTypeID>1</TitleTypeID>
          </GetTitleViewModel>
        </Titles>
      </Titles>
    </GetObjectViewModel>
  </Objects>
  <ResultsCount>3</ResultsCount>
  <Source>sample string 1</Source>
</GetObjectsViewModel>