the File Registry REST API
- REST API
- OpenAPI Specs
- Query for a list of files which can be downloaded from the APX MarketSuite.
File Registry API API (1.1.49)
The expected format for the intervalBegin parameter is yyyy-mm-ddThh:mm:ss i.e 2016-10-08T00:00:00
- Generated server urlhttps://pm-file-api.apx.com/fileRegistry/listFiles
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://pm-file-api.apx.com/fileRegistry/listFiles?intervalBegin=2019-08-24T14%3A15%3A22Z&intervalEnd=2019-08-24T14%3A15%3A22Z' \
-H 'Content-Type: application/json' \
-d '{
"region": "string",
"participant": "string",
"fileType": "string",
"source": "string",
"rendition": "string",
"latestVersionOnly": true
}'List of files which can be downloaded from the APX MarketSuite
DateTime value of interval_begin that was specified when the file was uploaded or otherwise registered. This is not necessarily true for the content of the file. Format - yyyy-mm-ddThh:mm:ss
Datetime value of interval_end that was specified when the file was uploaded or otherwise registered. This is not necessarily true for the content of the file. Format - yyyy-mm-ddThh:mm:ss
Version of the file instance within the APX MarketSuite for the same business keys
[ { "location": "string", "participant": "string", "intervalBegin": "string", "intervalEnd": "string", "source": "string", "rendition": "string", "fileType": "string", "fileVersion": 0, "fileStructureVersion": 0, "fileFormat": "string", "fileHandle": "string", "createDate": "string" } ]
- Generated server urlhttps://pm-file-api.apx.com/fileRegistry/listFilesSince
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://pm-file-api.apx.com/fileRegistry/listFilesSince?watermarkDate=2019-10-08T00%3A00%3A00' \
-H 'Content-Type: application/json' \
-d '{
"region": "string",
"participant": "string",
"fileType": "string",
"source": "string",
"rendition": "string",
"latestVersionOnly": true
}'List files which can be downloaded from the APX MarketSuite which have changed since the specified date
DateTime value of interval_begin that was specified when the file was uploaded or otherwise registered. This is not necessarily true for the content of the file. Format - yyyy-mm-ddThh:mm:ss
Datetime value of interval_end that was specified when the file was uploaded or otherwise registered. This is not necessarily true for the content of the file. Format - yyyy-mm-ddThh:mm:ss
Version of the file instance within the APX MarketSuite for the same business keys
[ { "location": "string", "participant": "string", "intervalBegin": "string", "intervalEnd": "string", "source": "string", "rendition": "string", "fileType": "string", "fileVersion": 0, "fileStructureVersion": 0, "fileFormat": "string", "fileHandle": "string", "createDate": "string" } ]
- Generated server urlhttps://pm-file-api.apx.com/fileRegistry/getScheduleData/{fileName}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://pm-file-api.apx.com/fileRegistry/getScheduleData/{fileName}' \
-H 'Content-Type: application/json' \
-d '{
"region": "string",
"marketParticipants": [
"string"
],
"marketStage": "string",
"marketStatus": "string",
"firstIntervalBegin": "2019-08-24T14:15:22Z",
"lastIntervalEnd": "2019-08-24T14:15:22Z",
"applications": [
"string"
],
"format": "xml"
}'- Generated server urlhttps://pm-file-api.apx.com/fileRegistry/file
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://pm-file-api.apx.com/fileRegistry/file \
-H 'Content-Type: multipart/form-data' \
-F 'uploadFileDescription[location]=string' \
-F 'uploadFileDescription[participant]=string' \
-F 'uploadFileDescription[intervalBegin]=2019-08-24T14:15:22Z' \
-F 'uploadFileDescription[intervalEnd]=2019-08-24T14:15:22Z' \
-F 'uploadFileDescription[fileType]=string' \
-F 'uploadFileDescription[source]=string' \
-F 'uploadFileDescription[rendition]=string' \
-F file=string- Generated server urlhttps://pm-file-api.apx.com/fileRegistry/file/{fileHandle}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://pm-file-api.apx.com/fileRegistry/file/{fileHandle}'No content- Generated server urlhttps://pm-file-api.apx.com/fileRegistry/file/{fileHandle}/status
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://pm-file-api.apx.com/fileRegistry/file/{fileHandle}/status'No content