Dear everyone
I'm trying to create a new payment via the BSS API in CPBM. I followed the tutorial by Tariq Iqbal (Thank you for this nice tutorial!!) and reading the data works well.
However, when I try to create a payment, I always receive: [{"message":"User not found","code":400,"args":null}] Even via root, or via account.
Trying with root:
POST: /accounts/e64e403b-3341-4220-8fd8-8c8320f889a7/payments.json
DATA: _=1410854194165&apiKey=asdfDerTuasdfQGoTasdfsm3tBcYho1t-adfdjK4VMC2xgsJEKuh-r0xIasdfgfHw3asdfG6adsfjSso1yJkQ&uuid=185a0b85-67fb-4fdd-91af-9283f2e2383c&amount=200&signature=qWmYLztasdf%2BvZj5yjRasdfyXZ4%3D
Does the UUID in the post data mean a user uuid?
Trying with account:
POST: /account/payments.json
DATA: _=1410854372889&apiKey=anotherapikeyQGoTasdfsm3tBcYho1t-adfdjK4VMC2xgsJEKuh-r0xIasdfgfHw3asdfG6adsfjSso1yJkQ&amount=200&signature=qWmYLztasdf%2BvZj5yjRasdfyXZ4%3D
In both cases the log says:
[2014-09-16 10:01:05.272] INFO catalina-exec-4 com.citrix.cpbm.api.security.APIAuthenticationProcessingFilter Entering into doFilterInternal()
[2014-09-16 10:01:05.272] INFO catalina-exec-4 com.citrix.cpbm.api.filters.ApiValidationHelper Entering into validateRequest()
[2014-09-16 10:01:05.576] INFO catalina-exec-4 com.citrix.cpbm.api.security.APIAuthenticationProcessingFilter exiting from doFilterInternal()
Is there a bug in the api or do I need to consider something which is not described in the edocs?
We are using the CPBM v2.3.1
Thanks!