GET api/SharedCollection/GetCollections?index={index}&pageSize={pageSize}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
index

integer

Required

pageSize

integer

Required

Body Parameters

None.

Response Information

Resource Description

SharedCollectionList
NameDescriptionTypeAdditional information
Collections

Collection of SharedCollection

None.

TotalCount

Total number of items in the list

integer

None.

Error

Error description if the operation failed

string

None.

Success

Operation result

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "collections": [
    {
      "id": 1,
      "automaticSimple": true,
      "ids": [
        1,
        2
      ],
      "owner": "sample string 3",
      "title": "sample string 4",
      "accessCode": "sample string 5",
      "expirationDate": "sample string 6",
      "description": "sample string 7",
      "public": true,
      "password": "sample string 9",
      "limitAccessByPassword": true,
      "passwordChanged": true,
      "requireTermsOfService": true,
      "allowDownloadOriginals": true,
      "customTermsOfService": "sample string 14"
    },
    {
      "id": 1,
      "automaticSimple": true,
      "ids": [
        1,
        2
      ],
      "owner": "sample string 3",
      "title": "sample string 4",
      "accessCode": "sample string 5",
      "expirationDate": "sample string 6",
      "description": "sample string 7",
      "public": true,
      "password": "sample string 9",
      "limitAccessByPassword": true,
      "passwordChanged": true,
      "requireTermsOfService": true,
      "allowDownloadOriginals": true,
      "customTermsOfService": "sample string 14"
    }
  ],
  "totalCount": 1,
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}

application/xml, text/xml

Sample:
<SharedCollectionList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAMClient.Models">
  <_x003C_ErrorCode_x003E_k__BackingField>4</_x003C_ErrorCode_x003E_k__BackingField>
  <_x003C_Error_x003E_k__BackingField>sample string 2</_x003C_Error_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
  <TotalCount>1</TotalCount>
  <Collections xmlns:d2p1="http://schemas.datacontract.org/2004/07/PicaJet.Daminion.Common">
    <d2p1:SharedCollection>
      <d2p1:_x003C_AccessCode_x003E_k__BackingField>sample string 5</d2p1:_x003C_AccessCode_x003E_k__BackingField>
      <d2p1:_x003C_AllowDownloadOriginals_x003E_k__BackingField>true</d2p1:_x003C_AllowDownloadOriginals_x003E_k__BackingField>
      <d2p1:_x003C_AutomaticSimple_x003E_k__BackingField>true</d2p1:_x003C_AutomaticSimple_x003E_k__BackingField>
      <d2p1:_x003C_CustomTermsOfService_x003E_k__BackingField>sample string 14</d2p1:_x003C_CustomTermsOfService_x003E_k__BackingField>
      <d2p1:_x003C_Description_x003E_k__BackingField>sample string 7</d2p1:_x003C_Description_x003E_k__BackingField>
      <d2p1:_x003C_ExpirationDate_x003E_k__BackingField>sample string 6</d2p1:_x003C_ExpirationDate_x003E_k__BackingField>
      <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
      <d2p1:_x003C_Ids_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>1</d4p1:long>
        <d4p1:long>2</d4p1:long>
      </d2p1:_x003C_Ids_x003E_k__BackingField>
      <d2p1:_x003C_LimitAccessByPassword_x003E_k__BackingField>true</d2p1:_x003C_LimitAccessByPassword_x003E_k__BackingField>
      <d2p1:_x003C_Owner_x003E_k__BackingField>sample string 3</d2p1:_x003C_Owner_x003E_k__BackingField>
      <d2p1:_x003C_PasswordChanged_x003E_k__BackingField>true</d2p1:_x003C_PasswordChanged_x003E_k__BackingField>
      <d2p1:_x003C_Password_x003E_k__BackingField>sample string 9</d2p1:_x003C_Password_x003E_k__BackingField>
      <d2p1:_x003C_Public_x003E_k__BackingField>true</d2p1:_x003C_Public_x003E_k__BackingField>
      <d2p1:_x003C_RequireTermsOfService_x003E_k__BackingField>true</d2p1:_x003C_RequireTermsOfService_x003E_k__BackingField>
      <d2p1:_x003C_Title_x003E_k__BackingField>sample string 4</d2p1:_x003C_Title_x003E_k__BackingField>
    </d2p1:SharedCollection>
    <d2p1:SharedCollection>
      <d2p1:_x003C_AccessCode_x003E_k__BackingField>sample string 5</d2p1:_x003C_AccessCode_x003E_k__BackingField>
      <d2p1:_x003C_AllowDownloadOriginals_x003E_k__BackingField>true</d2p1:_x003C_AllowDownloadOriginals_x003E_k__BackingField>
      <d2p1:_x003C_AutomaticSimple_x003E_k__BackingField>true</d2p1:_x003C_AutomaticSimple_x003E_k__BackingField>
      <d2p1:_x003C_CustomTermsOfService_x003E_k__BackingField>sample string 14</d2p1:_x003C_CustomTermsOfService_x003E_k__BackingField>
      <d2p1:_x003C_Description_x003E_k__BackingField>sample string 7</d2p1:_x003C_Description_x003E_k__BackingField>
      <d2p1:_x003C_ExpirationDate_x003E_k__BackingField>sample string 6</d2p1:_x003C_ExpirationDate_x003E_k__BackingField>
      <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
      <d2p1:_x003C_Ids_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>1</d4p1:long>
        <d4p1:long>2</d4p1:long>
      </d2p1:_x003C_Ids_x003E_k__BackingField>
      <d2p1:_x003C_LimitAccessByPassword_x003E_k__BackingField>true</d2p1:_x003C_LimitAccessByPassword_x003E_k__BackingField>
      <d2p1:_x003C_Owner_x003E_k__BackingField>sample string 3</d2p1:_x003C_Owner_x003E_k__BackingField>
      <d2p1:_x003C_PasswordChanged_x003E_k__BackingField>true</d2p1:_x003C_PasswordChanged_x003E_k__BackingField>
      <d2p1:_x003C_Password_x003E_k__BackingField>sample string 9</d2p1:_x003C_Password_x003E_k__BackingField>
      <d2p1:_x003C_Public_x003E_k__BackingField>true</d2p1:_x003C_Public_x003E_k__BackingField>
      <d2p1:_x003C_RequireTermsOfService_x003E_k__BackingField>true</d2p1:_x003C_RequireTermsOfService_x003E_k__BackingField>
      <d2p1:_x003C_Title_x003E_k__BackingField>sample string 4</d2p1:_x003C_Title_x003E_k__BackingField>
    </d2p1:SharedCollection>
  </Collections>
</SharedCollectionList>
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

}