- ProductFile
Documentation ProductService (1.1)
ProductFile
This is the file internal id and it defines the kind of file it is. Not to be confused with entity ids. Values are application specific and should be like 'Front image', 'Back image'. See ListFileTypeIds for possible values.
This is the FileTypeId mapped from Storm's predefined types. Types maps to mime types.
A unique id for the file at our image server. Url for images are formed like http://[client specific CDN]/{Key}. Preset, height and width can be sent as parameters.
This is the file type extension for the current file. Can be used to append after image key in url. MaxLength: 50.
This is the file's external Code. Can be use as is for grouping files if Id is not adequate. Or any other application specific purpose. MaxLength: 50.
{ "Id": 0, "Type": 0, "Path": "string", "Name": "string", "Description": "string", "Key": "string", "Extension": "string", "Code": "string", "SortOrder": 0, "ImageAltText": "string" }
ProductId
A rate to multiply with price to get price inc VAT. 25% VAT equals a VatRate of 1.25.
A unique id for the image at our image server. Url for images are formed like http://[client specific CDN]/{ImageKey}. Preset, height and width can be sent as parameters.
A unique name that can be used in Urls and to get a Product. GetProduct and GetProductByUniqueName gets the same Product. MaxLength: 500.
{ "Id": 0, "Name": "string", "ManufacturerName": "string", "Price": 0, "VatRate": 0, "ImageKey": "string", "UniqueName": "string", "CategoryId": 0, "PriceIncVat": 0 }