Preview top level entities

post

/imports

Returns list of all entity physical type and names.

Request

Supported Media Types
Query Parameters
Body ()
Exported XML or 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
Body ()
Root Schema : previewentity-response
Type: array
The request was successfully completed. The response body includes information about the entities.
Show Source
Nested Schema : previewentity-array
Type: object
Show Source
Back to Top

Examples

This example retrieves list of all entity physical type and names. 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 POST -u username:password  https://pseudo.com/iam/governance/configmgmt/rest/imports?xmlFile=test.xml -d '<<Content of the xml file to be imported>>'

Example of GET Response Body

The following example shows the contents of the response body in JSON format.

[
    {
        "entityType": "Organization",
        "entityTypeDisplay": "Organization",
        "entityName": "Top",
        "message": null
    },
    {
        "entityType": "PasswordPolicy",
        "entityTypeDisplay": "Password Policy",
        "entityName": "Default Policy",
        "message": null
    }, ..
Back to Top