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.
-
Simphony-OrgShortName: string
The ShortName of the organization
Request body
Root Schema : SPIServerCertificate
Type:
Show Source
object
-
deviceNum:
integer
Sequence number of the deviceExample:
1
-
fileName:
string
The name of the server certificate file with extension.Example:
ServerCertificate.xml
-
hierUnitId:
integer
Unique hierarchy unit valueExample:
1
-
hierUnitName(optional):
object TranslatedString_HierUnitName
Additional Properties Allowed: additionalPropertiesA group of string objects representing the name of the hierarchy unit configured languages
-
hierUnitObjNum(optional):
integer
Hierarchy unit object numberExample:
1
-
objectNum:
integer
Object number of the workstationExample:
1
-
size(optional):
integer
The size of the certificate file in bytes.Example:
72534
Nested Schema : TranslatedString_HierUnitName
Type:
object
Additional Properties Allowed
Show Source
A group of string objects representing the name of the hierarchy unit configured languages
Example:
{
"en-US":"Enterprise",
"es-SS":"Empresa",
"lt=LT":"??mon??"
}
Response
Supported Media Types
- application/json
200 Response
Response object
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
400 Response
400 Bad Request
Root Schema : ErrorDetails
Type:
object
Response body when the request returns an error.
Show Source
-
detail(optional):
string
A short, human-readable summary of the problem.Example:
Specified Data is invalid
-
errorDetails(optional):
string
A human-readable explanation specific to this occurrence of the problem.Example:
Entity Does Not Exist
-
o:errorCode(optional):
integer
Error code of the problemExample:
55223
-
status(optional):
integer
HTTP status code.Example:
400
-
title(optional):
string
A short, human-readable summary of the problem type.Example:
VALIDATION ERROR
-
type(optional):
string
A URI reference that identifies the problem type. When this member is not present, its value is assumed to be "about:blank".Example:
http://www.abc.org/xyz.html