Reference 360 SaaS
- Reference 360 SaaS
- All Products
/rdm-service/external/v1/export
Field
| Type
| Description
|
|---|---|---|
delimiter
| String
| Delimiter used to separate values. Value must be
ASTERISK ,
CIRCUMFLEX ,
COLON ,
COMMA ,
PIPE ,
SECTION ,
SEMICOLON ,
SPACE , or
TAB .
|
codepage
| String
| Code page used for the export file. Value must be
UTF8 .
|
decimalSeparator
| String
| Decimal separator used for numbers. Value must be
COMMA or
DOT .
|
thousandSeparator
| String
| Grouping separator used for numbers. Value must be
COMMA ,
DOT ,
SPACE ,
SINGLEQUOTE , or
NONE .
|
dateFormat
| String
| Format used for dates. Use one of the following formats:
|
filename
| String
| Default name for the CSV file that you can download. The filename parameter is required to map the Content-Disposition header to indicate that you can save the API response as a CSV file.
|
containerType
| String
| Type of asset that contains code values. Value must be
codelist .
|
containerId
| String
| The ID of the code list.
You can find the ID of assets in
Reference 360 or use REST APIs to retrieve the IDs. For more information, see
Asset IDs.
|
filter
| Object
| Optional. Filter criteria for exporting filtered code values. For more information, see
Filter criteria.
|
columns
| Array
| Optional. Attribute columns you want to export. If you don't specify
attribute columns, the export includes all attribute columns. |
excludeParentId
| Boolean
| Optional. Indicates whether to include the parent ID of code values in the CSV file. Value is
true or
false .
|
POST https://use4-mdm.dm-us.informaticacloud.com/rdm-service/external/v1/export HTTP/1.1 Content-Type: application/json Accept: application/octet-stream IDS-SESSION-ID: XXXXXXXXXXXXXXXXXXXXXX { "delimiter":"SEMICOLON", "codepage":"UTF8", "decimalSeparator":"COMMA", "thousandSeparator":"DOT", "dateFormat":"ISO", "filename":"testdata.csv", "containerType":"codelist", "containerId":"c42dcf614044646d678bf5af", "filter":{ "_and":[ { "Name":{ "_contains":"Jo" } } ] }, "columns":[ "Name", "Code" ], "excludeParentId":false }
POST https://use4-mdm.dm-us.informaticacloud.com/rdm-service/external/v1/export HTTP/1.1 Content-Type: application/json Accept: application/octet-stream IDS-SESSION-ID: XXXXXXXXXXXXXXXXXXXXXX { "delimiter": "SEMICOLON", "codepage": "UTF8", "decimalSeparator": "COMMA", "thousandSeparator": "DOT", "dateFormat": "ISO", "filename": "testdata.csv", "containerType": "codelist", "containerId": "9e42b406d59583f15838adf8", "filter": { "_and": [ { "Name": { "_contains": "US" } } ] } }
HTTP/1.1 200 OK Content-Disposition: attachment;filename=testdata.csv Content-Type: application/octet-stream Content-Length: 130 Name,Code Name0,Code0 Name1,Code1 Name2,Code2 Name3,Code3 Name4,Code4 Name5,Code5 Name6,Code6 Name7,Code7 Name8,Code8 Name9,Code9