AnsweredAssumed Answered

Create Change Request via Web Services

Question asked by Marco Sannino on Jan 11, 2017
Latest reply on Feb 9, 2017 by Ofer Gigi

Hi all,

 

i'm trying to create a change request where some entitlements are added to 1 account via Web Services but i'm experiencing some issues. First of all i'm using POSTMAN chrome plugin (but i tried also with REST client firefox addon) but i receive this error:

 

<html>
    <head>
        <title>Error</title>
    </head>
    <body>The change request could not be created. Account change could not be created. Not all required properties were found.
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;AccountChange&amp;gt;
        &amp;lt;Operation&amp;gt;Add&amp;lt;/Operation&amp;gt;
        &amp;lt;Account&amp;gt;gazzurri&amp;lt;/Account&amp;gt;
        &amp;lt;AccountCollector&amp;gt;ORC_ADC&amp;lt;/AccountCollector&amp;gt;
        &amp;lt;BusinessSource&amp;gt;ORC&amp;lt;/BusinessSource&amp;gt;
        &amp;lt;Resource&amp;gt;CBE&amp;lt;/Resource&amp;gt;
    &amp;lt;/AccountChange&amp;gt;
 Query String=cmd=createChangeRequest&amp;token=<token></body>
</html>

the URI is this

https://192.168.159.130/aveksa/command.submit?cmd=createChangeRequest&token=<token>

while the body is this:

 

<Changes>
    <OnBehalfOf>gazzurri</OnBehalfOf>
    <AccountChange>
        <Operation>Add</Operation>
        <Account>gazzurri</Account>
        <AccountCollector>ORC_ADC</AccountCollector>
        <BusinessSource>ORC</BusinessSource>
        <Resource>CBE</Resource>
    </AccountChange>
</Changes>

The user where i obtain the token is AveksaAdmin.

Is there any mistake in the body or is someway mandatory to allow the <OnBehalfOf> tag ?

 

Thank you in advance and Regards.

 

ps RSA VIA Lifecycle & Governance Version 7.0.0.115344 P04

 

Marco Sannino

Moviri SpA

Milan, Italy

Outcomes