GET v1/Products/{productId}/Resources
Get detailed information about the Product's Resources.
Request Information
Requires Authorization!
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
productId |
The Product id |
integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
The Product Resources object
Collection of ProductResource
Name | Description | Type | Additional information |
---|---|---|---|
Id |
The unique ShopCtrl Id field for the Resource. |
integer |
Required |
CultureId |
Gets or sets the culture identifier. |
integer |
None. |
FileId |
Gets or sets the File Id of the resource. |
integer |
None. |
File |
MetaData information of file referred by |
File |
None. |
Name |
Gets or sets the code. |
string |
Max length: 255 |
Data |
Gets or sets the Data. |
string |
Max length: 2147483647 |
Sequence |
A Sequence number which can be used to determine ordering. |
integer |
Required |
ResourceType |
The type of resource. Following values are allowed: 0=File 1=Link 2=SharedFile |
integer |
None. |
ContentType |
The type of resource. Following values are allowed: 0=Generic 1=Image 2=Movie 3=Document |
integer |
None. |
ChangedTimestamp |
A timestamp indicating the last save. |
date |
Required |
CreatedTimestamp |
The create timestamp. |
date |
Required |
Response Formats
application/json, text/json
[ { "Id": 1, "CultureId": 1, "FileId": 1, "File": { "Id": 1, "Filename": "sample string 2", "ChangedTimestamp": "2021-12-02T20:19:36.4041474+01:00", "CreatedTimestamp": "2021-12-02T20:19:36.4041474+01:00", "FileLength": 5, "Checksum": "sample string 6", "Sequence": 7, "Base64Data": "sample string 8" }, "Name": "sample string 2", "Data": "sample string 3", "Sequence": 4, "ResourceType": 5, "ContentType": 6, "ChangedTimestamp": "2021-12-02T20:19:36.4041474+01:00", "CreatedTimestamp": "2021-12-02T20:19:36.4041474+01:00" }, { "Id": 1, "CultureId": 1, "FileId": 1, "File": { "Id": 1, "Filename": "sample string 2", "ChangedTimestamp": "2021-12-02T20:19:36.4041474+01:00", "CreatedTimestamp": "2021-12-02T20:19:36.4041474+01:00", "FileLength": 5, "Checksum": "sample string 6", "Sequence": 7, "Base64Data": "sample string 8" }, "Name": "sample string 2", "Data": "sample string 3", "Sequence": 4, "ResourceType": 5, "ContentType": 6, "ChangedTimestamp": "2021-12-02T20:19:36.4041474+01:00", "CreatedTimestamp": "2021-12-02T20:19:36.4041474+01:00" } ]
application/xml, text/xml
<ArrayOfProductResource xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ProductResource> <Id>1</Id> <CultureId>1</CultureId> <FileId>1</FileId> <File> <Id>1</Id> <Filename>sample string 2</Filename> <ChangedTimestamp>2021-12-02T20:19:36.4041474+01:00</ChangedTimestamp> <CreatedTimestamp>2021-12-02T20:19:36.4041474+01:00</CreatedTimestamp> <FileLength>5</FileLength> <Checksum>sample string 6</Checksum> <Sequence>7</Sequence> <Base64Data>sample string 8</Base64Data> </File> <Name>sample string 2</Name> <Data>sample string 3</Data> <Sequence>4</Sequence> <ResourceType>5</ResourceType> <ContentType>6</ContentType> <ChangedTimestamp>2021-12-02T20:19:36.4041474+01:00</ChangedTimestamp> <CreatedTimestamp>2021-12-02T20:19:36.4041474+01:00</CreatedTimestamp> </ProductResource> <ProductResource> <Id>1</Id> <CultureId>1</CultureId> <FileId>1</FileId> <File> <Id>1</Id> <Filename>sample string 2</Filename> <ChangedTimestamp>2021-12-02T20:19:36.4041474+01:00</ChangedTimestamp> <CreatedTimestamp>2021-12-02T20:19:36.4041474+01:00</CreatedTimestamp> <FileLength>5</FileLength> <Checksum>sample string 6</Checksum> <Sequence>7</Sequence> <Base64Data>sample string 8</Base64Data> </File> <Name>sample string 2</Name> <Data>sample string 3</Data> <Sequence>4</Sequence> <ResourceType>5</ResourceType> <ContentType>6</ContentType> <ChangedTimestamp>2021-12-02T20:19:36.4041474+01:00</ChangedTimestamp> <CreatedTimestamp>2021-12-02T20:19:36.4041474+01:00</CreatedTimestamp> </ProductResource> </ArrayOfProductResource>