Help & Support

Real Time Call Control - Customer Accounts

The web service URL for all Real Time Call Control methods is https://www.sipsorcery.com/rest/v0.1/accounting.svc.

The service methods available for the Real Time Call Control Customer Account records are listed below. In all cases the "where" parameter is an optional filter. It can be used to filter the results of a Get or Count query.

  • Count: GET customeraccount/count?where={where},
  • Get: GET customeraccount/get?where={where}&offset={offset}&count={count}
  • Add: POST customeraccount/add where the request body is a JSON formatted Customer Account
  • Update: POST customeraccount/update where the request body is a JSON formatted Customer Account
  • Delete: GET customeraccount/delete?id={id}

The typical JSON format for a Customer Account record is shown below. When updating a Customer Account all the properties must be specified and any properties that are ommitted will be set to their default value which will be null in most cases.

The Ruby script below illustrates how to use each of the service methods for Customer Account records.