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 Rate 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.
The typical JSON format for a Rate is shown below. When updating a Rate 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 Rate records.