Approve Account Request via SOAP
Hi Team
We are looking at Cerberus (and a couple of other competitors) as a solution for our data feed requirements and so far I think Cerberus might be our choice.
The only question I have to get this over the line is how to approve account requests via the SOAP API.
I see there are GetRequestedAccountsRequest and SetRequestedAccountsRequest API calls but both of these seem extermely light on features (as in basically none) but I cannot see anywhere to "Approve" an account request via the API.
If you could provide some advice on whether this is possible and where in the WSDL I will find the specific call that would be great.
-
Official comment
Hello! Thanks for your interest in Cerberus.
We don't have a high-level API for this specific operation, unfortunately. However, using a combination of operations, it can be done. If you want to approve account requests via the SOAP API, you would have to do the following:1. Get the list of currently requested accounts (GetRequestedAccounts)2. Pick the one you want to approve
3. Create a new user out of the details provided in the request
4. Add the user using SOAP API (AddUser)
5a. If successful, remove the corresponding account request from the requested accounts XML, and SetRequestedAccounts with the set of requests retrieved in step 1, minus the approved one
5b. If unsuccessful, reply with some kind of error and leave the requested accounts list unmodifiedThis emulates what we do in our user interface. If you have further questions, feel free to reach out to us at support@cerberusftp.com.Thanks,Ian ButterissCerberus Support -
Thanks Ian
I think this will work fine for our needs. I will disucss with the team today and play a bit more with the trial version and go from there.
One final question though, it looks like GetRequestedAccountsResponse only returns an XML object and is not mapped to an actual object like the other xxxResponse methods.
For example GetUserInformationResponse returns a UserInformation object that has all properties from a User, yet GetRequestedAccountsResult only seems to return XML with no access to any of the RequestedAccount properties. Is this correct? Why would it be different to all the other methods?
0 -
Sorry for the delay in replying to your question.
There are other Result messages that have only XML blocks. They are low level soap API we have not created high-level interfaces for.It is correct. It is just one among a number of areas in the API that will be getting future attention as demand for our API grows in popularity.0
Please sign in to leave a comment.
Comments
3 comments