Back to Collection Items
var
begin
CkJsonObject_UpdateString(queryParams,'module','Sales_Orders');CkHttp_putAuthToken(http,'<access_token>');success := CkHttp_HttpParams(http,'GET','https://domain.com/crm/v2/settings/tags/{{tag_id}}/actions/records_count',queryParams,resp);
Curl Command
curl -G -d "module=Sales_Orders"
-H "Authorization: Bearer <access_token>"
https://domain.com/crm/v2/settings/tags/{{tag_id}}/actions/records_count
Postman Collection Item JSON
{
"name": "Sales Orders",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{access-token}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2/settings/tags/{{tag_id}}/actions/records_count?module=Sales_Orders",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2",
"settings",
"tags",
"{{tag_id}}",
"actions",
"records_count"
],
"query": [
{
"key": "module",
"value": "Sales_Orders"
}
]
},
"description": "To get the total number of records under a tag."
},
"response": [
]
}