changestate BSS-API
Found the error:
Just use the PUT method, not the POST
It's wrong in the eDocs.
Hello,
I'm trying to change a state in cpbm over the bss-api, however, I'm not able to get it working.
Updating an account, or creating a payment works well.
I always receive a '401 (Unauthorized)' error with the root account, and in the /var/log/coud/portal/cpbm-server.log is a AccessDeniedException described...
This Data I'm sending:
URL: http:// 10.225.0.61:8080/portal/api/accounts/69c37ae8-f46a-498e-a62b-fb00c5cbf90d/changestate.xml?signature=plfS9Sk9EzuRhbi0kVATGSyxKx8%3D
POST: _=1412855096472&apiKey=93GiESfjf2sqJcqVIKsNYH14XEBxkZZgbjQZ9ktP7mpPehoDZQZ611NpNTwG2gALTH72rNyydNOwXsNjTL3f6g&memo=test&newstate=ACTIVE&statechangecause=1
Any ideas??
Thanks a lot
Thomas
Found the error:
Just use the PUT method, not the POST
It's wrong in the eDocs.
Ask, Discuss, Answer