Update SPI server certificate
post
/content/sim/v1/devices/workstations/updateSPIserverCertificate
Updates the SPI server certificate for the given workstation device. If certificate is not found, it adds a new SPI server certificate to the workstation device.
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
Request body
Root Schema : schema
Type:
Show Source
object
-
deviceNum(required):
integer
Sequence number of the deviceExample:
1
-
fileName(required):
string
The name of the server certificate file with extension.Example:
ServerCertificate.xml
-
hierUnitId(required):
integer
Unique hierarchy unit valueExample:
1
-
objectNum(required):
integer
Object number of the workstationExample:
1
-
size:
integer
The size of the certificate file in bytes.Example:
72534
Response
Supported Media Types
- application/json
200 Response
SPI Server Certificate Updated or Added.
Root Schema : SPICertificateResponse
Type:
Show Source
object
-
deviceNum:
integer
Sequence number of the deviceExample:
1
-
hierUnitId:
integer
Unique hierarchy unit valueExample:
1
-
objectNum:
integer
Object Number of the workstationExample:
1