GET api/Asset/GetProgramAssets?programId={programId}&email={email}&ignorePermissions={ignorePermissions}
Retrieves a list of assets associated with a specific program.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programId |
The unique identifier of the program for which assets are to be retrieved. |
globally unique identifier |
Required |
The email address associated with the user requesting the assets. |
string |
Required |
|
ignorePermissions |
A flag indicating whether to ignore user permissions (default is false). |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
A list of ProgramAssetDto objects representing the assets associated with the program.
Collection of ProgramAssetDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
OriginalName | string |
None. |
|
DisplayName | string |
None. |
|
ProgramId | globally unique identifier |
None. |
|
ProductId | globally unique identifier |
None. |
|
Url | string |
None. |
|
Include | boolean |
None. |
|
RepositoryType | RepositoryTypes |
None. |
|
AssetType | AssetType |
None. |
|
SourceId | string |
None. |
|
RepoSourceId | string |
None. |
|
ThumbnailUrl | string |
None. |
|
PreviewUrl | string |
None. |
|
ProgramName | string |
None. |
|
ProductName | string |
None. |
|
ProductTypeName | string |
None. |
|
ExtProjectId | string |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
Vertical | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "888624c3-5692-4d93-9963-81728c2dcc75", "OriginalName": "sample string 2", "DisplayName": "sample string 3", "ProgramId": "207418ae-5b7a-4352-9559-8a94bc9a2ed0", "ProductId": "98903d60-75e4-4b8d-9273-8cba1a8d9aab", "Url": "sample string 6", "Include": true, "RepositoryType": 1, "AssetType": 1, "SourceId": "sample string 8", "RepoSourceId": "sample string 9", "ThumbnailUrl": "sample string 10", "PreviewUrl": "sample string 11", "ProgramName": "sample string 12", "ProductName": "sample string 13", "ProductTypeName": "sample string 14", "ExtProjectId": "sample string 15", "StartDate": "2024-11-21T06:47:16.8755026+00:00", "EndDate": "2024-11-21T06:47:16.8755026+00:00", "Vertical": "sample string 16" }, { "Id": "888624c3-5692-4d93-9963-81728c2dcc75", "OriginalName": "sample string 2", "DisplayName": "sample string 3", "ProgramId": "207418ae-5b7a-4352-9559-8a94bc9a2ed0", "ProductId": "98903d60-75e4-4b8d-9273-8cba1a8d9aab", "Url": "sample string 6", "Include": true, "RepositoryType": 1, "AssetType": 1, "SourceId": "sample string 8", "RepoSourceId": "sample string 9", "ThumbnailUrl": "sample string 10", "PreviewUrl": "sample string 11", "ProgramName": "sample string 12", "ProductName": "sample string 13", "ProductTypeName": "sample string 14", "ExtProjectId": "sample string 15", "StartDate": "2024-11-21T06:47:16.8755026+00:00", "EndDate": "2024-11-21T06:47:16.8755026+00:00", "Vertical": "sample string 16" } ]
application/xml, text/xml
Sample:
<ArrayOfProgramAssetDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KT.BGip.Visualisation.RPMI.Models.RepoDtos"> <ProgramAssetDto> <AssetType>Visual</AssetType> <DisplayName>sample string 3</DisplayName> <EndDate>2024-11-21T06:47:16.8755026+00:00</EndDate> <ExtProjectId>sample string 15</ExtProjectId> <Id>888624c3-5692-4d93-9963-81728c2dcc75</Id> <Include>true</Include> <OriginalName>sample string 2</OriginalName> <PreviewUrl>sample string 11</PreviewUrl> <ProductId>98903d60-75e4-4b8d-9273-8cba1a8d9aab</ProductId> <ProductName>sample string 13</ProductName> <ProductTypeName>sample string 14</ProductTypeName> <ProgramId>207418ae-5b7a-4352-9559-8a94bc9a2ed0</ProgramId> <ProgramName>sample string 12</ProgramName> <RepoSourceId>sample string 9</RepoSourceId> <RepositoryType>Sharepoint</RepositoryType> <SourceId>sample string 8</SourceId> <StartDate>2024-11-21T06:47:16.8755026+00:00</StartDate> <ThumbnailUrl>sample string 10</ThumbnailUrl> <Url>sample string 6</Url> <Vertical>sample string 16</Vertical> </ProgramAssetDto> <ProgramAssetDto> <AssetType>Visual</AssetType> <DisplayName>sample string 3</DisplayName> <EndDate>2024-11-21T06:47:16.8755026+00:00</EndDate> <ExtProjectId>sample string 15</ExtProjectId> <Id>888624c3-5692-4d93-9963-81728c2dcc75</Id> <Include>true</Include> <OriginalName>sample string 2</OriginalName> <PreviewUrl>sample string 11</PreviewUrl> <ProductId>98903d60-75e4-4b8d-9273-8cba1a8d9aab</ProductId> <ProductName>sample string 13</ProductName> <ProductTypeName>sample string 14</ProductTypeName> <ProgramId>207418ae-5b7a-4352-9559-8a94bc9a2ed0</ProgramId> <ProgramName>sample string 12</ProgramName> <RepoSourceId>sample string 9</RepoSourceId> <RepositoryType>Sharepoint</RepositoryType> <SourceId>sample string 8</SourceId> <StartDate>2024-11-21T06:47:16.8755026+00:00</StartDate> <ThumbnailUrl>sample string 10</ThumbnailUrl> <Url>sample string 6</Url> <Vertical>sample string 16</Vertical> </ProgramAssetDto> </ArrayOfProgramAssetDto>