EDAA REST – Populate Notification OccurredOn relationship…..

$VAR1 = ‘xmlns’;

$VAR2 = ‘http://www.w3.org/2005/Atom‘;

$VAR3 = ‘entries’;

$VAR4 = [

{

‘xmlns$inst’ => ‘http://schemas.emc.com/vs-xml/namespace/Common/1.0‘,

‘content’ => {

‘Time’ => ‘2018-02-21T09:47:45+00:00’,

‘ErrorMessage’ => ‘Msa Create Related Instance Operation Error. Source: ICS_Notification::NOTIFICATION-MyNotificationNameHere. Relationship: OccurredOn. Caused by: Cannot invoke method indexOf() on null object’,

‘RequestUri’ => ‘http://myServer.bob:8080/smarts-edaa/msa/edaa-oi-01/instances/ICS_Notification::NOTIFICATION-MyNotificationNameHere/relationships/OccurredOn‘,

‘Code’ => ‘4009’,

‘Type’ => ‘OPERATION_ERROR’,

‘vsc$displayName’ => ‘Msa Create Related Instance Operation Error. Source: ICS_Notification::NOTIFICATION-MyNotificationNameHere. Relationship: OccurredOn. Caused by: Cannot invoke method indexOf() on null object’,

‘CodeString’ => ‘msa.create.related.instance.operation.error’,

‘links’ => [

{

‘rel’ => ‘http://schemas.emc.com/msa/common/reln/type‘,

‘href’ => ‘http://myServer.bob:8080/smarts-edaa/msa/edaa-oi-01/types/MsaError

}

]

},

‘updated’ => ‘2018-02-21T09:47:45+00:00’,

‘id’ => ‘http://myServer.bob:8080/smarts-edaa/msa/edaa-oi-01/instances/MsaError::4009‘,

‘title’ => ‘MsaError – Msa Create Related Instance Operation Error. Source: ICS_Notification::NOTIFICATION-MyNotificationNameHere. Relationship: OccurredOn. Caused by: Cannot invoke method indexOf() on null object’,

‘xmlns$vsc’ => ‘http://schemas.emc.com/vs-xml/namespace/Common/1.0‘,

‘links’ => [

{

‘rel’ => ‘http://schemas.emc.com/msa/common/reln/type‘,

‘href’ => ‘http://myServer.bob:8080/smarts-edaa/msa/edaa-oi-01/types/MsaError

}

]

}

];



Related:

Leave a Reply