Get data file

This Web service retrieves the file that was stored in the repository, as specified in the File to store property of the StoreInRepository step. Values for the URI can be derived from the results returned by the Search repository Web service.

HTTP method

GET

URI

/aiwservices/v1/repositories/data/?ID=value1&repoFolder=value2&repository=repositoryName
  • Replace value1 with the value of Job.Repository.Identifier property from the results returned by the Search repository Web service.

    Do not use the value of the File to store property to retrieve the data file from the repository. When the data file is stored in the repository, it is renamed.
  • Replace value2 with the value of the Job.Repository.ArchiveFolder property from the results returned by the Search repository Web service.

    Do not use the value of the Archive folder property to retrieve the data file from the repository.
  • Replace repositoryName with the name of the repository you want to retrieve the file from.
    If you do not know which repository the data file is stored in, you can use * for the repository name. Searches that use * for the repository name are slower than searches that use a specific repository.

Request headers

ippdcredential

<credential token="value" />

Accept-Language (optional)

lang

Supported language values:

de German
en US English (default)
es Spanish
fr French
it Italian
ja Japanese
pt_BR Brazilian Portuguese

Return codes

  • 200 OK
  • 404 Not Found
  • 500 Internal Server Error

Example

Sample request

Retrieve the data file stored with these values:
  • Job.Repository.Identifier = 10000000-1
  • Job.Repository.ArchiveFolder value = 10000000-2014-09-16_22.34.52.383
  • Repository = Sample

http://hostname:15080/aiwservices/v1/repositories/data/?&ID=10000000-1&repoFolder=10000000-2014-09-16_22.34.52.383&repository=Sample

 
Copyright © 2015, 2018