XM
Members
Count of Plans
This documentation is now outdated, please find the latest docs for this endpoint here
Path:
1
GET https://{baseurl}/data-subscription/plans/count
Copied!
Retrieves the total number of plans along with the status-wise count.

Headers

Content-Type : application/json
Authorization: The JWT Authorization toke from the Login API.
x-site-context : { "date": "2020-08-28T02:35:27.787Z", "channel": 12, "account": 5f493c9f30ec2a0007a94fc8", "stage": "sandbox"

Parameters []

Sample Path

1
https://{baseURL}/data-subscription/plans/count
Copied!

Sample Response

Response Code: 200
Message: OK
1
{
2
"success": true,
3
"responseStatus": "OK",
4
"message": "Request processed successfully.",
5
"data": {
6
"plansCount": 10,
7
"statusCount": [
8
{
9
"_id": "ACTIVE",
10
"total": 10
11
}
12
]
13
}
14
}
Copied!
Response Code: 400
Message: Client Error
Response Code: 500
Message: Server Error

Changelog

  • April-2021
Last modified 1mo ago
Copy link
Contents
Changelog