エンティティに対するエクスポート操作
post
/exports
エンティティ・タイプとエンティティ名に基づいてエンティティのリストをエクスポートします。
リクエスト
サポートされているメディア・タイプ
- application/json
- application/xml
問合せパラメータ
- dependencies: string
サポートされている値はYESおよびNOです。YESは、すべての依存関係と子を含めてエンティティをエクスポートすることを示します。NOは、依存関係と子を除外してエンティティをエクスポートすることを示します。
- description: string
エクスポートするコンポーネントを識別するための簡単な説明。
リクエスト本文は、エクスポートするエンティティのリストを定義します。
ルート・スキーマ: export-postpayload
型:
ソースを表示
object
- entity(optional): array entity
リクエスト本文は、エクスポートするエンティティのリストを定義します。
ネストされたスキーマ: entity
型:
array
リクエスト本文は、エクスポートするエンティティのリストを定義します。
ソースを表示
- 配列: オブジェクト export-postpayload-array
エンティティのエンティティ・タイプとエンティティ名を定義します。
ネストされたスキーマ: export-postpayload-array
型:
object
エンティティのエンティティ・タイプとエンティティ名を定義します。
ソースを表示
- entityName(optional): string
エンティティの名前を定義します。
- entityType(optional): string
エンティティのタイプを定義します。
セキュリティ
- basicAuth: basic
型:
basic
レスポンス
サポートされているメディア・タイプ
- application/json
- application/xml
200レスポンス
OK
ルート・スキーマ: exportentity-response
型:
ソースを表示
object
- xl-ddm-data(optional): object xl-ddm-data
エクスポートされるエンティティ・タイプ・オブジェクトが含まれています。
ネストされたスキーマ: xl-ddm-data
型:
object
エクスポートされるエンティティ・タイプ・オブジェクトが含まれています。
例
この例では、エクスポートするエンティティのリストを取得します。ここに示す情報は、擬似システムを使用した場合のものであり、プロトタイプとして提供しています。
cURLの例
curl -H "Content-Type: application/json" -H Accept: application/xml" -H "X-Requested-By: <anyvalue>" -X POST -u username:password https://pseudo.com/iam/governance/configmgmt/rest/exports?description=testing&dependencies=yes -d '{entity":[{"entityType":"AdminRole","entityName":"OrclOIMSystemConfigurator"},{"entityType":"AdminRole","entityName":"OrclOIMCatalogAdmin"},{"entityType":"ScheduledTask", "entityName":"ADTrustedRecon"},{"entityType":"ApplicationInstance", " entityName":"ADApp"}]}'
レスポンス本文の例
JSON形式のレスポンス本文のコンテンツの例を次に示します。
[ <?xml version = '1.0' encoding = 'UTF-8'?> xl-ddm-data version="11.1.2.3.0" user="XELSYSADM" database="jdbc:oracle:thin:@slc05sab:1521:oimdb" exported-date="1458029888796" description="SampleExport"> AdminRole repo-type="API" name="OrclOIMSystemAdministrator"> scopedOrgList><scope><id>3</id><isHierarchical>true</isHierarchical><name>Top</name></scope>/scopedOrgList> scoped>false/scoped> roleDisplayName>System Administrator/roleDisplayName> roleId>1/roleId> custom>false/custom> roleDescription>OIM System Administrator Role with All Privileges/roleDescription> scopeIds Organization="Top"/> AdminRole AdminRole repo-type="API" name="OrclOIMSystemConfigurator"> scopedOrgList><scope><id>3</id><isHierarchical>true</isHierarchical><name>Top</name></scope>/scopedOrgList> capabilities curl -H "Content-Type: application/xml" -H "Accept: application/json" -X POST -u username:password https://pseudo.com/iam/governance/configmgmt/rest/exportsdescription=testing&dependencies=yes -d ???{ "entityList": [ { "entityType":"AdminRole","entityName":"OrclOIMSystemConfigurator"}, { "entityType":"AdminRole", "entityName":"OrclOIMCatalogAdmin" }, { "entityType":"ScheduledTask", "entityName":"ADTrustedRecon" }, { "entityType":"ApplicationInstance", " entityName":"ADApp" } ] }???