All pages
Powered by GitBook
1 of 1

Loading...

Hardware IDs

List

get

Retrieve Criteria Hardware ID List of a session server with the specified ID.

Path parameters
idinteger 路 int32Required

The ID of a session server for which to retrieve the Criteria settings.

ruleIdinteger 路 int32Required

The ID of the Rule to retrieve.

Responses
200

Success

application/json; api-version=1.0
401

Unauthorized

application/json; api-version=1.0
404

Not Found

application/json; api-version=1.0
get
/api/PubItems/{id}/Rules/{ruleId}/Criteria/HardwareIDs

Add

post

Add a hardware ID to the Hardware ID List of the Criteria settings.

Path parameters
idinteger 路 int32Required

The ID of a session server for which to modify the Criteria settings.

ruleIdinteger 路 int32Required

The ID of the Rule to retrieve.

Body

Add a hardware ID to the Criteria Hardware ID list

hardwareIDstring | nullableRequired

The hardware ID to add to the Criteria.

Responses
201

Created

No content

401

Unauthorized

application/json; api-version=1.0
404

Not Found

application/json; api-version=1.0
409

Conflict

application/json; api-version=1.0
post
/api/PubItems/{id}/Rules/{ruleId}/Criteria/HardwareIDs

No content

Remove

delete

Remove a hardware ID from the Hardware ID List of the Criteria settings.

Path parameters
idinteger 路 int32Required

The ID of a session server for which to modify the Criteria settings.

ruleIdinteger 路 int32Required

The ID of the Rule to retrieve.

Body

Remove a hardware ID from the Criteria Hardware ID list

hardwareIDstring | nullableRequired

The hardware ID to remove from the Criteria.

Responses
204

No Content

401

Unauthorized

application/json; api-version=1.0
404

Not Found

application/json; api-version=1.0
delete
/api/PubItems/{id}/Rules/{ruleId}/Criteria/HardwareIDs

No content

GET /api/PubItems/{id}/Rules/{ruleId}/Criteria/HardwareIDs HTTP/1.1
Host: 
Accept: */*
[
  {
    "hardwareID": "text"
  }
]
POST /api/PubItems/{id}/Rules/{ruleId}/Criteria/HardwareIDs HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 21

{
  "hardwareID": "text"
}
DELETE /api/PubItems/{id}/Rules/{ruleId}/Criteria/HardwareIDs HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 21

{
  "hardwareID": "text"
}