Community
 
 
 

CloudPortal Business Manager 2.x

324 followers
 
Avatar
Administrator

changestate BSS-API

Avatar

changestate BSS-API

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
 

Attached Files


Thomas Martinovic MEMBERS
2 comments
0

Please sign in to leave a comment.

 
 

Previous 2 comments

Avatar
Administrator
Avatar

changestate BSS-API

Found the error:

 

 

Just use the PUT method, not the POST

 

It's wrong in the eDocs.


Thomas Martinovic MEMBERS
Comment actions Permalink
Avatar
Administrator
Avatar

Thanks Thomas !!

 

We will get this corrected.


Manish Agarwal CITRIX EMPLOYEES
Comment actions Permalink

Top Contributors