Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Brett_Sherbert
Explorer

How do you do a 'show access-layer' in a Web API request?

I am trying to right a web API request to one of our CMA domains to get the contents of 'show access-layer'.  I am able to get my sid from a login, but when I try to do POST https://<mgmt_server>:<port>/web_api/show-access-layers I get a "total" : 0 response when I am expecting 4 responses.  I also have tried POST https://<cma_ip>:<port>/web_api/show-access-layers and still get the same response.  Any ideas on what I am missing?  I am getting a 200 OK on both.

Thanks,

3 Replies
Joshua_Hatter
Employee
Employee

When trying to access CMA data, in the login command you must provide the domain field while using the MDS IP address in the https://<mdsip>/web_api/login.

Are you using the domain field in the login?

Brett_Sherbert
Explorer

No, would that go into the body?

0 Kudos
Joshua_Hatter
Employee
Employee

It's in the request body or data of the POST payload in the json, same place you are putting username and password.

Check Point - Management API reference 

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events