Administrator
- Administrator
- All Products
PUT<Informatica Intelligent Cloud Services URL>/active-bpel/asset/v1/update?assetType=<Taskflow>
PUT <Informatica Intelligent Cloud Services URL>/active-bpel/asset/v1/update?assetType=Taskflow Content-Type: application/json Accept: application/json INFA-SESSION-ID: <Your_Session_ID>
PUT <baseApiUrl>/active-bpel/asset/v1/update?assetType=Taskflow Content-Type: application/json Accept: application/json INFA-SESSION-ID: <Infa-Session-ID> { "taskflows": [ { "guid": { "$t": "<guidvalue>" }, "deployment": [ { "key": { "$t": "API Name" }, "value": { "$t": "<new-api-name>" } }, { "key": { "$t": "Parameter Set" }, "value":[ { "$t": "paramSetData" }, { "key": { "$t": "Allowed Users" }, "value":[ { "$t": "user1" }, { "$t": "user2" }] }, { "key": { "$t": "Allowed Groups" }, "value":[ { "$t": "group1" }, { "$t": "group2" }] } ] } ] }
{ "taskflows": [ { "guid": { "$t": "{{guid1}}" }, "deployment": [ { "key": { "$t": "API Name" }, "value": { "$t": <<"apiname">> } }, { "key": { "$t": "Parameter Set" }, "value":[ { "$t": "paramSetData" }, { "key": { "$t": "Allowed Users" }, "value": [ { "$t": "user1" }, { "$t": "user2" } ] }, { "key": { "$t": "Allowed Groups" }, "value": [ { "$t": "user_Group1" }, { "$t": "user_Group2" } ] } ] }, { "guid": { "$t": "{{guid2}}" }, "deployment": [ { "key": { "$t": "API Name" }, "value": { "$t": <<"apiname1">> } }, { "key": { "$t": "Parameter Set" }, "value": [ { "$t": "paramSetData" }, { "key": { "$t": "Allowed Users" }, "value": [ { "$t": "user1" }, { "$t": "user2" } ] }, { "key": { "$t": "Allowed Groups" }, "value": [ { "$t": "user_Group1" }, { "$t": "user_Group2" } ] } ] } ] }
// Success Response { "status": { "$t": "SUCCESS" } }
// Failure Response { "status": { "$t": "FAILED" }, "errorDetails": { "error": { "$t": "Update failed for assets" }, "failedAssets": { "updateAssetFaultInfo": { "xmlns": "https://com.informatica.icrt/2021/08/updateAssets.xsd", "xmlns$aetgt": "https://com.informatica.icrt/2021/08/updateAssets.xsd", "name": {}, "GUID": { "$t": "<Incorrectguidvalue>" }, "fault": { "$t": "The Api Name is not valid. Specify a valid Api Name." } } } } }