Skip to main content

Looking at the REST API documentation, i can’t see the different between Get Site Info API and Get Site Properties API. They both have the same URI and paramters:

 

GET /V1/CMDB/Sites/SiteInfo{?sitePath}|{?siteId}

 

GET /V1/CMDB/Sites/SiteInfo

Query Parameters(*required)

 

Name Type Description
     
sitePath^ string Full path name of a site. For example, 'My Network/Site1/Boston/Dev'.
siteId^ string The unique id of specified site.
property boolean The boolean switch to decide whether return the site detail information

Note : ^ required if the other parameter is null.

 

is the documentation correct?

@Simon B  Thanks for your posts.

These two APIs look very familar. I will double check with our Intergration team and get back to you. 

 

Thanks,

Gerry


Hi Gerry. 

I think I’ve worked it out. The property field mentioned looks like it’s used to say true or false to providing the details or the summary information. I will try that.


I tried it with the property switch set to true and it worked!

 


👍 


@Simon B 

Our Intergration team also updated the sample scripts for the Get Site Properties API, thanks. 

https://github.com/NetBrainAPI/NetBrain-REST-API-R10.1/blob/main/REST%20APIs%20Documentation/Site%20Management/Get%20Site%20Properties%20API.md


Reply