Adding Scope Tags
Edition:REST APIs are enabled with AdminStudio Enterprise Edition.
When you send this request, it adds a scope tag to the specified package present in the application catalog.
| Request Type | Description |
|---|---|
| API | http://localhost:8086/catalog/SetASScopeTags/?PackageId=7&ScopeTagId=15&ConnectionName=Intune |
| Method | POST |
| Parameters | List all parameters in the following format: ConnectionName= (Required) Specify named connection to Intune deployment system. PackageId= (Required) Specify the PackageID of the package. ScopeTagId= (Required) Specify the ID of the scope tag present in the Intune portal. To fetch the IDs, see Fetch All Scope Tags from Intune Connection. |
| Connection Info | Provides the connection information of the package as mentioned in Setting Up Connection to Run REST APIs |
Response
-
Example
http://localhost:8086/catalog/SetASScopeTags/?PackageId=7&ScopeTagId=15&ConnectionName=Intune -
Response
<response>
<HasFault>false</HasFault>
<headers>
<httpHeaders>
<Content-Length>0</Content-Length>
<Accept-Encoding>gzip, deflate, br</Accept-Encoding>
<Host>localhost:8086</Host>
<Accept>*/*</Accept>
<ConnectionInfo>"PROVIDER=MSOLEDBSQL19;Data Source=XX.XX.XXX.XXX;Initial catalog=XXX;user ID=XX;password=XXXXXX;"</ConnectionInfo>
<Postman-Token>9e99b019-85c2-4658-992e-440422208681</Postman-Token>
<User-Agent>PostmanRuntime/7.45.0</User-Agent>
<Connection>keep-alive</Connection>
</httpHeaders>
<request></request>
</headers>
<summary />
<data>ScopeTag has been Added Successfully</data>
</response>