GET api/RwdDownload/GetDownloadsByTypeId?typeId={typeId}

Get all Brands for Downloads connected to a specific Document-Type

Request Information

URI Parameters

NameDescriptionTypeAdditional information
typeId

integer

Required

Body Parameters

Collection of RwdDownload
NameDescriptionTypeAdditional information
typeFsId

type of the document, fs_id from old project (has to be mapped to new datasource-field)

integer

None.

size

filesize in kb

integer

None.

path

path to the document

string

None.

NewPath

adjusting path to rwd-environment!

string

None.

CleanName

Name cleared from special character

string

None.

language

language

string

None.

languageCode

assigned brands

string

None.

brands

assigned brands

Collection of Brand

None.

products

assigned products

Collection of FirstSpiritObject

None.

categories

assigned categories

Collection of Category

None.

additionalDownloads

assigned additional Downloads

Collection of AdditionalDownload

None.

fsId

integer

None.

fsGid

string

None.

name

May be null

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "typeFsId": 1,
    "size": 2,
    "path": "sample string 3",
    "NewPath": "sample string 3",
    "CleanName": "sample string 8",
    "language": "sample string 4",
    "languageCode": "sample string 5",
    "brands": [
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      },
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      }
    ],
    "products": [
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      },
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      }
    ],
    "categories": [
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      },
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      }
    ],
    "additionalDownloads": [
      {
        "path": "sample string 1",
        "size": 2,
        "language": "sample string 3",
        "languageCode": "sample string 4",
        "fileType": "sample string 5",
        "fsId": 6,
        "fsGid": "sample string 7",
        "name": "sample string 8"
      },
      {
        "path": "sample string 1",
        "size": 2,
        "language": "sample string 3",
        "languageCode": "sample string 4",
        "fileType": "sample string 5",
        "fsId": 6,
        "fsGid": "sample string 7",
        "name": "sample string 8"
      }
    ],
    "fsId": 6,
    "fsGid": "sample string 7",
    "name": "sample string 8"
  },
  {
    "typeFsId": 1,
    "size": 2,
    "path": "sample string 3",
    "NewPath": "sample string 3",
    "CleanName": "sample string 8",
    "language": "sample string 4",
    "languageCode": "sample string 5",
    "brands": [
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      },
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      }
    ],
    "products": [
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      },
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      }
    ],
    "categories": [
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      },
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      }
    ],
    "additionalDownloads": [
      {
        "path": "sample string 1",
        "size": 2,
        "language": "sample string 3",
        "languageCode": "sample string 4",
        "fileType": "sample string 5",
        "fsId": 6,
        "fsGid": "sample string 7",
        "name": "sample string 8"
      },
      {
        "path": "sample string 1",
        "size": 2,
        "language": "sample string 3",
        "languageCode": "sample string 4",
        "fileType": "sample string 5",
        "fsId": 6,
        "fsGid": "sample string 7",
        "name": "sample string 8"
      }
    ],
    "fsId": 6,
    "fsGid": "sample string 7",
    "name": "sample string 8"
  }
]

Response Information

Resource Description

Collection of RwdDownload
NameDescriptionTypeAdditional information
typeFsId

type of the document, fs_id from old project (has to be mapped to new datasource-field)

integer

None.

size

filesize in kb

integer

None.

path

path to the document

string

None.

NewPath

adjusting path to rwd-environment!

string

None.

CleanName

Name cleared from special character

string

None.

language

language

string

None.

languageCode

assigned brands

string

None.

brands

assigned brands

Collection of Brand

None.

products

assigned products

Collection of FirstSpiritObject

None.

categories

assigned categories

Collection of Category

None.

additionalDownloads

assigned additional Downloads

Collection of AdditionalDownload

None.

fsId

integer

None.

fsGid

string

None.

name

May be null

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "typeFsId": 1,
    "size": 2,
    "path": "sample string 3",
    "NewPath": "sample string 3",
    "CleanName": "sample string 8",
    "language": "sample string 4",
    "languageCode": "sample string 5",
    "brands": [
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      },
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      }
    ],
    "products": [
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      },
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      }
    ],
    "categories": [
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      },
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      }
    ],
    "additionalDownloads": [
      {
        "path": "sample string 1",
        "size": 2,
        "language": "sample string 3",
        "languageCode": "sample string 4",
        "fileType": "sample string 5",
        "fsId": 6,
        "fsGid": "sample string 7",
        "name": "sample string 8"
      },
      {
        "path": "sample string 1",
        "size": 2,
        "language": "sample string 3",
        "languageCode": "sample string 4",
        "fileType": "sample string 5",
        "fsId": 6,
        "fsGid": "sample string 7",
        "name": "sample string 8"
      }
    ],
    "fsId": 6,
    "fsGid": "sample string 7",
    "name": "sample string 8"
  },
  {
    "typeFsId": 1,
    "size": 2,
    "path": "sample string 3",
    "NewPath": "sample string 3",
    "CleanName": "sample string 8",
    "language": "sample string 4",
    "languageCode": "sample string 5",
    "brands": [
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      },
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      }
    ],
    "products": [
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      },
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      }
    ],
    "categories": [
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      },
      {
        "fsId": 1,
        "fsGid": "sample string 2",
        "name": "sample string 3"
      }
    ],
    "additionalDownloads": [
      {
        "path": "sample string 1",
        "size": 2,
        "language": "sample string 3",
        "languageCode": "sample string 4",
        "fileType": "sample string 5",
        "fsId": 6,
        "fsGid": "sample string 7",
        "name": "sample string 8"
      },
      {
        "path": "sample string 1",
        "size": 2,
        "language": "sample string 3",
        "languageCode": "sample string 4",
        "fileType": "sample string 5",
        "fsId": 6,
        "fsGid": "sample string 7",
        "name": "sample string 8"
      }
    ],
    "fsId": 6,
    "fsGid": "sample string 7",
    "name": "sample string 8"
  }
]