Retry 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_retry

URL

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

&required_parameters=required_parameters

[&optional_parameters=optional_parameters]

Description

Retry specific software patches on 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_retry

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

Example Response

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

 <msg>Retrying patches: 4,5 Patches already applied: 1,6</msg>

</result>

 

Field Descriptions

Field

Type

Can Be Empty

Description

msg

string

yes

Message related to the action status.

 

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