GET v1/Products/{productId}/Resources/{productResourceId}
Get detailed information about the Product's Resource
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| productId |
The Product id |
integer |
Required. |
| productResourceId |
The Resource id |
integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
The Product Resource object
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 <see cref="P:ShopCtrl.API.Models.ProductResource.FileId" /> The file data is not loaded in the object and must be retrieved separatly. |
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": {
"CreatedTimestamp": "2026-01-11T16:17:14.1359529+01:00",
"ChangedTimestamp": "2026-01-11T16:17:14.1359529+01:00",
"FileLength": 3,
"Checksum": "sample string 4",
"Sequence": 5,
"Base64Data": "sample string 6",
"Id": 7,
"Filename": "sample string 8"
},
"Name": "sample string 2",
"Data": "sample string 3",
"Sequence": 4,
"ResourceType": 5,
"ContentType": 6,
"ChangedTimestamp": "2026-01-11T16:17:14.1359529+01:00",
"CreatedTimestamp": "2026-01-11T16:17:14.1359529+01:00"
}
application/xml, text/xml
<ProductResource xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Id>1</Id>
<CultureId>1</CultureId>
<FileId>1</FileId>
<File>
<Id>7</Id>
<Filename>sample string 8</Filename>
<CreatedTimestamp>2026-01-11T16:17:14.1359529+01:00</CreatedTimestamp>
<ChangedTimestamp>2026-01-11T16:17:14.1359529+01:00</ChangedTimestamp>
<FileLength>3</FileLength>
<Checksum>sample string 4</Checksum>
<Sequence>5</Sequence>
<Base64Data>sample string 6</Base64Data>
</File>
<Name>sample string 2</Name>
<Data>sample string 3</Data>
<Sequence>4</Sequence>
<ResourceType>5</ResourceType>
<ContentType>6</ContentType>
<ChangedTimestamp>2026-01-11T16:17:14.1359529+01:00</ChangedTimestamp>
<CreatedTimestamp>2026-01-11T16:17:14.1359529+01:00</CreatedTimestamp>
</ProductResource>