Inherit Patch

Service name: patch_inherit

Base URL

https://{SERVER}/api/?apikey={yourAPIkey}&service=patch_inherit

Description

Set specific software patches to 'inherit' for the specified device.

Parameters

Required parameters

Add required parameters immediately after the base URL.

https://{SERVER}/api/?apikey={yourAPIkey}&service=patch_inherit&required_parameters={parameter-value}
Parameter Description Type Options Default

deviceid

The deviceid must be a valid id.

number

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

0

0

Optional parameters

Add optional parameters after the required parameters in the base URL.

https://{SERVER}/api/?apikey={yourAPIkey}&service=xxx&required_parameters={parameter-value}&optional_parameters={parameter-value}
ParameterDescriptionTypeOptionsDefault
describeOptional. Returns a description of the entered call, the available parameters, an example of its output, and returned fields with descriptions.booleantrue0

Determine parameter values

Use the following associated service calls to determine parameter values.

ParameterCallURL Format
patchidpatch_list_allhttps://{SERVER}/api/?apikey=yourAPIkey&service=patch_list_all&deviceid=DEVICEID
deviceidlist_devices_at_clienthttps://{SERVER}/api/?apikey=yourAPIkey&service=list_devices_at_client&clientid=CLIENTID&devicetype=server
list_servershttps://{SERVER}/api/?apikey=yourAPIkey&service=list_servers&siteid=SITEID
list_workstationshttps://{SERVER}/api/?apikey=yourAPIkey&service=list_workstations&siteid=SITEID
siteidlist_siteshttps://{SERVER}/api/?apikey=yourAPIkey&service=list_sites&clientid=CLIENTID
clientidlist_clientshttps://{SERVER}/api/?apikey=yourAPIkey&service=list_clients

Examples

Inherit Patch

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

Example response

<?xml version="1.0" ?>
<result created="2024-10-01T12:47:15+01:00" host="SERVER" status="OK" />

Returned fields

No fields returned.