Reference 360 SaaS
- Reference 360 SaaS
- All Products
/rdm-service/external/v1/import
Name,Code Name,Code Afghanistan,AFG Aland Islands,ALA Albania,ALB Algeria,DZA American Samoa,ASM
Field
| Type
| Description
|
---|---|---|
delimiter
| String
| Delimiter used to separate values. Value must be
ASTERISK ,
CIRCUMFLEX ,
COLON ,
COMMA ,
PIPE ,
SECTION ,
SEMICOLON ,
SPACE , or
TAB .
|
textQualifier
| String
| Symbol used to indicate where a text begins and ends. Value must be
DOUBLE_QUOTE ,
SINGLE_QUOTE , or
NO_QUOTE .
|
codepage
| String
| Code page used for the export file. Value must be
UTF8 .
|
dateFormat
| String
| Format used for dates. Use one of the following formats:
|
containerType
| String
| Type of asset that contains code values. Value must be
codelist .
|
containerId
| String
| The ID of the code list to which you want to import code values.
You can find the ID of assets in
Reference 360 or use REST APIs to retrieve the IDs. For more information, see
Asset IDs.
|
startingRow
| String
| Line number from which to start importing data. By default, all rows are imported.
|
Field
| Type
| Description
|
---|---|---|
jobId
| String
| ID of the job.
|
state
| String
| Status of the job. Values are
CREATED ,
INPROGRESS ,
COMPLETED ,
SUSPENDED ,
FAILED ,
STOPPED ,
QUEUED or
WARNING .
|
startTime
| Number
| Time, in milliseconds, when the job started.
|
numOfRecordsProcessed
| Number
| Number of records processed.
|
numOfRecordsFailed
| Number
| Number of records that failed to be imported.
|
numOfRecordsSucceeded
| Number
| Number of records successfully imported.
|
POST https://use4-mdm.dm-us.informaticacloud.com/rdm-service/external/v1/import HTTP/1.1 Content-Type: multipart/form-data; boundary=6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm IDS-SESSION-ID: XXXXXXXXXXXXXXXXXXXXXX --6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm Content-Disposition: form-data; name=file; filename=import-code-values.csv --6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm Content-Disposition: form-data; name=importSettings Content-Type: application/json;charset=UTF-8 { "delimiter":"COMMA", "textQualifier":"DOUBLE_QUOTE", "codepage":"UTF8", "dateFormat":"ISO", "containerType":"CODELIST", "containerId":"9ab3201990a54dcdc86f54cf", "startingRow":null } --6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm--
Name,Code Name,Code Afghanistan,AFG Aland Islands,ALA Albania,ALB Algeria,DZA American Samoa,ASM
{ "jobId":"dd1b2018cb47cef99f8d0f42", "state":"INPROGRESS", "startTime":1561367377428, "numOfRecordsProcessed":100, "numOfRecordsFailed":25, "numOfRecordsSucceeded":75 }