System Information - SentinelHost Retrieve, Update, and Delete Methods

URI

https://164.99.19.131:8443/SentinelRESTServices/objects/host/{Id}

Supported Methods

GET
PUT
DELETE
GET

Authentication

Authentication Types
Sentinel Permissions Needed

Supported Formats

Response

URL Parameters

None.

Success Codes

Fault Codes

Response Data

Object type: host
Needs description.
FieldDescription
collector-mgrsNeeds description.
createdateThe date and time when the object was created.
creatorThe URL of the Sentinel User object that represents the creator of the object.
hostnameNeeds description.
ip-addrNeeds description.
metaThe metadata for an object, including the object type name and the URL reference to the object. Definition
moddateThe date and time when the object was last modified.
modifierThe URL of the Sentinel User object that represents the last modifier of the object.
nameNeeds description.
os-nameNeeds description.
os-verNeeds description.
sentinel-idNeeds description.
Object type: meta
The metadata for an object, including the object type name and the URL reference to the object.
FieldDescription
@hrefThe URL reference to the object.
typeThe name of the object type

Sample Request

GET https://164.99.19.131:8443/SentinelRESTServices/objects/host/79600390-9B73-102E-A3E2-001676E4A757
Sample Response for application/json
Status: 200
{
   "meta":{
      "type":"host",
      "@href":"https://164.99.19.131:8443/SentinelRESTServices/objects/host/79600390-9B73-102E-A3E2-001676E4A757"
   },
   "moddate":"2012-04-25T13:33:44.612Z",
   "name":"Wildebeest",
   "createdate":"2012-04-25T13:33:44.612Z",
   "hostname":"Wildebeest",
   "sentinel-id":"79600390-9B73-102E-A3E2-001676E4A757",
   "os-ver":"Wildebeest",
   "os-name":"Wildebeest",
   "ip-addr":"10.0.0.1",
   "collector-mgrs":{
      "@href":"https://164.99.19.131:8443/SentinelRESTServices/objects/collectormgr?query=SentinelHostId.e79600390-9B73-102E-A3E2-001676E4A757"
   }
}
PUT

Authentication

Authentication Types
Sentinel Permissions Needed

Supported Formats

Request

URL Parameters

None.

Success Codes

Fault Codes

Request Data

Object type: host
Needs description.
FieldRequiredDescription
collector-mgrsfalseNeeds description.
hostnamefalseNeeds description.
ip-addrfalseNeeds description.
nametrueNeeds description.
os-namefalseNeeds description.
os-verfalseNeeds description.
sentinel-idtrueNeeds description.

Object type: meta
The metadata for an object, including the object type name and the URL reference to the object.
FieldRequiredDescription
@hreffalseThe URL reference to the object.
typefalseThe name of the object type

Sample Request

PUT https://164.99.19.131:8443/SentinelRESTServices/objects/host/79600390-9B73-102E-A3E2-001676E4A757
{
   "name":"Wildebeest",
   "hostname":"Wildebeest",
   "sentinel-id":"79600390-9B73-102E-A3E2-001676E4A757",
   "os-ver":"Wildebeest",
   "os-name":"Wildebeest",
   "ip-addr":"10.0.0.1",
   "collector-mgrs":{
      "@href":"https://164.99.19.131:8443/SentinelRESTServices/objects/collectormgr?query=SentinelHostId.e79600390-9B73-102E-A3E2-001676E4A757"
   }
}
Sample Response for application/json
Status: 200

DELETE

Authentication

Authentication Types
Sentinel Permissions Needed

URL Parameters

None.

Success Codes

Fault Codes

Sample Request

DELETE https://164.99.19.131:8443/SentinelRESTServices/objects/host/79600390-9B73-102E-A3E2-001676E4A757