Retrieves the number of deals currently being processed.
| Method | get.deals_in_processing |
|---|---|
| API version | — |
| Description | Retrieves the number of deals currently being processed. |
Available to: Agents and clients
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
access_token |
string | yes | Access token used to authenticate the request. |
user_id |
number | no | Unique ID of the client user on whose behalf the agent is making the request. Required for agents. To retrieve a list of client users, use "get.customer_users". |
Example request
{
"jsonrpc": "2.0",
"id": "number",
"method": "get.deals_in_processing",
"params": {
"access_token": "string",
"user_id": "number"
}
}
Example response
{
"jsonrpc": "2.0",
"id": "number",
"result": {
"data": {
"count": "number"
},
"metadata": "object"
}
}
Possible errors
See the "Errors for get methods" section.