Count CDRs and SUM minutes for Specifc UserAsk AIget https://{server}/ns-api/v2/domains/{domain}/users/{user}/cdrs/countPath Paramsdomainstringrequiredlength ≤ 64Defaults to ~This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.userstringrequiredlength between 0 and 16Defaults to ~This is the main user extension for the user account. ~ can be used to mean "my account" which will extract the user from the token/key used for authentication.Query Paramsdatetime-startstringrequiredThis is the start of the time window for a given query. The format is based on RFC3339 but also will support additonal params for use in providing a timezone which will allow the API to give the correct range for a given set of data and will be formated in respone using the same format. Supported formats include. 2023-11-27 13:00:00 2023-11-27T13:00:00Z 2023-11-27T13:00:00-08:00 2023-11-27T13:00:00-08:00[US/Pacific] 2023-11-27T13:00:00Z[America/Phoenix] datetime-endstringrequiredThis is the end of the time window for a given query. The format is based on RFC3339 but also will support additonal params for use in providing a timezone which will allow the API to give the correct range for a given set of data and will be formated in respone using the same format. Allowed values same as datetime-start.typestringOptions include Inbound, Outbound, On-net, Off-net, Missed, Received, or integer type 0,1,2,3Responses 200OK 400Bad Request 401Authentication Required 404Record not foundUpdated 11 months ago