Difference between revisions of "PEC-Developer/Current/WebAPIs/UDM Data-download"
(Created page with "{{ArticleUnstructured |Standalone=No |DisplayName=User Data Management API }} == Base path: /udm == === Version 10 API Requests === <!-- GET /v10/cipher --> <div class="web...") |
|||
Line 2,372: | Line 2,372: | ||
=== Version 4 API Requests === | === Version 4 API Requests === | ||
+ | |||
+ | {{NoteFormat|Although the User Data Management API still supports version 4 API calls documented below, they have been deprecated.}} | ||
<!-- GET /v4/export/history --> | <!-- GET /v4/export/history --> | ||
<div class="web-api-get mw-collapsible mw-collapsed"> | <div class="web-api-get mw-collapsible mw-collapsed"> | ||
{| class="web-api-introduction" | {| class="web-api-introduction" | ||
− | | style="width: 150px" | <div class="web-api-get-text"> GET </div> | + | | style="width: 150px" | <div class="web-api-get-text"> GET </div>{{Web_Api_Deprecated}} |
| <div class="web-api-urlpath">/v4/export/history</div> | | <div class="web-api-urlpath">/v4/export/history</div> | ||
<div class="web-api-summary">Get list of jobs info</div> | <div class="web-api-summary">Get list of jobs info</div> | ||
Line 2,497: | Line 2,499: | ||
<div class="web-api-delete mw-collapsible mw-collapsed"> | <div class="web-api-delete mw-collapsible mw-collapsed"> | ||
{| class="web-api-introduction" | {| class="web-api-introduction" | ||
− | | style="width: 150px" | <div class="web-api-delete-text"> DELETE </div> | + | | style="width: 150px" | <div class="web-api-delete-text"> DELETE </div>{{Web_Api_Deprecated}} |
| <div class="web-api-urlpath">/v4/export/history</div> | | <div class="web-api-urlpath">/v4/export/history</div> | ||
<div class="web-api-summary">Delete the specified jobs list</div> | <div class="web-api-summary">Delete the specified jobs list</div> | ||
Line 2,539: | Line 2,541: | ||
<div class="web-api-get mw-collapsible mw-collapsed"> | <div class="web-api-get mw-collapsible mw-collapsed"> | ||
{| class="web-api-introduction" | {| class="web-api-introduction" | ||
− | | style="width: 150px" | <div class="web-api-get-text"> GET </div> | + | | style="width: 150px" | <div class="web-api-get-text"> GET </div> {{Web_Api_Deprecated}} |
| <div class="web-api-urlpath">/v4/export/history/{id}</div> | | <div class="web-api-urlpath">/v4/export/history/{id}</div> | ||
<div class="web-api-summary">Get specified jobs history</div> | <div class="web-api-summary">Get specified jobs history</div> | ||
Line 2,657: | Line 2,659: | ||
<div class="web-api-delete mw-collapsible mw-collapsed"> | <div class="web-api-delete mw-collapsible mw-collapsed"> | ||
{| class="web-api-introduction" | {| class="web-api-introduction" | ||
− | | style="width: 150px" | <div class="web-api-delete-text"> DELETE </div> | + | | style="width: 150px" | <div class="web-api-delete-text"> DELETE </div> {{Web_Api_Deprecated}} |
| <div class="web-api-urlpath">/v4/export/history/{id}</div> | | <div class="web-api-urlpath">/v4/export/history/{id}</div> | ||
<div class="web-api-summary">Delete the specified job</div> | <div class="web-api-summary">Delete the specified job</div> | ||
Line 2,700: | Line 2,702: | ||
{| class="web-api-introduction" | {| class="web-api-introduction" | ||
− | | style="width: 150px" | <div class="web-api-get-text"> GET </div> | + | | style="width: 150px" | <div class="web-api-get-text"> GET </div> {{Web_Api_Deprecated}} |
− | | <div class="web-api-urlpath">/v4/export/history/{id}/progress</div> | + | | <div class="web-api-urlpath">/v4/export/history/{id}/progress</div> |
<div class="web-api-summary">Get currently running job completion progress</div> | <div class="web-api-summary">Get currently running job completion progress</div> | ||
|} | |} | ||
Line 2,763: | Line 2,765: | ||
{| class="web-api-introduction" | {| class="web-api-introduction" | ||
− | | style="width: 150px" | <div class="web-api-get-text"> GET </div> | + | | style="width: 150px" | <div class="web-api-get-text"> GET </div> {{Web_Api_Deprecated}} |
| <div class="web-api-urlpath">/v4/export/jobs</div> | | <div class="web-api-urlpath">/v4/export/jobs</div> | ||
<div class="web-api-summary">Get list of jobs info</div> | <div class="web-api-summary">Get list of jobs info</div> | ||
Line 2,883: | Line 2,885: | ||
<div class="web-api-post mw-collapsible mw-collapsed"> | <div class="web-api-post mw-collapsible mw-collapsed"> | ||
{| class="web-api-introduction" | {| class="web-api-introduction" | ||
− | | style="width: 150px" | <div class="web-api-post-text"> POST </div> | + | | style="width: 150px" | <div class="web-api-post-text"> POST </div> {{Web_Api_Deprecated}} |
| <div class="web-api-urlpath">/v4/export/jobs</div> | | <div class="web-api-urlpath">/v4/export/jobs</div> | ||
<div class="web-api-summary">Save specified manualJob</div> | <div class="web-api-summary">Save specified manualJob</div> | ||
Line 3,117: | Line 3,119: | ||
<div class="web-api-delete mw-collapsible mw-collapsed"> | <div class="web-api-delete mw-collapsible mw-collapsed"> | ||
{| class="web-api-introduction" | {| class="web-api-introduction" | ||
− | | style="width: 150px" | <div class="web-api-delete-text"> DELETE </div> | + | | style="width: 150px" | <div class="web-api-delete-text"> DELETE </div> {{Web_Api_Deprecated}} |
| <div class="web-api-urlpath">/v4/export/jobs</div> | | <div class="web-api-urlpath">/v4/export/jobs</div> | ||
<div class="web-api-summary">Delete the specified jobs list</div> | <div class="web-api-summary">Delete the specified jobs list</div> | ||
Line 3,159: | Line 3,161: | ||
<div class="web-api-post mw-collapsible mw-collapsed"> | <div class="web-api-post mw-collapsible mw-collapsed"> | ||
{| class="web-api-introduction" | {| class="web-api-introduction" | ||
− | | style="width: 150px" | <div class="web-api-post-text"> POST </div> | + | | style="width: 150px" | <div class="web-api-post-text"> POST </div> {{Web_Api_Deprecated}} |
| <div class="web-api-urlpath">/v4/export/jobs/cancel/{id}</div> | | <div class="web-api-urlpath">/v4/export/jobs/cancel/{id}</div> | ||
<div class="web-api-summary">Cancel running</div> | <div class="web-api-summary">Cancel running</div> | ||
Line 3,204: | Line 3,206: | ||
{| class="web-api-introduction" | {| class="web-api-introduction" | ||
− | | style="width: 150px" | <div class="web-api-post-text"> POST </div> | + | | style="width: 150px" | <div class="web-api-post-text"> POST </div> {{Web_Api_Deprecated}} |
| <div class="web-api-urlpath">/v4/export/jobs/resume/{id}</div> | | <div class="web-api-urlpath">/v4/export/jobs/resume/{id}</div> | ||
<div class="web-api-summary">Save specified manualJob</div> | <div class="web-api-summary">Save specified manualJob</div> | ||
Line 3,263: | Line 3,265: | ||
{| class="web-api-introduction" | {| class="web-api-introduction" | ||
− | | style="width: 150px" | <div class="web-api-post-text"> POST </div> | + | | style="width: 150px" | <div class="web-api-post-text"> POST </div> {{Web_Api_Deprecated}} |
| <div class="web-api-urlpath">/v4/export/jobs/suspend/{id}</div> | | <div class="web-api-urlpath">/v4/export/jobs/suspend/{id}</div> | ||
<div class="web-api-summary">Save specified manualJob</div> | <div class="web-api-summary">Save specified manualJob</div> | ||
Line 3,322: | Line 3,324: | ||
{| class="web-api-introduction" | {| class="web-api-introduction" | ||
− | | style="width: 150px" | <div class="web-api-get-text"> GET </div> | + | | style="width: 150px" | <div class="web-api-get-text"> GET </div> {{Web_Api_Deprecated}} |
| <div class="web-api-urlpath">/v4/export/jobs/{id}</div> | | <div class="web-api-urlpath">/v4/export/jobs/{id}</div> | ||
<div class="web-api-summary">Get specified job</div> | <div class="web-api-summary">Get specified job</div> | ||
Line 3,399: | Line 3,401: | ||
{| class="web-api-introduction" | {| class="web-api-introduction" | ||
− | | style="width: 150px" | <div class="web-api-put-text"> PUT </div> | + | | style="width: 150px" | <div class="web-api-put-text"> PUT </div> {{Web_Api_Deprecated}} |
| <div class="web-api-urlpath">/v4/export/jobs/{id}</div> | | <div class="web-api-urlpath">/v4/export/jobs/{id}</div> | ||
<div class="web-api-summary">Save specified manualJob</div> | <div class="web-api-summary">Save specified manualJob</div> | ||
Line 3,648: | Line 3,650: | ||
{| class="web-api-introduction" | {| class="web-api-introduction" | ||
− | | style="width: 150px" | <div class="web-api-delete-text"> DELETE </div> | + | | style="width: 150px" | <div class="web-api-delete-text"> DELETE </div> {{Web_Api_Deprecated}} |
| <div class="web-api-urlpath">/v4/export/jobs/{id}</div> | | <div class="web-api-urlpath">/v4/export/jobs/{id}</div> | ||
<div class="web-api-summary">Delete the specified job</div> | <div class="web-api-summary">Delete the specified job</div> |
Revision as of 07:00, February 7, 2024
Contents
Base path: /udm
Version 10 API Requests
GET
|
/v10/cipher
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string |
Code | Reason | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | 200 response | ||||||||||||
|
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/cipher?"
POST
|
/v10/cipher/{certificatefilename}
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string | |||
certificatefilename | path | string | true | ||
file | The certificate content, <input> field name must be 'file' | formData | file | true |
Code | Reason | ||
---|---|---|---|
201 | 201 response | ||
| |||
400 | 400 response |
curl -X POST
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/cipher/{certificatefilename}?"
GET
|
/v10/data/attributes
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
entities | query | string |
Code | Reason | ||
---|---|---|---|
200 | 200 response | ||
|
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/data/attributes?entities=string"
GET
|
/v10/data/job-statuses
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string |
Code | Reason | ||
---|---|---|---|
200 | 200 response | ||
|
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/data/job-statuses?"
GET
|
/v10/data/sources
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string |
Code | Reason | ||
---|---|---|---|
200 | 200 response | ||
| |||
204 | 204 response |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/data/sources?"
GET
|
/v10/data/sub-types
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string | |||
dataType | query | string | |||
source | query | string |
Code | Reason | ||
---|---|---|---|
200 | 200 response | ||
| |||
204 | 204 response | ||
400 | 400 response |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/data/sub-types?dataType=string&source=string"
GET
|
/v10/data/types
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string | |||
source | query | string |
Code | Reason | ||
---|---|---|---|
200 | 200 response | ||
| |||
204 | 204 response |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/data/types?source=string"
GET
|
/v10/export/history
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string | |||
descAsc | query | string | |||
jobId | query | string | |||
type | query | string | |||
orderField | query | string | |||
fileName | query | string | |||
status | query | string | |||
from | query | string | |||
title | query | string | |||
size | query | string | |||
source | query | string | |||
bgUpdate | query | string |
Code | Reason | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | 200 response | ||||||||||||||
| |||||||||||||||
204 | 204 response |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/export/history?descAsc=string&jobId=string&type=string&orderField=string&fileName=string&status=string&from=string&title=string&size=string&source=string&bgUpdate=string"
DELETE
|
/v10/export/history
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string | |||
jobIDs | query | string | true |
Code | Reason |
---|---|
204 | 204 response |
400 | 400 response |
curl -X DELETE
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/export/history?jobIDs=string"
GET
|
/v10/export/history/{id}
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string | |||
id | path | string | true |
Code | Reason | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | 200 response | ||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
400 | 400 response | ||||||||||||||||||||||||||||||||||||
404 | 404 response |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/export/history/{id}?"
DELETE
|
/v10/export/history/{id}
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string | |||
id | path | string | true |
Code | Reason |
---|---|
204 | 204 response |
400 | 400 response |
curl -X DELETE
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/export/history/{id}?"
GET
|
/v10/export/history/{id}/progress
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string | |||
id | path | string | true |
Code | Reason | ||||||||
---|---|---|---|---|---|---|---|---|---|
200 | 200 response | ||||||||
| |||||||||
400 | 400 response |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/export/history/{id}/progress?"
GET
|
/v10/export/jobs
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
descAsc | query | string | |||
scheduleType | query | string | |||
x-api-key | header | string | |||
type | query | string | |||
orderField | query | string | |||
suspend | query | string | |||
from | query | string | |||
title | query | string | |||
size | query | string | |||
source | query | string | |||
bgUpdate | query | string |
Code | Reason | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | 200 response | ||||||||||||||
| |||||||||||||||
204 | 204 response |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/export/jobs?descAsc=string&scheduleType=string&type=string&orderField=string&suspend=string&from=string&title=string&size=string&source=string&bgUpdate=string"
POST
|
/v10/export/jobs
|
Name | Default | Description | Parameter Type | Data Type | Required | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
x-api-key | header | string | |||||||||||||||||||||||||||||||||||||||||||||||||||
Job | body | true | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Code | Reason | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
202 | 202 response | ||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
400 | 400 response |
curl -X POST
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
-d '{
"source": "string",
"type": "string",
"title": "string",
"timeFrame": {
"all": true,
"dateFrom": "string",
"dateTo": "string"
},
"description": "string",
"schedulerParam": {
"immediately": true,
"cron": "string",
"runs": "string",
"startDate": "string"
},
"jobParams": {
"fileSplitSize": "string",
"type": "string",
"media": [
],
"exportAttachments": true
},
"suspended": true
}'
"https://api-demo.com/udm/v10/export/jobs?"
DELETE
|
/v10/export/jobs
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string | |||
jobIDs | query | string | true |
Code | Reason |
---|---|
204 | 204 response |
400 | 400 response |
curl -X DELETE
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/export/jobs?jobIDs=string"
POST
|
/v10/export/jobs/cancel/{id}
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string | |||
id | path | string | true |
Code | Reason |
---|---|
200 | 200 response |
400 | 400 response |
404 | 404 response |
curl -X POST
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/export/jobs/cancel/{id}?"
POST
|
/v10/export/jobs/resume/{id}
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string | |||
id | path | string | true |
Code | Reason | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | 200 response | ||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
400 | 400 response | ||||||||||||||||||||||||||||||||||||
404 | 404 response |
curl -X POST
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/export/jobs/resume/{id}?"
POST
|
/v10/export/jobs/suspend/{id}
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string | |||
id | path | string | true |
Code | Reason | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | 200 response | ||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
400 | 400 response | ||||||||||||||||||||||||||||||||||||
404 | 404 response |
curl -X POST
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/export/jobs/suspend/{id}?"
GET
|
/v10/export/jobs/{id}
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string | |||
id | path | string | true |
Code | Reason | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | 200 response | ||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
400 | 400 response | ||||||||||||||||||||||||||||||||||||
404 | 404 response |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/export/jobs/{id}?"
PUT
|
/v10/export/jobs/{id}
|
Name | Default | Description | Parameter Type | Data Type | Required | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
x-api-key | header | string | |||||||||||||||||||||||||||||||||||||||||||||||||||
id | path | string | true | ||||||||||||||||||||||||||||||||||||||||||||||||||
Job | body | true | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Code | Reason | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | 200 response | ||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
400 | 400 response | ||||||||||||||||||||||||||||||||||||
404 | 404 response |
curl -X PUT
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
-d '{
"source": "string",
"type": "string",
"title": "string",
"timeFrame": {
"all": true,
"dateFrom": "string",
"dateTo": "string"
},
"description": "string",
"schedulerParam": {
"immediately": true,
"cron": "string",
"runs": "string",
"startDate": "string"
},
"jobParams": {
"fileSplitSize": "string",
"type": "string",
"media": [
],
"exportAttachments": true
},
"suspended": true
}'
"https://api-demo.com/udm/v10/export/jobs/{id}?"
DELETE
|
/v10/export/jobs/{id}
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string | |||
id | path | string | true |
Code | Reason |
---|---|
204 | 204 response |
400 | 400 response |
curl -X DELETE
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/export/jobs/{id}?"
GET
|
/v10/file-metadatas
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
historyId | query | string | |||
descAsc | query | string | |||
jobTitle | query | string | |||
x-api-key | query | string | |||
name | query | string | |||
type | query | string | |||
source | query | string | |||
endDate | query | string | |||
orderField | query | string | |||
startDate | query | string | |||
from | query | string | |||
size | query | string | |||
bgUpdate | query | string |
Code | Reason | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | 200 response | ||||||||||||||
|
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/file-metadatas?historyId=string&descAsc=string&jobTitle=string&name=string&type=string&source=string&endDate=string&orderField=string&startDate=string&from=string&size=string&bgUpdate=string"
GET
|
/v10/files
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
filename | query | string | |||
x-api-key | header | string |
Code | Reason | ||||||
---|---|---|---|---|---|---|---|
200 | 200 response | ||||||
| |||||||
400 | 400 response | ||||||
404 | 404 response | ||||||
|
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/files?filename=string"
DELETE
|
/v10/files
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
filename | query | string | true | ||
x-api-key | header | string |
Code | Reason |
---|---|
204 | 204 response |
curl -X DELETE
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/files?filename=string"
GET
|
/v10/files/{filename}
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
filename | path | string | true | ||
x-api-key | header | string |
Code | Reason |
---|---|
303 | 303 response |
404 | 404 response |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/files/{filename}?"
DELETE
|
/v10/files/{filename}
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
filename | path | string | true | ||
x-api-key | header | string |
Code | Reason |
---|---|
204 | 204 response |
curl -X DELETE
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/files/{filename}?"
GET
|
/v10/resources/labels
|
Code | Reason |
---|---|
200 | 200 response |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/resources/labels?"
GET
|
/v10/version
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
x-api-key | header | string |
Code | Reason | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | 200 response | ||||||||||||
|
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v10/version?"
Version 4 API Requests
GET Deprecated
|
/v4/export/history
Get list of jobs info
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
descAsc | Specifies the sort order of orderField. False for ascending order, true for descending | query | boolean | ||
orderField | By which field to order | query | string | ||
title | Filter that title contains | query | string | ||
fileName | Filter that file name contains | query | string | ||
type | Filter that type contains | query | string | ||
status | Filter that file name contains | query | string | ||
from | 0 | Index of the first item to return | query | integer | |
size | 999999999 | Maximum number of items to return | query | integer |
Code | Reason | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | Ok | ||||||||||||
| |||||||||||||
204 | No Content |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v4/export/history?descAsc=true&orderField=string&title=string&fileName=string&type=string&status=string&from=0&size=0"
DELETE Deprecated
|
/v4/export/history
Delete the specified jobs list
|
In case if some jobs cannot be deleted internal server error is returned with a list of jobs that weren't deleted as json array in the body. A job with status in progress cannot be deleted.
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
jobIDs | A comma-separated list of job IDs | query | string | true |
Code | Reason |
---|---|
204 | No Content |
400 | Bad Request |
curl -X DELETE
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v4/export/history?jobIDs=string"
GET Deprecated
|
/v4/export/history/{id}
Get specified jobs history
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
id | The id of the job | path | string | true |
Code | Reason | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | Ok | ||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
400 | Bad Request | ||||||||||||||||||||||||||||||||||
404 | ManualJob Not Found |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v4/export/history/{id}?"
DELETE Deprecated
|
/v4/export/history/{id}
Delete the specified job
|
A job in progress can not be deleted.
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
id | The id of the job | path | string | true |
Code | Reason |
---|---|
204 | No Content |
400 | Bad Request |
curl -X DELETE
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v4/export/history/{id}?"
GET Deprecated
|
/v4/export/history/{id}/progress
Get currently running job completion progress
|
Return value is between 0 and 100 percent.
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
id | The id of the job history | path | string | true |
Code | Reason | ||||||||
---|---|---|---|---|---|---|---|---|---|
200 | Ok | ||||||||
| |||||||||
400 | Bad Request |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v4/export/history/{id}/progress?"
GET Deprecated
|
/v4/export/jobs
Get list of jobs info
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
descAsc | Specifies the sort order of orderField. False for ascending order, true for descending | query | boolean | ||
orderField | By which field to order | query | string | ||
title | Filter that title contains | query | string | ||
type | Filter that type contains | query | string | ||
scheduleType | Filter that file name contains | query | string | ||
suspend | Filter that schedule type contains | query | boolean | ||
from | 0 | Index of the first item to return | query | integer | |
size | 999999999 | Maximum number of items to return | query | integer |
Code | Reason | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | Ok | ||||||||||||
| |||||||||||||
204 | No Content |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v4/export/jobs?descAsc=true&orderField=string&title=string&type=string&scheduleType=string&suspend=true&from=0&size=0"
POST Deprecated
|
/v4/export/jobs
Save specified manualJob
|
Name | Default | Description | Parameter Type | Data Type | Required | ||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
body | body | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Code | Reason | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
202 | Accepted | ||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
400 | Bad Request |
curl -X POST
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
-d '{
"source": "string",
"title": "string",
"timeFrame": {
"all": true,
"dateFrom": "string",
"dateTo": "string"
},
"fileSplitSize": "string",
"description": "string",
"schedulerParam": {
"immediately": true,
"cron": "string",
"runs": "string",
"startDate": "string"
},
"jobParams": {
"fileSplitSize": "string",
"type": "string",
"media": [
]
},
"suspended": "string"
}'
"https://api-demo.com/udm/v4/export/jobs?"
DELETE Deprecated
|
/v4/export/jobs
Delete the specified jobs list
|
In case if some jobs cannot be deleted internal server error is returned with a list of jobs that weren't deleted as json array in the body. A job with status in progress cannot be deleted.
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
jobIDs | A comma-separated list of job IDs | query | string | true |
Code | Reason |
---|---|
204 | No Content |
400 | Bad Request |
curl -X DELETE
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v4/export/jobs?jobIDs=string"
POST Deprecated
|
/v4/export/jobs/cancel/{id}
Cancel running
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
id | The id of the job | path | string | true |
Code | Reason |
---|---|
200 | Ok |
400 | Bad Request |
404 | Not Found |
curl -X POST
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v4/export/jobs/cancel/{id}?"
POST Deprecated
|
/v4/export/jobs/resume/{id}
Save specified manualJob
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
id | The id of the job | path | string | true |
Code | Reason | ||
---|---|---|---|
200 | Ok | ||
| |||
400 | Bad Request | ||
404 | Job Not Found |
curl -X POST
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v4/export/jobs/resume/{id}?"
POST Deprecated
|
/v4/export/jobs/suspend/{id}
Save specified manualJob
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
id | The id of the job | path | string | true |
Code | Reason | ||
---|---|---|---|
200 | Ok | ||
| |||
400 | Bad Request | ||
404 | Job Not Found |
curl -X POST
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v4/export/jobs/suspend/{id}?"
GET Deprecated
|
/v4/export/jobs/{id}
Get specified job
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
id | The id of the job | path | string | true |
Code | Reason | ||
---|---|---|---|
200 | Ok | ||
| |||
400 | Bad Request | ||
404 | ManualJob Not Found |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v4/export/jobs/{id}?"
PUT Deprecated
|
/v4/export/jobs/{id}
Save specified manualJob
|
Name | Default | Description | Parameter Type | Data Type | Required | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id | path | string | true | ||||||||||||||||||||||||||||||||||||||||||||||||||
body | body | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Code | Reason | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | Ok | ||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
400 | Bad Request | ||||||||||||||||||||||||||||||||||
404 | Job Not Found |
curl -X PUT
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
-d '{
"source": "string",
"title": "string",
"timeFrame": {
"all": true,
"dateFrom": "string",
"dateTo": "string"
},
"fileSplitSize": "string",
"description": "string",
"schedulerParam": {
"immediately": true,
"cron": "string",
"runs": "string",
"startDate": "string"
},
"jobParams": {
"fileSplitSize": "string",
"type": "string",
"media": [
]
},
"suspended": "string"
}'
"https://api-demo.com/udm/v4/export/jobs/{id}?"
DELETE Deprecated
|
/v4/export/jobs/{id}
Delete the specified job
|
A job in progress can not be deleted.
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
id | The id of the job | path | string | true |
Code | Reason |
---|---|
204 | No Content |
400 | Bad Request |
curl -X DELETE
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v4/export/jobs/{id}?"
Version 3 API Requests
GET Deprecated
|
/v3/cipher
Get certificate information
|
Code | Reason | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | Ok | ||||||||||||
|
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v3/cipher?"
POST Deprecated
|
/v3/cipher/{certificatefilename}
POST the specified certificate
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
certificatefilename | path | string | true | ||
file | formData | file |
Code | Reason |
---|---|
201 | Created |
"string" | |
400 | Bad Request |
curl -X POST
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v3/cipher/{certificatefilename}?"
GET Deprecated
|
/v3/data/job-statuses
Get list of job statuses
|
Code | Reason | ||||||||
---|---|---|---|---|---|---|---|---|---|
200 | Ok | ||||||||
|
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v3/data/job-statuses?"
GET Deprecated
|
/v3/data/sources
Get list of sources
|
Code | Reason | ||||||||
---|---|---|---|---|---|---|---|---|---|
200 | Ok | ||||||||
| |||||||||
204 | No Content |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v3/data/sources?"
GET Deprecated
|
/v3/data/sub-types
Get list of data subtypes
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
source | Filter data sub types by source | query | string | ||
dataType | Filter data types by type | query | string |
Code | Reason | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | Ok | ||||||||||||||
| |||||||||||||||
204 | No Content | ||||||||||||||
400 | Bad Request |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v3/data/sub-types?source=string&dataType=string"
GET Deprecated
|
/v3/data/types
Get list of types
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
source | Filter data types by source | query | string |
Code | Reason | ||||||||
---|---|---|---|---|---|---|---|---|---|
200 | Ok | ||||||||
| |||||||||
204 | No Content |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v3/data/types?source=string"
GET Deprecated
|
/v3/file-metadatas
Get list of files metadata
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
descAsc | Specifies the sort order of orderField. False for ascending order, true for descending | query | boolean | ||
orderField | By which field to order | query | string | ||
startDate | startDate | query | string | ||
endDate | Filter to which upload date | query | string | ||
name | Filter that file name contains | query | string | ||
jobTitle | Filter that job title contains | query | string | ||
type | Filter that file type contains | query | string | ||
from | 0 | Index of the first item to return | query | integer | |
size | 999999999 | Maximum number of items to return | query | integer |
Code | Reason | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | Ok | ||||||||||||
|
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v3/file-metadatas?descAsc=true&orderField=string&startDate=string&endDate=string&name=string&jobTitle=string&type=string&from=0&size=0"
GET Deprecated
|
/v3/files
Get the list of pre-signed url for specified files list
|
The maximum number of files is limited to 100. Also if some files cannot be found HTTP 404 is returned with a list of the files that weren’t found as json array in the body
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
filename | A comma-separated list of file names | query | string |
Code | Reason | ||||||
---|---|---|---|---|---|---|---|
200 | Ok | ||||||
| |||||||
400 | Bad Request | ||||||
404 | File Not Found | ||||||
|
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v3/files?filename=string"
DELETE Deprecated
|
/v3/files
Delete the specified files list
|
In case if some files cannot be deleted internal server error is returned with a list of files that weren’t deleted as json array in the body.
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
filename | A comma-separated list of file names | query | string | true |
Code | Reason |
---|---|
204 | No Content |
curl -X DELETE
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v3/files?filename=string"
GET Deprecated
|
/v3/files/{filename}
Get the specified file
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
filename | The name of the file | path | string | true |
Code | Reason |
---|---|
303 | See Other |
404 | File Not Found |
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v3/files/{filename}?"
DELETE Deprecated
|
/v3/files/{filename}
Delete the specified file
|
Name | Default | Description | Parameter Type | Data Type | Required |
---|---|---|---|---|---|
filename | The name of the file | path | string | true |
Code | Reason |
---|---|
204 | No Content |
curl -X DELETE
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v3/files/{filename}?"
GET Deprecated
|
/v3/version
Get version information
|
Code | Reason | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 | Ok | ||||||||||||
|
curl -X GET
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/udm/v3/version?"