SA Value By Workstation

Get SA value by workstation ID

GET /api/.../sysadmin/workstations/{id}/values/{mnemonic}

This method retrieves a specified SA value by workstation ID.

Response Information

Returns the SA value defined by the workstation
Properties
Property Type Nullable Description
Value String No Workstation preferred value saved for the attribute.
Example
application/json, text/json
{
    43067
}

HTTP Response Codes

Code Description
200 OK. Success
400 Bad request. Invalid workstation ID or mnemonic
404 Not Found. Workstation ID is not found

Update SA value by workstation ID

PUT /api/.../sysadmin/workstations/{id}/values/{mnemonic}

Update SA value by workstation ID.

Request Information

Parameters
Name Type Required Description
id Integer Yes Unique id assigned to the workstation
mnemonic String Yes Admin attribute identifier
Request body

Contains a string representation of the new value for the specified mnemonic.

Note: For Boolean values, provide "Yes" or "No". For integer values, provide a string representation similar to "15".

Example
application/json, text/json
"Attribute Value"

HTTP Response Codes

Code Description
200 OK. Success
400 Bad request. Examples:
"Mnemonic 'PSPARM_RECEIPTNOTEXYZ' not a valid admin attribute"
"Invalid domain for attribute 'PSPARM_RECEIPTNOTE'"
404 Not Found. Workstation ID not found.

Permissions needed to perform this action:

AccessAdministration_Allow
Workstations_Access
Workstations_Modify

Note: Typically both permissions are required except when the logged in workstation is attempting to modify its own SA value for the following attributes:

  • LEAP_RFID_AUTO_POLL_TAGS