Search for active calls filtering by location phone number
| Argument | Type | Description |
|---|---|---|
locationIdrequired | ID! | ID of the location |
query($locationId: ID!) { activeVoiceCalls(locationId: $locationId) { id # Add other fields you need }}{ "locationId": "1"}query($id: ID!) { callLog(id: $id) { id # Add other fields you need }}{ "id": "1"}Get a list of call logs
| Argument | Type | Description |
|---|---|---|
insertedAtEnd | NaiveDateTime | Inserted at end |
insertedAtStart | NaiveDateTime | Inserted at start |
limit | Int | Maximum number of results to return |
locationIds | [String] | List of location IDs |
offset | Int | Number of results to skip for pagination |
patientId | ID | ID of the patient |
query( $insertedAtEnd: NaiveDateTime, $insertedAtStart: NaiveDateTime, $limit: Int, $locationIds: [String], $offset: Int, $patientId: ID) { callLogs( insertedAtEnd: $insertedAtEnd, insertedAtStart: $insertedAtStart, limit: $limit, locationIds: $locationIds, offset: $offset, patientId: $patientId ) { id # Add other fields you need }}{ "insertedAtEnd": {}, "insertedAtStart": {}, "limit": 1, "locationIds": "example", "offset": 1, "patientId": "1"}| Argument | Type | Description |
|---|---|---|
insertedAtEnd | NaiveDateTime | Inserted at end |
insertedAtStart | NaiveDateTime | Inserted at start |
locationIds | [String] | List of location IDs |
query( $insertedAtEnd: NaiveDateTime, $insertedAtStart: NaiveDateTime, $locationIds: [String]) { callLogsCount( insertedAtEnd: $insertedAtEnd, insertedAtStart: $insertedAtStart, locationIds: $locationIds ) { id # Add other fields you need }}{ "insertedAtEnd": {}, "insertedAtStart": {}, "locationIds": "example"}query { dialpadOffices { id # Add other fields you need }}Search for recent calls filtering by location phone number
| Argument | Type | Description |
|---|---|---|
insertedAtEnd | NaiveDateTime | Inserted at end |
insertedAtStart | NaiveDateTime | Inserted at start |
limit | Int | Maximum number of results to return |
locationIds | [String] | List of location IDs |
offset | Int | Number of results to skip for pagination |
query( $insertedAtEnd: NaiveDateTime, $insertedAtStart: NaiveDateTime, $limit: Int, $locationIds: [String], $offset: Int) { recentVoiceCalls( insertedAtEnd: $insertedAtEnd, insertedAtStart: $insertedAtStart, limit: $limit, locationIds: $locationIds, offset: $offset ) { id # Add other fields you need }}{ "insertedAtEnd": {}, "insertedAtStart": {}, "limit": 1, "locationIds": "example", "offset": 1}| Argument | Type | Description |
|---|---|---|
insertedAtEnd | NaiveDateTime | Inserted at end |
insertedAtStart | NaiveDateTime | Inserted at start |
locationIds | [String] | List of location IDs |
offset | Int | Number of results to skip for pagination |
query( $insertedAtEnd: NaiveDateTime, $insertedAtStart: NaiveDateTime, $locationIds: [String], $offset: Int) { recentVoiceCallsCount( insertedAtEnd: $insertedAtEnd, insertedAtStart: $insertedAtStart, locationIds: $locationIds, offset: $offset ) { id # Add other fields you need }}{ "insertedAtEnd": {}, "insertedAtStart": {}, "locationIds": "example", "offset": 1}