Approve Patch

Use this API Call to query our Data Extraction API to extract data gathered by N-sight RMM.This section shows the service name and parameters needed in the API Call query, and provides examples of some queries and system responses. For more information, see Data Extraction API.

Service name: patch_approve

URL

https://SERVER/api/?apikey=yourAPIkey&service=patch_approve

&required_parameters=required_parameters

[&optional_parameters=optional_parameters]

Description

Approve specific software patches for the specified device.

 

Parameters

Post Variable

Description

Type

Required

Options

Default

describe

Optional. Returns a description of the service.

boolean

no

true

0

deviceid

The deviceid must be a valid id.

number

yes

0

0

patchids

The patchids parameter is a sequence of comma separated patchid's as return in the patch_list_all <patchid>..</patchid> tag. For example <patchid>78</patchid>

string

yes

0

0

 

Example Service Call =patch_approve

https://SERVER/api/?apikey=yourAPIkey&service=patch_approve&deviceid=DEVICEID&patchids=PATCHID,PATCHID,PATCHID

Example Response

<?xml version="1.0" ?>

<result created="2009-10-01T12:47:15+01:00" host="SERVER" status="OK" />

 

Field Descriptions

No Fields returned

 

Example Associated Service Calls
Parameter Call URL Format
PatchID patch_list_all

https://SERVER/api/?apikey=yourAPIkey&service=patch_list_all&deviceid=DEVICEID

DeviceID list_devices_at_client

https://SERVER/api/?apikey=yourAPIkey&service=list_devices_at_client&clientid=CLIENTID&devicetype=server

list_servers

https://SERVER/api/?apikey=yourAPIkey&service=list_servers&siteid=SITEID

list_workstations

https://SERVER/api/?apikey=yourAPIkey&service=list_workstations&siteid=SITEID

SiteID list_sites https://SERVER/api/?apikey=yourAPIkey&service=list_sites&clientid=CLIENTID
ClientID list_clients https://SERVER/api/?apikey=yourAPIkey&service=list_clients