[Spce-user] API features
Daniel Tiefnig
dtiefnig at sipwise.com
Mon Nov 21 20:37:55 EST 2011
On 11/19/2011 08:40 PM, Skyler wrote:
> Hi,
Hej,
> create_domain, delete_domain
>
> create_billing_profile, get_billing_profiles, delete_billing_profile
> everything related to a billing profile.
These were left out somewhat intentionally so far to keep the interface
as simple as possible. But in general, they should go into the export
too, and will be in the next release. With the integrated documentation
in the WSDL I'm confident it will still be easy to maintain.
> Also, shouldn't create_peer_group return the groupid in the same way
> create_voip_account does? the doc says it returns empty_Response
> instead of integer_Response.
One could argue whether it should. There's a function get_peer_groups()
which is usually the entry point for workflows addressing the peer
groups. Would one need to immediately modify a peer group after it was
created?
The workflow for voip accounts is often a bit different. Also it will
make sense in a lot of cases to store the account ID in external
systems. This might of course also be true for peer groups, specially if
there are a lot of them.
We will consider changing the function, we're trying to streamline
function behaviour as good as possible, so they more or less always
behave as one would expect. This won't make it into the next release,
though.
br,
daniel
More information about the Spce-user
mailing list