Returning All Available System Center Configuration Manager Sites

App Broker 2017

This section describes the App Broker REST API endpoint to return a list of all of the available System Center Configuration Manager sites. This endpoint would be used to enable the requester to choose which System Center Configuration Manager site to import the new computer into.

Importing New Computer into System Center Configuration Manager and User Association

Endpoint Example

Response Body Example

[GET] http://<SERVERNAME>/esd/api/deployments/SCCMSites

[

   {

      "site": "ConfigMgr CAS Lax - LAX",

      "serverName": "ITA98765.APPPORTAL.MYCORP.COM"

   },

   {

      "site": "SCHAPCM16KOL - KOL",

      "serverName": "ITA35155.APPPORTAL.MYCORP.COM"

   }

]

Output Details

The output provides a list of available System Center Configuration Manager sites. The parameter "site" gives the site name and the parameter "ServerName" gives the corresponding server name for that site.