I wanted to use the Aveksa Webservice to create Change Request using Webservcie, But I don't know how to send the Input parameter.I don't know what i am doing wrong here..
I am trying with Chrome extension "Advance REST client" to test it.
POST URL
http://172.31.xx.xx:8080/aveksa/command.submit?cmd=createChangeRequest
Payload
<AccountChange>
<Operation>Delete</Operation>
<User>user1</User>
<BusinessSource>Credit Application</BusinessSource>
</AccountChange>
for the above URL i am getting the below error ERROR :
401 The token is not valid for the command 'createChangeRequest'. Token parameter was not present
I know it is authorization error but not sure how to pass it as input parameter (username and password
So what should be the POST URL
http://172.31.240.178:8080/aveksa/command.submit?cmd=createChangeRequest&token=<?>
Any example on this would be greatly apprecitated
first, you need to send a loginUser, to get the token.
Here is an example:
Send a post request to: http://172.31.xx.xx:8080/aveksa/command.submit?cmd=loginUser
The response will look like this:
Now, you can send your createChangeRequest to:
http://172.31.240.178:8080/aveksa/command.submit?cmd=createChangeRequest&token=ws31990ea07fcd1e8896:51aa757c:14f368f147f:-71450.08224484800695109
Here is an example to removing entitlement