Deploy a Configuration Storage

post/jcsmanager.deploy

Deploys the JSON Configuration Storage (JCS). Can be only used when storageStatus = DRAFT.

Required roles:

  • SUPPORT
  • PM_FORMULA_DESIGNER_MANAGER
  • PB_STRATEGY_DESIGNER_MANAGER
Securitybasic or X-PriceFx-jwt
Request
Request Body schema: application/json
object
typedId
string
object
version
integer
Responses
200

OK

Response Schema: application/json
object
node
string
Array of objects (JsonConfigurationStorage)
Array
lastUpdateByName
string
createdByName
string
updateDate
string <date-time>
typedId
string
lastUpdateDate
string <date-time>
storageStatus
string
Possible values: "DRAFT" "ACTIVE" "SUPERSEDED"
label
string or null <= 255 characters
version
integer
jsonStorage
string

A valid json of any size.

createdBy
integer
name
string <= 255 characters
storageType
string
Possible values: "STRATEGY" "STRATEGY_LOOKUP" "FORMULA" "FORMULA_LOOKUP"
id
integer
supersededBy
integer or null
createDate
string <date-time>
lastUpdateBy
integer
status
integer
Request samples
application/json
{
  • "data": {
    • "typedId": "string"
    },
  • "oldValues": {
    • "version": 0
    }
}
Response samples
application/json
{
  • "response": {
    • "node": "node",
    • "data": [
      • {
        • "version": 1,
        • "typedId": "2.JCS",
        • "name": "JCS 123",
        • "label": null,
        • "createdByName": "ricardo.santos",
        • "lastUpdateByName": "ricardo.santos",
        • "storageStatus": "ACTIVE",
        • "storageType": "STRATEGY",
        • "supersededBy": null,
        • "jsonStorage": "{}",
        • "updateDate": "2024-05-06T11:40:54",
        • "createDate": "2024-05-06T11:37:41",
        • "createdBy": 2147492568,
        • "lastUpdateDate": "2024-05-06T11:40:54",
        • "lastUpdateBy": 2147492568,
        • "id": 2
        }
      ],
    • "status": 0
    }
}