Update Payment Drivers
post
/content/sim/v1/setup/updatepaymentdrivers
Updates the payment driver. If payment driver is not found is not found, it add a new payment driver.
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 : PaymentDriver
Type:
Show Source
object
-
filename(optional):
string
The name of the image file with extension.Example:
OPIPayment.dll
-
filenameOrigin(optional):
string
the content file origin.Example:
C:\Program Files\Oracle Hospitality\EMCClient\OPIPayment.dll
-
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
-
name(optional):
object TranslatedString_PaymentDriverName
Additional Properties Allowed: additionalPropertiesA group of string objects representing the name of the payment driver in configured languages
-
objectNum:
integer
Object number of the workstationExample:
1
-
type(optional):
integer
the type of the file.Example:
26
-
url(optional):
string
The URL of the download API which needs to be used to download the actual content file.Example:
https://baseurl/download
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??"
}
Nested Schema : TranslatedString_PaymentDriverName
Type:
object
Additional Properties Allowed
Show Source
A group of string objects representing the name of the payment driver in configured languages
Example:
{
"en-US":"Payment Driver",
"es-SS":"Conductor de pago",
"lt=LT":"Mok??jimo vairuotojas"
}
Response
Supported Media Types
- application/json
200 Response
Response object
Root Schema : PaymentDriverResponse
Type:
Show Source
object
-
hierUnitId:
integer
Unique hierarchy unit value.Example:
1
-
objectNum:
integer
Object Number of the payment driver.Example:
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