Provided in this section, is a sample Notification request sent by EAM to EcoSys. The notification includes the set of Investment Plans for the Scenario as a list of parameter sets separated by the # symbol. Each included set represents the Investment Plan, Organization and Plan Revision.
Sample Notification Request
PUT https://azussc-epcpub1.devdemo.hexagonppm.com/ecosys/api/restxml/BatchQueueCreateAutoId/
<BatchQueueCreateAutoIdRequest xmlns=http://ecosys.net/api/BatchQueueCreateAutoId xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance schemaLocation=http://ecosys.net/api/BatchQueueCreateAutoId https://azussc-epcpub1.devdemo.hexagonppm.com/ecosys/api/xsd/BatchQueueCreateAutoId>
<BatchQueueCreateAutoId>
<OwnerCostObjectHierarchyPathID>EIM</OwnerCostObjectHierarchyPathID>
<BatchQueueIntegrationTypeID>EAM AIP Import Scenario</BatchQueueIntegrationTypeID>
<TaskName>EAM AIP Import Scenario</TaskName>
<BatchQueueStatusID>New</BatchQueueStatusID>
<IntegrationManagerParameters>
{
"EAMSourceId":"20220811A",
"ScenarioCode":"SCN-20220602",
"ScenarioName":"AIP Scenario Description"
"InvestmentPlanningList":["plan1#org1#1","plan2#org2#2","plan3#org3#3"]
}
</IntegrationManagerParameters>
</BatchQueueCreateAutoId>
</BatchQueueCreateAutoIdRequest>
Sample Notification Response
Success
<?xml version="1.0" encoding="UTF-8"?>
<BatchQueueCreateAutoIdResult xmlns=http://ecosys.net/api/BatchQueueCreateAutoId xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance schemaLocation=http://ecosys.net/api/BatchQueueCreateAutoId https://azussc-epcpub1.devdemo.hexagonppm.com/ecosys/api/xsd/BatchQueueCreateAutoId successFlag="true">
<ObjectResult externalId="" index="0" internalId="18242" resultMessageString="Unavailable" successFlag="true"/>
</BatchQueueCreateAutoIdResult>
Failure
<?xml version="1.0" encoding="UTF-8"?>
<BatchQueueCreateAutoIdResult xmlns=http://ecosys.net/api/BatchQueueCreateAutoId xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance schemaLocation=http://ecosys.net/api/BatchQueueCreateAutoId https://azussc-epcpub1.devdemo.hexagonppm.com/ecosys/api/xsd/BatchQueueCreateAutoId successFlag="true">
<ObjectResult externalId="" index="0" internalId="-1" resultMessageString="ESRC_VALIDATION_FAULT; {%d} - EAM AIP Import Scenario(-1); Unable to create Task '{%d} - EAM AIP Import Scenario': Cannot create a task without an owner Cost Object." successFlag="false">
<ResultMessage level="FAILURE" reasonCode="ESRC_VALIDATION_FAULT">
<KeyName>{%d} - EAM AIP Import Scenario(-1)</KeyName>
<Message>Unable to create Task '{%d} - EAM AIP Import Scenario': Cannot create a task without an owner Cost Object.</Message>
</ResultMessage>
</ObjectResult>
</BatchQueueCreateAutoIdResult>