Inherit Patch: patch_inherit

Service name: patch_inherit

URL

https://SERVER/api/?apikey=yourAPItoken&service=patch_inherit

&required_parameters=required_parameters

[&optional_parameters=optional_parameters]

Description

Set specific software patches to 'inherit' 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_inherit

https://SERVER/api/?apikey=yourAPItoken&service=patch_inherit&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=yourAPItoken&service=patch_list_all&deviceid=DEVICEID

DeviceID list_devices_at_client

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

list_servers

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

list_workstations

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

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