Community
 
 
 

CloudPortal Business Manager 2.x

팔로워 324명
 
Avatar
Pankaj Paliwal

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개
0

댓글을 남기려면 로그인하세요.

 
 

Previous 댓글 2개

Avatar
Pankaj Paliwal
Avatar

changestate BSS-API

Found the error:

 

 

Just use the PUT method, not the POST

 

It's wrong in the eDocs.


Thomas Martinovic MEMBERS
댓글 작업 고유 링크
Avatar
Pankaj Paliwal
Avatar

Thanks Thomas !!

 

We will get this corrected.


Manish Agarwal CITRIX EMPLOYEES
댓글 작업 고유 링크

Top Contributors