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

Content-Type

application/json

Send JSON object to use the API Web Services

X-chkp-sid

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

account-id

Mandatory

int

One or more account numbers

Response

On Success, HTTP Return code: 200

Parameter Name

Type

Description

account

int

User Center account number

items

int

Total number of items on account

claimed

int

Number of claimed items

not-claimed

int

Number of items not claimed

On Failure, HTTP Return code: 400, 401, 500

Parameter Name

Type

Description

message

string

Operation status

messages

List: string

List of validation errors

code

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
       }
 ]