Media Content
How to get product media content

Educational video from PromoStandards


Function getMediaContent

In order to get all media content for a given product we need to use Media Content Service(MED). Our API allows easy access by a GET request to our medias endpoint.

HTTP VERB: GET

URL: https://api.psrestful.com/v2.0.0/suppliers/{SUPPLIER_CODE}/medias/{PRODUCT_ID}/ (opens in a new tab)

Example Response:

This is the response from calling with:
SUPPLIER_CODE = HIT
PRODUCT_ID = 5989

COMPLETE URL:

https://api.psrestful.com/v1.1.0/suppliers/HIT/medias/5989/
{
    "MediaContentArray": {
        "MediaContent": [
            {
                "productId": "5989",
                "partId": "5989",
                "url": "https://www.hitpromo.net/imageManager/show/5989_group.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1006,
                            "classTypeName": "Primary"
                        }
                    ]
                },
                "DecorationArray": null,
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989",
                "url": "https://www.hitpromo.net/imageManager/show/5989_group.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1006,
                            "classTypeName": "Primary"
                        }
                    ]
                },
                "DecorationArray": null,
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989BLK",
                "url": "https://www.hitpromo.net/imageManager/show/5989_BLK_Horizontal_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": "Horizontal Silkscreen Imprint",
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1002,
                            "classTypeName": "Decorated"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989BLK",
                "url": "https://www.hitpromo.net/imageManager/show/5989_BLK_Blank.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 51,
                            "decorationName": "Blank"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989BLK",
                "url": "https://www.hitpromo.net/imageManager/show/5989_BLK_Vertical_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": "Vertical Silkscreen Imprint",
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1006,
                            "classTypeName": "Primary"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989BLK",
                "url": "https://www.hitpromo.net/imageManager/show/5989_BLK_Blank.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 51,
                            "decorationName": "Blank"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989BLK",
                "url": "https://www.hitpromo.net/imageManager/show/5989_BLK_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989BLK",
                "url": "https://www.hitpromo.net/imageManager/show/5989_BLK_Horizontal_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989BLK",
                "url": "https://www.hitpromo.net/imageManager/show/5989_BLK_Vertical_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989BLU",
                "url": "https://www.hitpromo.net/imageManager/show/5989_BLU_Vertical_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": "Vertical Silkscreen Imprint",
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1006,
                            "classTypeName": "Primary"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989BLU",
                "url": "https://www.hitpromo.net/imageManager/show/5989_BLU_Open_Blank.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 51,
                            "decorationName": "Blank"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989BLU",
                "url": "https://www.hitpromo.net/imageManager/show/5989_BLU_Blank.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 51,
                            "decorationName": "Blank"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989BLU",
                "url": "https://www.hitpromo.net/imageManager/show/5989_BLU_Horizontal_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": "Horizontal Silkscreen Imprint",
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1002,
                            "classTypeName": "Decorated"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989BLU",
                "url": "https://www.hitpromo.net/imageManager/show/5989_BLU_Blank.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 51,
                            "decorationName": "Blank"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989BLU",
                "url": "https://www.hitpromo.net/imageManager/show/5989_BLU_Open_Blank.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 51,
                            "decorationName": "Blank"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989BLU",
                "url": "https://www.hitpromo.net/imageManager/show/5989_BLU_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989BLU",
                "url": "https://www.hitpromo.net/imageManager/show/5989_BLU_Horizontal_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989BLU",
                "url": "https://www.hitpromo.net/imageManager/show/5989_BLU_Vertical_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989LIM",
                "url": "https://www.hitpromo.net/imageManager/show/5989_LIM_Horizontal_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": "Horizontal Silkscreen Imprint",
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1002,
                            "classTypeName": "Decorated"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989LIM",
                "url": "https://www.hitpromo.net/imageManager/show/5989_LIM_Blank.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 51,
                            "decorationName": "Blank"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989LIM",
                "url": "https://www.hitpromo.net/imageManager/show/5989_LIM_Vertical_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": "Vertical Silkscreen Imprint",
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1006,
                            "classTypeName": "Primary"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989LIM",
                "url": "https://www.hitpromo.net/imageManager/show/5989_LIM_Blank.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 51,
                            "decorationName": "Blank"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989LIM",
                "url": "https://www.hitpromo.net/imageManager/show/5989_LIM_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989LIM",
                "url": "https://www.hitpromo.net/imageManager/show/5989_LIM_Horizontal_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989LIM",
                "url": "https://www.hitpromo.net/imageManager/show/5989_LIM_Vertical_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989RED",
                "url": "https://www.hitpromo.net/imageManager/show/5989_RED_Vertical_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": "Vertical Silkscreen Imprint",
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1006,
                            "classTypeName": "Primary"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989RED",
                "url": "https://www.hitpromo.net/imageManager/show/5989_RED_Blank.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 51,
                            "decorationName": "Blank"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989RED",
                "url": "https://www.hitpromo.net/imageManager/show/5989_RED_Horizontal_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": "Horizontal Silkscreen Imprint",
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1002,
                            "classTypeName": "Decorated"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989RED",
                "url": "https://www.hitpromo.net/imageManager/show/5989_RED_Blank.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 51,
                            "decorationName": "Blank"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989RED",
                "url": "https://www.hitpromo.net/imageManager/show/5989_RED_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989RED",
                "url": "https://www.hitpromo.net/imageManager/show/5989_RED_Horizontal_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            },
            {
                "productId": "5989",
                "partId": "5989RED",
                "url": "https://www.hitpromo.net/imageManager/show/5989_RED_Vertical_Silkscreen.jpg",
                "mediaType": "Image",
                "fileSize": null,
                "width": null,
                "height": null,
                "dpi": null,
                "color": null,
                "description": null,
                "singlePart": false,
                "changeTimeStamp": null,
                "ClassTypeArray": {
                    "ClassType": [
                        {
                            "classTypeId": 1001,
                            "classTypeName": "Blank"
                        }
                    ]
                },
                "DecorationArray": {
                    "Decoration": [
                        {
                            "decorationId": 54,
                            "decorationName": "Silk-Screen"
                        }
                    ]
                },
                "LocationArray": null
            }
        ]
    },
    "ErrorMessage": null
}