Update a Compensation Type

post/update/COHT

Updates a Compensation Type in the Compensation Header Types table. The version property must be provided within the oldValues.

Securitybasic or X-PriceFx-jwt
Request
Request Body schema: application/json
required
object
typedId
required
string
headerFormulaName
string
object
version
required
integer
typedId
string
uniqueName
string
headerFormulaName
string
workflowFormulaName
string
configuration
object
scRecordWorkflowFormulaName
string
createDate
string
createdBy
integer
lastUpdateDate
string
lastUpdateBy
integer
operationType
required
string
textMatchStyle
string
Responses
200

OK

Response Schema: application/json
object (updateCompensationTypeResponse)
node
string
Array of objects (CompensationHeaderType)
Array
object or null

A configuration (as JSON string) of the detail page. You can configure e.g., the additional tabs on Compensation Plan detail page, which will show information in form of a dashboard. See Detail Page Layout and Dynamic Tabs for more details.

createDate
string <date-time>
createdBy
integer
headerFormulaName
string <= 255 characters

A name of the logic used for building inputs and calculating results for the Compensation Plan header, but can also manipulate the items and folders.

label
string or null <= 255 characters
lastUpdateBy
integer
lastUpdateDate
string <date-time>
scRecordWorkflowFormulaName
string <= 255 characters

A name of the approval workflow logic, which will build the approval steps for the compensation records.

scTypeFilterFormulaName
string or null <= 255 characters

A name of the logic which will be used to filter the available Compensation Condition Types, while the user is adding a new item to the Compensation Plan document.

typedId
string
uniqueName
string <= 255 characters

A unique identification of this type. This name will be used in the Compensation Plan document as a foreign key, to identify the compensation header type used.

userGroupEdit
string or null <= 255 characters
userGroupViewDetails
string or null <= 255 characters
version
integer
workflowFormulaName
string or null <= 255 characters

A name of the approval workflow logic, which will build the approval steps for the Compensation Plan document.

(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
(integer or null) or (string or null) or (number or null) or (string or null) or (string or null) or (string or null)
status
integer
Request samples
application/json
{
  • "data": {
    • "headerFormulaName": "SC_CompensationHeader2",
    • "typedId": "54.COHT"
    },
  • "oldValues": {
    • "version": 0,
    • "typedId": "54.COHT",
    • "uniqueName": "The Test Compensation Type 2",
    • "headerFormulaName": "SC_CompensationHeader",
    • "workflowFormulaName": "SC_SalesCompensationAgreement",
    • "configuration": { },
    • "scRecordWorkflowFormulaName": "SC_AgreementRecord",
    • "createDate": "2022-06-17T10:14:15",
    • "createdBy": 1687,
    • "lastUpdateDate": "2022-06-17T10:14:15",
    • "lastUpdateBy": 1687
    },
  • "operationType": "update",
  • "textMatchStyle": "exact"
}
Response samples
application/json
{
  • "response": {
    • "node": "string",
    • "data": [
      • {
        • "configuration": {
          },
        • "createDate": "2019-08-24T14:15:22Z",
        • "createdBy": 0,
        • "headerFormulaName": "string",
        • "label": "string",
        • "lastUpdateBy": 0,
        • "lastUpdateDate": "2019-08-24T14:15:22Z",
        • "scRecordWorkflowFormulaName": "string",
        • "scTypeFilterFormulaName": "string",
        • "typedId": "string",
        • "uniqueName": "string",
        • "userGroupEdit": "string",
        • "userGroupViewDetails": "string",
        • "version": 0,
        • "workflowFormulaName": "string",
        • "attribute1": "string",
        • "attribute2": "string",
        • "attribute3": "string",
        • "attribute4": "string",
        • "attribute5": "string",
        • "attribute6": "string",
        • "attribute7": "string",
        • "attribute8": "string",
        • "attribute9": "string",
        • "attribute10": "string",
        • "attribute11": "string",
        • "attribute12": "string",
        • "attribute13": "string",
        • "attribute14": "string",
        • "attribute15": "string",
        • "attribute16": "string",
        • "attribute17": "string",
        • "attribute18": "string",
        • "attribute19": "string",
        • "attribute20": "string",
        • "attribute21": "string",
        • "attribute22": "string",
        • "attribute23": "string",
        • "attribute24": "string",
        • "attribute25": "string",
        • "attribute26": "string",
        • "attribute27": "string",
        • "attribute28": "string",
        • "attribute29": "string",
        • "attribute30": "string"
        }
      ],
    • "status": 0
    }
}