Import operation on entities

put

/imports

Import list of entities provided in the input XML or JSON file.

Request

Supported Media Types
Query Parameters
  • This parameter specifies how objects in target system are handled. Supported values are Skip and Override. Skip specifies that skip the object of input and keep the object of target system. Override specifies that target system object should be overridden or updated with the input object.
  • Role value to be replaced in all references. Supported values are keepOriginal and change. Change should be passed as change=.
  • User value to be replaced in all references. Supported values are keepOriginal and change. Change should be passed as change=.
  • Name of the XML file.
Body ()
Exported XML/JSON file
Root Schema : import-payload
Type: object
Show Source
Nested Schema : xl-ddm-data
Type: object
Contains the exported XML or JSON file.
Security
Back to Top

Response

Supported Media Types

200 Response

OK
Back to Top

Examples

This example retrieves list of entities provided in the input XML or JSON file that has to be imported. The information shown here is against a pseudo system and serves as a prototype.

cURL Example

curl  -H "Content-Type: application/xml"  -H Accept: application/json" -H "X-Requested-By: <anyvalue>"  -X PUT -u username:password  https://pseudo.com/iam/governance/configmgmt/rest/imports?xmlFile=test.xml&user=chang=John&role=keepOriginal&objectExists=skip  -d '<<Content of the xml file to be imported>>'

Example of Response Body

The following example shows the contents of the response body.

Import successful 
Back to Top