GET {version}/File/Download/{id}?ApiKey={ApiKey}&ArtNo={ArtNo}&Country={Country}&FallbackToInt={FallbackToInt}&FileType={FileType}&Gln={Gln}&Gtin={Gtin}&Language={Language}&MatchAll={MatchAll}&Name={Name}&Rver={Rver}

Download the article files using gtin / (artno + gln) combination or file name.

Request Information

URI Parameters

Parameters description
NameDescriptionTypeAdditional information
ApiKey

Code used to identify the service calling the API

string

None.

ArtNo

Article number

string

None.

Country

The content country if specified in the url then the list of files will be filtered using the country value. The country should be in ISO-2 country name format https://api.mepcontent.com/{version}/article/download/?ApiKey=abcde&gtin=gtin1,gtin2&filetype=rfa,dwg &country=nl

string

None.

FallbackToInt

Gets or sets a value indicating whether [fallback to int]. when 1 then if no files for given country are attached to the article then the system will return the INT files (if any) when 0 then no fallback is accepted only the specific files per country are retrieved

byte

None.

FileType

Filetype of the file to be returned: rfa, dwg or rvt.

string

None.

Gln

GLN of the manufacturer providing the article

string

None.

Gtin

GTIN of the article

string

None.

Language

The content language if specified in the url then the list of files will be filtered using the language value. The language should be in ISO-2 language format https://api.mepcontent.com/{version}/article/download/?ApiKey=abcde&gtin=gtin1,gtin2&filetype=rfa,dwg &language=nl

string

None.

MatchAll

When multiple GTINs/EANs are specified, and MatchAll is set to 1, only files/articles having all GTIN/ArtNo are returned. When MatchAll is not specified or set to 0, all files/articles having at least one of the specified GTIN/ArtNo are returned.

byte

None.

Name

The file name with extension.

string

None.

Rver

Revit version of file

string

None.

version

string

None.

id

string

None.

Body Parameters

None.

Response Information

Resource Description

the download data as stream

HttpResponseMessage
Parameters description
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.