show-gateways-number
Description
Retrieve the number of gateways associated with a set of accounts. The response object contains the total number of gateways, the number of claimed gateways, and the number of unclaimed gateways per account.
Request URL
POST
https://zerotouch.checkpoint.com/ZeroTouch/web_api/v2/show-gateways-number
Request Headers
|
Parameter Name |
Type |
Description |
|---|---|---|
|
|
application/json |
Send JSON object to use the API Web Services |
|
|
string token |
Session unique identifier as the response to the login request |
Request Body
List of User's Check Point User Center accounts
|
Parameter Name |
Status |
Type |
Description |
|---|---|---|---|
|
|
Mandatory |
int |
One or more account numbers |
Response
On Success, HTTP Return code: 200
|
Parameter Name |
Type |
Description |
|---|---|---|
|
|
int |
User Center account number |
|
|
int |
Total number of items on account |
|
|
int |
Number of claimed items |
|
|
int |
Number of items not claimed |
On Failure, HTTP Return code: 400, 401, 500
|
Parameter Name |
Type |
Description |
|---|---|---|
|
|
string |
Operation status |
|
|
List: string |
List of validation errors |
|
|
string |
Error code |
Request Example
{
"account-ids": [8222720, 8044839]
}
|
Response Example
[
{
"account": 8222720,
"items": 8,
"claimed": 7,
"not-claimed": 1
},
{
"account": 8044839,
"items": 5,
"claimed": 3,
"not-claimed": 2
}] |