View the list of all sites
URL
https://sdpondemand.manageengine.com/api/json/site
Method
POST
API description
Displays a list of all sites in the organization in the ServiceDesk Plus On-Demand application
Parameters to be passed
authtoken, scope, OPERATION_NAME (value is GET_SITES)
Sample Response:
{
"operation": {
"name": "GET_SITES",
"result": {
"status": "Success",
"message": "Sites retrieved successfully"
},
"totalRows": 2,
"Details": [
{
"SITENAME": "site1",
"SITEID": "2000000026209"
},
{
"SITENAME": "site2",
"SITEID": "2000000026285"
}
]
}
}