Перейти до основного вмісту
PUT
/
v1
/
roles
Оновити роль
curl --request PUT \
  --url https://api.example.com/v1/roles \
  --header 'Content-Type: application/json-patch+json' \
  --data '
{
  "id": 123,
  "name": "<string>",
  "users": [
    {
      "id": 123,
      "photoFilename": "<string>",
      "name": "<string>",
      "email": "<string>",
      "role": "<unknown>",
      "userType": {
        "id": "<string>"
      },
      "languageCode": "<string>",
      "timeZone": "<string>",
      "timeZoneOffset": 123,
      "acceptedTerms": true,
      "isSubscribedToNewsletter": true,
      "isDisabled": true,
      "tickets": [
        {
          "id": "<string>",
          "user": "<unknown>",
          "scopeDataset": {
            "id": 123,
            "name": "<string>",
            "isDisabled": true,
            "position": 123,
            "path": "<string>",
            "states": [
              {
                "id": 123,
                "dataset": "<unknown>",
                "name": "<string>",
                "color": 123,
                "position": 123
              }
            ],
            "properties": [
              {
                "id": 123,
                "dataset": "<unknown>",
                "propertyType": {
                  "id": "<string>",
                  "isAutomatic": true,
                  "isPlural": true,
                  "isSortable": true,
                  "position": 123
                },
                "name": "<string>",
                "isUsedAsTitle": true,
                "isRequired": true,
                "parameters": "<string>",
                "position": 123,
                "options": [
                  {
                    "id": 123,
                    "property": "<unknown>",
                    "text": "<string>",
                    "color": 123
                  }
                ]
              }
            ],
            "representations": [
              {
                "id": 123,
                "dashboard": {
                  "id": 123,
                  "name": "<string>",
                  "isDisabled": true,
                  "position": 123,
                  "path": "<string>",
                  "representations": "<array>"
                },
                "dataset": "<unknown>",
                "representationType": {
                  "id": "<string>",
                  "isAggregated": true,
                  "position": 123
                },
                "name": "<string>",
                "parameters": "<string>",
                "position": 123
              }
            ]
          },
          "scopeRecord": {
            "id": 123,
            "dataset": {
              "id": 123,
              "name": "<string>",
              "isDisabled": true,
              "position": 123,
              "path": "<string>",
              "states": [
                {
                  "id": 123,
                  "dataset": "<unknown>",
                  "name": "<string>",
                  "color": 123,
                  "position": 123
                }
              ],
              "properties": [
                {
                  "id": 123,
                  "dataset": "<unknown>",
                  "propertyType": {
                    "id": "<string>",
                    "isAutomatic": true,
                    "isPlural": true,
                    "isSortable": true,
                    "position": 123
                  },
                  "name": "<string>",
                  "isUsedAsTitle": true,
                  "isRequired": true,
                  "parameters": "<string>",
                  "position": 123,
                  "options": [
                    {
                      "id": 123,
                      "property": "<unknown>",
                      "text": "<string>",
                      "color": 123
                    }
                  ]
                }
              ],
              "representations": [
                {
                  "id": 123,
                  "dashboard": {
                    "id": 123,
                    "name": "<string>",
                    "isDisabled": true,
                    "position": 123,
                    "path": "<string>",
                    "representations": "<array>"
                  },
                  "dataset": "<unknown>",
                  "representationType": {
                    "id": "<string>",
                    "isAggregated": true,
                    "position": 123
                  },
                  "name": "<string>",
                  "parameters": "<string>",
                  "position": 123
                }
              ]
            },
            "state": {
              "id": 123,
              "dataset": "<unknown>",
              "name": "<string>",
              "color": 123,
              "position": 123
            },
            "archived": "2023-11-07T05:31:56Z",
            "removed": "2023-11-07T05:31:56Z",
            "datums": [
              {
                "id": 123,
                "record": "<unknown>",
                "property": {
                  "id": 123,
                  "dataset": "<unknown>",
                  "propertyType": {
                    "id": "<string>",
                    "isAutomatic": true,
                    "isPlural": true,
                    "isSortable": true,
                    "position": 123
                  },
                  "name": "<string>",
                  "isUsedAsTitle": true,
                  "isRequired": true,
                  "parameters": "<string>",
                  "position": 123,
                  "options": [
                    {
                      "id": 123,
                      "property": "<unknown>",
                      "text": "<string>",
                      "color": 123
                    }
                  ]
                },
                "optionValue": {
                  "id": 123,
                  "property": "<unknown>",
                  "text": "<string>",
                  "color": 123
                },
                "userValue": "<unknown>",
                "recordValue": "<unknown>",
                "integerValue": 123,
                "decimalValue": 123,
                "stringValue": "<string>",
                "dateTimeValue": "2023-11-07T05:31:56Z"
              }
            ],
            "metadatums": [
              {
                "id": 123,
                "record": "<unknown>",
                "representation": {
                  "id": 123,
                  "dashboard": {
                    "id": 123,
                    "name": "<string>",
                    "isDisabled": true,
                    "position": 123,
                    "path": "<string>",
                    "representations": "<array>"
                  },
                  "dataset": "<unknown>",
                  "representationType": {
                    "id": "<string>",
                    "isAggregated": true,
                    "position": 123
                  },
                  "name": "<string>",
                  "parameters": "<string>",
                  "position": 123
                },
                "recordValue": "<unknown>",
                "decimalValue": 123
              }
            ],
            "events": [
              {
                "id": 123,
                "record": "<unknown>",
                "user": "<unknown>",
                "eventType": {
                  "id": "<string>"
                },
                "created": "2023-11-07T05:31:56Z",
                "oldState": {
                  "id": 123,
                  "dataset": "<unknown>",
                  "name": "<string>",
                  "color": 123,
                  "position": 123
                },
                "newState": {
                  "id": 123,
                  "dataset": "<unknown>",
                  "name": "<string>",
                  "color": 123,
                  "position": 123
                },
                "property": {
                  "id": 123,
                  "dataset": "<unknown>",
                  "propertyType": {
                    "id": "<string>",
                    "isAutomatic": true,
                    "isPlural": true,
                    "isSortable": true,
                    "position": 123
                  },
                  "name": "<string>",
                  "isUsedAsTitle": true,
                  "isRequired": true,
                  "parameters": "<string>",
                  "position": 123,
                  "options": [
                    {
                      "id": 123,
                      "property": "<unknown>",
                      "text": "<string>",
                      "color": 123
                    }
                  ]
                },
                "oldOptionValue": {
                  "id": 123,
                  "property": "<unknown>",
                  "text": "<string>",
                  "color": 123
                },
                "oldUserValue": "<unknown>",
                "oldRecordValue": "<unknown>",
                "oldIntegerValue": 123,
                "oldDecimalValue": 123,
                "oldStringValue": "<string>",
                "oldDateTimeValue": "2023-11-07T05:31:56Z",
                "newOptionValue": {
                  "id": 123,
                  "property": "<unknown>",
                  "text": "<string>",
                  "color": 123
                },
                "newUserValue": "<unknown>",
                "newRecordValue": "<unknown>",
                "newIntegerValue": 123,
                "newDecimalValue": 123,
                "newStringValue": "<string>",
                "newDateTimeValue": "2023-11-07T05:31:56Z"
              }
            ],
            "transitions": [
              {
                "id": 123,
                "record": "<unknown>",
                "oldState": {
                  "id": 123,
                  "dataset": "<unknown>",
                  "name": "<string>",
                  "color": 123,
                  "position": 123
                },
                "timestamp": "2023-11-07T05:31:56Z"
              }
            ]
          },
          "redirectUrl": "<string>",
          "created": "2023-11-07T05:31:56Z",
          "expires": "2023-11-07T05:31:56Z",
          "isSingleUse": true
        }
      ],
      "privileges": [
        {
          "id": 123,
          "user": "<unknown>",
          "dashboard": {
            "id": 123,
            "name": "<string>",
            "isDisabled": true,
            "position": 123,
            "path": "<string>",
            "representations": "<array>"
          },
          "dataset": {
            "id": 123,
            "name": "<string>",
            "isDisabled": true,
            "position": 123,
            "path": "<string>",
            "states": [
              {
                "id": 123,
                "dataset": "<unknown>",
                "name": "<string>",
                "color": 123,
                "position": 123
              }
            ],
            "properties": [
              {
                "id": 123,
                "dataset": "<unknown>",
                "propertyType": {
                  "id": "<string>",
                  "isAutomatic": true,
                  "isPlural": true,
                  "isSortable": true,
                  "position": 123
                },
                "name": "<string>",
                "isUsedAsTitle": true,
                "isRequired": true,
                "parameters": "<string>",
                "position": 123,
                "options": [
                  {
                    "id": 123,
                    "property": "<unknown>",
                    "text": "<string>",
                    "color": 123
                  }
                ]
              }
            ],
            "representations": [
              {
                "id": 123,
                "dashboard": {
                  "id": 123,
                  "name": "<string>",
                  "isDisabled": true,
                  "position": 123,
                  "path": "<string>",
                  "representations": "<array>"
                },
                "dataset": "<unknown>",
                "representationType": {
                  "id": "<string>",
                  "isAggregated": true,
                  "position": 123
                },
                "name": "<string>",
                "parameters": "<string>",
                "position": 123
              }
            ]
          }
        }
      ],
      "notificationPreferences": [
        {
          "user": "<unknown>",
          "notificationType": {
            "id": "<string>"
          },
          "notificationMethod": {
            "id": "<string>"
          }
        }
      ],
      "emailChangeTokens": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "newEmail": "<string>",
          "created": "2023-11-07T05:31:56Z"
        }
      ]
    }
  ]
}
'
import requests

url = "https://api.example.com/v1/roles"

payload = {
"id": 123,
"name": "<string>",
"users": [
{
"id": 123,
"photoFilename": "<string>",
"name": "<string>",
"email": "<string>",
"role": "<unknown>",
"userType": { "id": "<string>" },
"languageCode": "<string>",
"timeZone": "<string>",
"timeZoneOffset": 123,
"acceptedTerms": True,
"isSubscribedToNewsletter": True,
"isDisabled": True,
"tickets": [
{
"id": "<string>",
"user": "<unknown>",
"scopeDataset": {
"id": 123,
"name": "<string>",
"isDisabled": True,
"position": 123,
"path": "<string>",
"states": [
{
"id": 123,
"dataset": "<unknown>",
"name": "<string>",
"color": 123,
"position": 123
}
],
"properties": [
{
"id": 123,
"dataset": "<unknown>",
"propertyType": {
"id": "<string>",
"isAutomatic": True,
"isPlural": True,
"isSortable": True,
"position": 123
},
"name": "<string>",
"isUsedAsTitle": True,
"isRequired": True,
"parameters": "<string>",
"position": 123,
"options": [
{
"id": 123,
"property": "<unknown>",
"text": "<string>",
"color": 123
}
]
}
],
"representations": [
{
"id": 123,
"dashboard": {
"id": 123,
"name": "<string>",
"isDisabled": True,
"position": 123,
"path": "<string>",
"representations": "<array>"
},
"dataset": "<unknown>",
"representationType": {
"id": "<string>",
"isAggregated": True,
"position": 123
},
"name": "<string>",
"parameters": "<string>",
"position": 123
}
]
},
"scopeRecord": {
"id": 123,
"dataset": {
"id": 123,
"name": "<string>",
"isDisabled": True,
"position": 123,
"path": "<string>",
"states": [
{
"id": 123,
"dataset": "<unknown>",
"name": "<string>",
"color": 123,
"position": 123
}
],
"properties": [
{
"id": 123,
"dataset": "<unknown>",
"propertyType": {
"id": "<string>",
"isAutomatic": True,
"isPlural": True,
"isSortable": True,
"position": 123
},
"name": "<string>",
"isUsedAsTitle": True,
"isRequired": True,
"parameters": "<string>",
"position": 123,
"options": [
{
"id": 123,
"property": "<unknown>",
"text": "<string>",
"color": 123
}
]
}
],
"representations": [
{
"id": 123,
"dashboard": {
"id": 123,
"name": "<string>",
"isDisabled": True,
"position": 123,
"path": "<string>",
"representations": "<array>"
},
"dataset": "<unknown>",
"representationType": {
"id": "<string>",
"isAggregated": True,
"position": 123
},
"name": "<string>",
"parameters": "<string>",
"position": 123
}
]
},
"state": {
"id": 123,
"dataset": "<unknown>",
"name": "<string>",
"color": 123,
"position": 123
},
"archived": "2023-11-07T05:31:56Z",
"removed": "2023-11-07T05:31:56Z",
"datums": [
{
"id": 123,
"record": "<unknown>",
"property": {
"id": 123,
"dataset": "<unknown>",
"propertyType": {
"id": "<string>",
"isAutomatic": True,
"isPlural": True,
"isSortable": True,
"position": 123
},
"name": "<string>",
"isUsedAsTitle": True,
"isRequired": True,
"parameters": "<string>",
"position": 123,
"options": [
{
"id": 123,
"property": "<unknown>",
"text": "<string>",
"color": 123
}
]
},
"optionValue": {
"id": 123,
"property": "<unknown>",
"text": "<string>",
"color": 123
},
"userValue": "<unknown>",
"recordValue": "<unknown>",
"integerValue": 123,
"decimalValue": 123,
"stringValue": "<string>",
"dateTimeValue": "2023-11-07T05:31:56Z"
}
],
"metadatums": [
{
"id": 123,
"record": "<unknown>",
"representation": {
"id": 123,
"dashboard": {
"id": 123,
"name": "<string>",
"isDisabled": True,
"position": 123,
"path": "<string>",
"representations": "<array>"
},
"dataset": "<unknown>",
"representationType": {
"id": "<string>",
"isAggregated": True,
"position": 123
},
"name": "<string>",
"parameters": "<string>",
"position": 123
},
"recordValue": "<unknown>",
"decimalValue": 123
}
],
"events": [
{
"id": 123,
"record": "<unknown>",
"user": "<unknown>",
"eventType": { "id": "<string>" },
"created": "2023-11-07T05:31:56Z",
"oldState": {
"id": 123,
"dataset": "<unknown>",
"name": "<string>",
"color": 123,
"position": 123
},
"newState": {
"id": 123,
"dataset": "<unknown>",
"name": "<string>",
"color": 123,
"position": 123
},
"property": {
"id": 123,
"dataset": "<unknown>",
"propertyType": {
"id": "<string>",
"isAutomatic": True,
"isPlural": True,
"isSortable": True,
"position": 123
},
"name": "<string>",
"isUsedAsTitle": True,
"isRequired": True,
"parameters": "<string>",
"position": 123,
"options": [
{
"id": 123,
"property": "<unknown>",
"text": "<string>",
"color": 123
}
]
},
"oldOptionValue": {
"id": 123,
"property": "<unknown>",
"text": "<string>",
"color": 123
},
"oldUserValue": "<unknown>",
"oldRecordValue": "<unknown>",
"oldIntegerValue": 123,
"oldDecimalValue": 123,
"oldStringValue": "<string>",
"oldDateTimeValue": "2023-11-07T05:31:56Z",
"newOptionValue": {
"id": 123,
"property": "<unknown>",
"text": "<string>",
"color": 123
},
"newUserValue": "<unknown>",
"newRecordValue": "<unknown>",
"newIntegerValue": 123,
"newDecimalValue": 123,
"newStringValue": "<string>",
"newDateTimeValue": "2023-11-07T05:31:56Z"
}
],
"transitions": [
{
"id": 123,
"record": "<unknown>",
"oldState": {
"id": 123,
"dataset": "<unknown>",
"name": "<string>",
"color": 123,
"position": 123
},
"timestamp": "2023-11-07T05:31:56Z"
}
]
},
"redirectUrl": "<string>",
"created": "2023-11-07T05:31:56Z",
"expires": "2023-11-07T05:31:56Z",
"isSingleUse": True
}
],
"privileges": [
{
"id": 123,
"user": "<unknown>",
"dashboard": {
"id": 123,
"name": "<string>",
"isDisabled": True,
"position": 123,
"path": "<string>",
"representations": "<array>"
},
"dataset": {
"id": 123,
"name": "<string>",
"isDisabled": True,
"position": 123,
"path": "<string>",
"states": [
{
"id": 123,
"dataset": "<unknown>",
"name": "<string>",
"color": 123,
"position": 123
}
],
"properties": [
{
"id": 123,
"dataset": "<unknown>",
"propertyType": {
"id": "<string>",
"isAutomatic": True,
"isPlural": True,
"isSortable": True,
"position": 123
},
"name": "<string>",
"isUsedAsTitle": True,
"isRequired": True,
"parameters": "<string>",
"position": 123,
"options": [
{
"id": 123,
"property": "<unknown>",
"text": "<string>",
"color": 123
}
]
}
],
"representations": [
{
"id": 123,
"dashboard": {
"id": 123,
"name": "<string>",
"isDisabled": True,
"position": 123,
"path": "<string>",
"representations": "<array>"
},
"dataset": "<unknown>",
"representationType": {
"id": "<string>",
"isAggregated": True,
"position": 123
},
"name": "<string>",
"parameters": "<string>",
"position": 123
}
]
}
}
],
"notificationPreferences": [
{
"user": "<unknown>",
"notificationType": { "id": "<string>" },
"notificationMethod": { "id": "<string>" }
}
],
"emailChangeTokens": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"newEmail": "<string>",
"created": "2023-11-07T05:31:56Z"
}
]
}
]
}
headers = {"Content-Type": "application/json-patch+json"}

response = requests.put(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json-patch+json'},
body: JSON.stringify({
id: 123,
name: '<string>',
users: [
{
id: 123,
photoFilename: '<string>',
name: '<string>',
email: '<string>',
role: '<unknown>',
userType: {id: '<string>'},
languageCode: '<string>',
timeZone: '<string>',
timeZoneOffset: 123,
acceptedTerms: true,
isSubscribedToNewsletter: true,
isDisabled: true,
tickets: [
{
id: '<string>',
user: '<unknown>',
scopeDataset: {
id: 123,
name: '<string>',
isDisabled: true,
position: 123,
path: '<string>',
states: [{id: 123, dataset: '<unknown>', name: '<string>', color: 123, position: 123}],
properties: [
{
id: 123,
dataset: '<unknown>',
propertyType: {
id: '<string>',
isAutomatic: true,
isPlural: true,
isSortable: true,
position: 123
},
name: '<string>',
isUsedAsTitle: true,
isRequired: true,
parameters: '<string>',
position: 123,
options: [{id: 123, property: '<unknown>', text: '<string>', color: 123}]
}
],
representations: [
{
id: 123,
dashboard: {
id: 123,
name: '<string>',
isDisabled: true,
position: 123,
path: '<string>',
representations: '<array>'
},
dataset: '<unknown>',
representationType: {id: '<string>', isAggregated: true, position: 123},
name: '<string>',
parameters: '<string>',
position: 123
}
]
},
scopeRecord: {
id: 123,
dataset: {
id: 123,
name: '<string>',
isDisabled: true,
position: 123,
path: '<string>',
states: [{id: 123, dataset: '<unknown>', name: '<string>', color: 123, position: 123}],
properties: [
{
id: 123,
dataset: '<unknown>',
propertyType: {
id: '<string>',
isAutomatic: true,
isPlural: true,
isSortable: true,
position: 123
},
name: '<string>',
isUsedAsTitle: true,
isRequired: true,
parameters: '<string>',
position: 123,
options: [{id: 123, property: '<unknown>', text: '<string>', color: 123}]
}
],
representations: [
{
id: 123,
dashboard: {
id: 123,
name: '<string>',
isDisabled: true,
position: 123,
path: '<string>',
representations: '<array>'
},
dataset: '<unknown>',
representationType: {id: '<string>', isAggregated: true, position: 123},
name: '<string>',
parameters: '<string>',
position: 123
}
]
},
state: {id: 123, dataset: '<unknown>', name: '<string>', color: 123, position: 123},
archived: '2023-11-07T05:31:56Z',
removed: '2023-11-07T05:31:56Z',
datums: [
{
id: 123,
record: '<unknown>',
property: {
id: 123,
dataset: '<unknown>',
propertyType: {
id: '<string>',
isAutomatic: true,
isPlural: true,
isSortable: true,
position: 123
},
name: '<string>',
isUsedAsTitle: true,
isRequired: true,
parameters: '<string>',
position: 123,
options: [{id: 123, property: '<unknown>', text: '<string>', color: 123}]
},
optionValue: {id: 123, property: '<unknown>', text: '<string>', color: 123},
userValue: '<unknown>',
recordValue: '<unknown>',
integerValue: 123,
decimalValue: 123,
stringValue: '<string>',
dateTimeValue: '2023-11-07T05:31:56Z'
}
],
metadatums: [
{
id: 123,
record: '<unknown>',
representation: {
id: 123,
dashboard: {
id: 123,
name: '<string>',
isDisabled: true,
position: 123,
path: '<string>',
representations: '<array>'
},
dataset: '<unknown>',
representationType: {id: '<string>', isAggregated: true, position: 123},
name: '<string>',
parameters: '<string>',
position: 123
},
recordValue: '<unknown>',
decimalValue: 123
}
],
events: [
{
id: 123,
record: '<unknown>',
user: '<unknown>',
eventType: {id: '<string>'},
created: '2023-11-07T05:31:56Z',
oldState: {id: 123, dataset: '<unknown>', name: '<string>', color: 123, position: 123},
newState: {id: 123, dataset: '<unknown>', name: '<string>', color: 123, position: 123},
property: {
id: 123,
dataset: '<unknown>',
propertyType: {
id: '<string>',
isAutomatic: true,
isPlural: true,
isSortable: true,
position: 123
},
name: '<string>',
isUsedAsTitle: true,
isRequired: true,
parameters: '<string>',
position: 123,
options: [{id: 123, property: '<unknown>', text: '<string>', color: 123}]
},
oldOptionValue: {id: 123, property: '<unknown>', text: '<string>', color: 123},
oldUserValue: '<unknown>',
oldRecordValue: '<unknown>',
oldIntegerValue: 123,
oldDecimalValue: 123,
oldStringValue: '<string>',
oldDateTimeValue: '2023-11-07T05:31:56Z',
newOptionValue: {id: 123, property: '<unknown>', text: '<string>', color: 123},
newUserValue: '<unknown>',
newRecordValue: '<unknown>',
newIntegerValue: 123,
newDecimalValue: 123,
newStringValue: '<string>',
newDateTimeValue: '2023-11-07T05:31:56Z'
}
],
transitions: [
{
id: 123,
record: '<unknown>',
oldState: {id: 123, dataset: '<unknown>', name: '<string>', color: 123, position: 123},
timestamp: '2023-11-07T05:31:56Z'
}
]
},
redirectUrl: '<string>',
created: '2023-11-07T05:31:56Z',
expires: '2023-11-07T05:31:56Z',
isSingleUse: true
}
],
privileges: [
{
id: 123,
user: '<unknown>',
dashboard: {
id: 123,
name: '<string>',
isDisabled: true,
position: 123,
path: '<string>',
representations: '<array>'
},
dataset: {
id: 123,
name: '<string>',
isDisabled: true,
position: 123,
path: '<string>',
states: [{id: 123, dataset: '<unknown>', name: '<string>', color: 123, position: 123}],
properties: [
{
id: 123,
dataset: '<unknown>',
propertyType: {
id: '<string>',
isAutomatic: true,
isPlural: true,
isSortable: true,
position: 123
},
name: '<string>',
isUsedAsTitle: true,
isRequired: true,
parameters: '<string>',
position: 123,
options: [{id: 123, property: '<unknown>', text: '<string>', color: 123}]
}
],
representations: [
{
id: 123,
dashboard: {
id: 123,
name: '<string>',
isDisabled: true,
position: 123,
path: '<string>',
representations: '<array>'
},
dataset: '<unknown>',
representationType: {id: '<string>', isAggregated: true, position: 123},
name: '<string>',
parameters: '<string>',
position: 123
}
]
}
}
],
notificationPreferences: [
{
user: '<unknown>',
notificationType: {id: '<string>'},
notificationMethod: {id: '<string>'}
}
],
emailChangeTokens: [
{
id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
newEmail: '<string>',
created: '2023-11-07T05:31:56Z'
}
]
}
]
})
};

fetch('https://api.example.com/v1/roles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.example.com/v1/roles",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "PUT",
  CURLOPT_POSTFIELDS => json_encode([
    'id' => 123,
    'name' => '<string>',
    'users' => [
        [
                'id' => 123,
                'photoFilename' => '<string>',
                'name' => '<string>',
                'email' => '<string>',
                'role' => '<unknown>',
                'userType' => [
                                'id' => '<string>'
                ],
                'languageCode' => '<string>',
                'timeZone' => '<string>',
                'timeZoneOffset' => 123,
                'acceptedTerms' => true,
                'isSubscribedToNewsletter' => true,
                'isDisabled' => true,
                'tickets' => [
                                [
                                                                'id' => '<string>',
                                                                'user' => '<unknown>',
                                                                'scopeDataset' => [
                                                                                                                                'id' => 123,
                                                                                                                                'name' => '<string>',
                                                                                                                                'isDisabled' => true,
                                                                                                                                'position' => 123,
                                                                                                                                'path' => '<string>',
                                                                                                                                'states' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dataset' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'color' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'properties' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dataset' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'propertyType' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isAutomatic' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isPlural' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isSortable' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isUsedAsTitle' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isRequired' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'options' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'property' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'color' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'representations' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dashboard' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isDisabled' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'path' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'representations' => '<array>'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dataset' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'representationType' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isAggregated' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ],
                                                                'scopeRecord' => [
                                                                                                                                'id' => 123,
                                                                                                                                'dataset' => [
                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                'isDisabled' => true,
                                                                                                                                                                                                                                                                'position' => 123,
                                                                                                                                                                                                                                                                'path' => '<string>',
                                                                                                                                                                                                                                                                'states' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dataset' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'color' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'properties' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dataset' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'propertyType' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isAutomatic' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isPlural' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isSortable' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isUsedAsTitle' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isRequired' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'options' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'property' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'color' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'representations' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dashboard' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isDisabled' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'path' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'representations' => '<array>'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dataset' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'representationType' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isAggregated' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'state' => [
                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                'dataset' => '<unknown>',
                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                'color' => 123,
                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                ],
                                                                                                                                'archived' => '2023-11-07T05:31:56Z',
                                                                                                                                'removed' => '2023-11-07T05:31:56Z',
                                                                                                                                'datums' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'record' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'property' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dataset' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'propertyType' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isAutomatic' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isPlural' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isSortable' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isUsedAsTitle' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isRequired' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'options' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'property' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'color' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'optionValue' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'property' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'color' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'userValue' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'recordValue' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'integerValue' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'decimalValue' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'stringValue' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dateTimeValue' => '2023-11-07T05:31:56Z'
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'metadatums' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'record' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'representation' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dashboard' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isDisabled' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'path' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'representations' => '<array>'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dataset' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'representationType' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isAggregated' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'recordValue' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'decimalValue' => 123
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'events' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'record' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'user' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'eventType' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '<string>'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'created' => '2023-11-07T05:31:56Z',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'oldState' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dataset' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'color' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'newState' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dataset' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'color' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'property' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dataset' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'propertyType' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isAutomatic' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isPlural' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isSortable' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isUsedAsTitle' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isRequired' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'options' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'property' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'color' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'oldOptionValue' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'property' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'color' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'oldUserValue' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'oldRecordValue' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'oldIntegerValue' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'oldDecimalValue' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'oldStringValue' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'oldDateTimeValue' => '2023-11-07T05:31:56Z',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'newOptionValue' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'property' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'color' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'newUserValue' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'newRecordValue' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'newIntegerValue' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'newDecimalValue' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'newStringValue' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'newDateTimeValue' => '2023-11-07T05:31:56Z'
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'transitions' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'record' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'oldState' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dataset' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'color' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'timestamp' => '2023-11-07T05:31:56Z'
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ],
                                                                'redirectUrl' => '<string>',
                                                                'created' => '2023-11-07T05:31:56Z',
                                                                'expires' => '2023-11-07T05:31:56Z',
                                                                'isSingleUse' => true
                                ]
                ],
                'privileges' => [
                                [
                                                                'id' => 123,
                                                                'user' => '<unknown>',
                                                                'dashboard' => [
                                                                                                                                'id' => 123,
                                                                                                                                'name' => '<string>',
                                                                                                                                'isDisabled' => true,
                                                                                                                                'position' => 123,
                                                                                                                                'path' => '<string>',
                                                                                                                                'representations' => '<array>'
                                                                ],
                                                                'dataset' => [
                                                                                                                                'id' => 123,
                                                                                                                                'name' => '<string>',
                                                                                                                                'isDisabled' => true,
                                                                                                                                'position' => 123,
                                                                                                                                'path' => '<string>',
                                                                                                                                'states' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dataset' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'color' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'properties' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dataset' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'propertyType' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isAutomatic' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isPlural' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isSortable' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isUsedAsTitle' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isRequired' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'options' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'property' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'text' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'color' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ]
                                                                                                                                ],
                                                                                                                                'representations' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dashboard' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isDisabled' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'path' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'representations' => '<array>'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'dataset' => '<unknown>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'representationType' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'id' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'isAggregated' => true,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'parameters' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'position' => 123
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ]
                ],
                'notificationPreferences' => [
                                [
                                                                'user' => '<unknown>',
                                                                'notificationType' => [
                                                                                                                                'id' => '<string>'
                                                                ],
                                                                'notificationMethod' => [
                                                                                                                                'id' => '<string>'
                                                                ]
                                ]
                ],
                'emailChangeTokens' => [
                                [
                                                                'id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
                                                                'newEmail' => '<string>',
                                                                'created' => '2023-11-07T05:31:56Z'
                                ]
                ]
        ]
    ]
  ]),
  CURLOPT_HTTPHEADER => [
    "Content-Type: application/json-patch+json"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.example.com/v1/roles"

payload := strings.NewReader("{\n \"id\": 123,\n \"name\": \"<string>\",\n \"users\": [\n {\n \"id\": 123,\n \"photoFilename\": \"<string>\",\n \"name\": \"<string>\",\n \"email\": \"<string>\",\n \"role\": \"<unknown>\",\n \"userType\": {\n \"id\": \"<string>\"\n },\n \"languageCode\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"timeZoneOffset\": 123,\n \"acceptedTerms\": true,\n \"isSubscribedToNewsletter\": true,\n \"isDisabled\": true,\n \"tickets\": [\n {\n \"id\": \"<string>\",\n \"user\": \"<unknown>\",\n \"scopeDataset\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"states\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n }\n ],\n \"properties\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"propertyType\": {\n \"id\": \"<string>\",\n \"isAutomatic\": true,\n \"isPlural\": true,\n \"isSortable\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"isUsedAsTitle\": true,\n \"isRequired\": true,\n \"parameters\": \"<string>\",\n \"position\": 123,\n \"options\": [\n {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n }\n ]\n }\n ],\n \"representations\": [\n {\n \"id\": 123,\n \"dashboard\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"representations\": \"<array>\"\n },\n \"dataset\": \"<unknown>\",\n \"representationType\": {\n \"id\": \"<string>\",\n \"isAggregated\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"parameters\": \"<string>\",\n \"position\": 123\n }\n ]\n },\n \"scopeRecord\": {\n \"id\": 123,\n \"dataset\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"states\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n }\n ],\n \"properties\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"propertyType\": {\n \"id\": \"<string>\",\n \"isAutomatic\": true,\n \"isPlural\": true,\n \"isSortable\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"isUsedAsTitle\": true,\n \"isRequired\": true,\n \"parameters\": \"<string>\",\n \"position\": 123,\n \"options\": [\n {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n }\n ]\n }\n ],\n \"representations\": [\n {\n \"id\": 123,\n \"dashboard\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"representations\": \"<array>\"\n },\n \"dataset\": \"<unknown>\",\n \"representationType\": {\n \"id\": \"<string>\",\n \"isAggregated\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"parameters\": \"<string>\",\n \"position\": 123\n }\n ]\n },\n \"state\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n },\n \"archived\": \"2023-11-07T05:31:56Z\",\n \"removed\": \"2023-11-07T05:31:56Z\",\n \"datums\": [\n {\n \"id\": 123,\n \"record\": \"<unknown>\",\n \"property\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"propertyType\": {\n \"id\": \"<string>\",\n \"isAutomatic\": true,\n \"isPlural\": true,\n \"isSortable\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"isUsedAsTitle\": true,\n \"isRequired\": true,\n \"parameters\": \"<string>\",\n \"position\": 123,\n \"options\": [\n {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n }\n ]\n },\n \"optionValue\": {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n },\n \"userValue\": \"<unknown>\",\n \"recordValue\": \"<unknown>\",\n \"integerValue\": 123,\n \"decimalValue\": 123,\n \"stringValue\": \"<string>\",\n \"dateTimeValue\": \"2023-11-07T05:31:56Z\"\n }\n ],\n \"metadatums\": [\n {\n \"id\": 123,\n \"record\": \"<unknown>\",\n \"representation\": {\n \"id\": 123,\n \"dashboard\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"representations\": \"<array>\"\n },\n \"dataset\": \"<unknown>\",\n \"representationType\": {\n \"id\": \"<string>\",\n \"isAggregated\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"parameters\": \"<string>\",\n \"position\": 123\n },\n \"recordValue\": \"<unknown>\",\n \"decimalValue\": 123\n }\n ],\n \"events\": [\n {\n \"id\": 123,\n \"record\": \"<unknown>\",\n \"user\": \"<unknown>\",\n \"eventType\": {\n \"id\": \"<string>\"\n },\n \"created\": \"2023-11-07T05:31:56Z\",\n \"oldState\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n },\n \"newState\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n },\n \"property\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"propertyType\": {\n \"id\": \"<string>\",\n \"isAutomatic\": true,\n \"isPlural\": true,\n \"isSortable\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"isUsedAsTitle\": true,\n \"isRequired\": true,\n \"parameters\": \"<string>\",\n \"position\": 123,\n \"options\": [\n {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n }\n ]\n },\n \"oldOptionValue\": {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n },\n \"oldUserValue\": \"<unknown>\",\n \"oldRecordValue\": \"<unknown>\",\n \"oldIntegerValue\": 123,\n \"oldDecimalValue\": 123,\n \"oldStringValue\": \"<string>\",\n \"oldDateTimeValue\": \"2023-11-07T05:31:56Z\",\n \"newOptionValue\": {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n },\n \"newUserValue\": \"<unknown>\",\n \"newRecordValue\": \"<unknown>\",\n \"newIntegerValue\": 123,\n \"newDecimalValue\": 123,\n \"newStringValue\": \"<string>\",\n \"newDateTimeValue\": \"2023-11-07T05:31:56Z\"\n }\n ],\n \"transitions\": [\n {\n \"id\": 123,\n \"record\": \"<unknown>\",\n \"oldState\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n },\n \"timestamp\": \"2023-11-07T05:31:56Z\"\n }\n ]\n },\n \"redirectUrl\": \"<string>\",\n \"created\": \"2023-11-07T05:31:56Z\",\n \"expires\": \"2023-11-07T05:31:56Z\",\n \"isSingleUse\": true\n }\n ],\n \"privileges\": [\n {\n \"id\": 123,\n \"user\": \"<unknown>\",\n \"dashboard\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"representations\": \"<array>\"\n },\n \"dataset\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"states\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n }\n ],\n \"properties\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"propertyType\": {\n \"id\": \"<string>\",\n \"isAutomatic\": true,\n \"isPlural\": true,\n \"isSortable\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"isUsedAsTitle\": true,\n \"isRequired\": true,\n \"parameters\": \"<string>\",\n \"position\": 123,\n \"options\": [\n {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n }\n ]\n }\n ],\n \"representations\": [\n {\n \"id\": 123,\n \"dashboard\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"representations\": \"<array>\"\n },\n \"dataset\": \"<unknown>\",\n \"representationType\": {\n \"id\": \"<string>\",\n \"isAggregated\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"parameters\": \"<string>\",\n \"position\": 123\n }\n ]\n }\n }\n ],\n \"notificationPreferences\": [\n {\n \"user\": \"<unknown>\",\n \"notificationType\": {\n \"id\": \"<string>\"\n },\n \"notificationMethod\": {\n \"id\": \"<string>\"\n }\n }\n ],\n \"emailChangeTokens\": [\n {\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"newEmail\": \"<string>\",\n \"created\": \"2023-11-07T05:31:56Z\"\n }\n ]\n }\n ]\n}")

req, _ := http.NewRequest("PUT", url, payload)

req.Header.Add("Content-Type", "application/json-patch+json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.put("https://api.example.com/v1/roles")
.header("Content-Type", "application/json-patch+json")
.body("{\n \"id\": 123,\n \"name\": \"<string>\",\n \"users\": [\n {\n \"id\": 123,\n \"photoFilename\": \"<string>\",\n \"name\": \"<string>\",\n \"email\": \"<string>\",\n \"role\": \"<unknown>\",\n \"userType\": {\n \"id\": \"<string>\"\n },\n \"languageCode\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"timeZoneOffset\": 123,\n \"acceptedTerms\": true,\n \"isSubscribedToNewsletter\": true,\n \"isDisabled\": true,\n \"tickets\": [\n {\n \"id\": \"<string>\",\n \"user\": \"<unknown>\",\n \"scopeDataset\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"states\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n }\n ],\n \"properties\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"propertyType\": {\n \"id\": \"<string>\",\n \"isAutomatic\": true,\n \"isPlural\": true,\n \"isSortable\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"isUsedAsTitle\": true,\n \"isRequired\": true,\n \"parameters\": \"<string>\",\n \"position\": 123,\n \"options\": [\n {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n }\n ]\n }\n ],\n \"representations\": [\n {\n \"id\": 123,\n \"dashboard\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"representations\": \"<array>\"\n },\n \"dataset\": \"<unknown>\",\n \"representationType\": {\n \"id\": \"<string>\",\n \"isAggregated\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"parameters\": \"<string>\",\n \"position\": 123\n }\n ]\n },\n \"scopeRecord\": {\n \"id\": 123,\n \"dataset\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"states\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n }\n ],\n \"properties\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"propertyType\": {\n \"id\": \"<string>\",\n \"isAutomatic\": true,\n \"isPlural\": true,\n \"isSortable\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"isUsedAsTitle\": true,\n \"isRequired\": true,\n \"parameters\": \"<string>\",\n \"position\": 123,\n \"options\": [\n {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n }\n ]\n }\n ],\n \"representations\": [\n {\n \"id\": 123,\n \"dashboard\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"representations\": \"<array>\"\n },\n \"dataset\": \"<unknown>\",\n \"representationType\": {\n \"id\": \"<string>\",\n \"isAggregated\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"parameters\": \"<string>\",\n \"position\": 123\n }\n ]\n },\n \"state\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n },\n \"archived\": \"2023-11-07T05:31:56Z\",\n \"removed\": \"2023-11-07T05:31:56Z\",\n \"datums\": [\n {\n \"id\": 123,\n \"record\": \"<unknown>\",\n \"property\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"propertyType\": {\n \"id\": \"<string>\",\n \"isAutomatic\": true,\n \"isPlural\": true,\n \"isSortable\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"isUsedAsTitle\": true,\n \"isRequired\": true,\n \"parameters\": \"<string>\",\n \"position\": 123,\n \"options\": [\n {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n }\n ]\n },\n \"optionValue\": {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n },\n \"userValue\": \"<unknown>\",\n \"recordValue\": \"<unknown>\",\n \"integerValue\": 123,\n \"decimalValue\": 123,\n \"stringValue\": \"<string>\",\n \"dateTimeValue\": \"2023-11-07T05:31:56Z\"\n }\n ],\n \"metadatums\": [\n {\n \"id\": 123,\n \"record\": \"<unknown>\",\n \"representation\": {\n \"id\": 123,\n \"dashboard\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"representations\": \"<array>\"\n },\n \"dataset\": \"<unknown>\",\n \"representationType\": {\n \"id\": \"<string>\",\n \"isAggregated\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"parameters\": \"<string>\",\n \"position\": 123\n },\n \"recordValue\": \"<unknown>\",\n \"decimalValue\": 123\n }\n ],\n \"events\": [\n {\n \"id\": 123,\n \"record\": \"<unknown>\",\n \"user\": \"<unknown>\",\n \"eventType\": {\n \"id\": \"<string>\"\n },\n \"created\": \"2023-11-07T05:31:56Z\",\n \"oldState\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n },\n \"newState\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n },\n \"property\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"propertyType\": {\n \"id\": \"<string>\",\n \"isAutomatic\": true,\n \"isPlural\": true,\n \"isSortable\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"isUsedAsTitle\": true,\n \"isRequired\": true,\n \"parameters\": \"<string>\",\n \"position\": 123,\n \"options\": [\n {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n }\n ]\n },\n \"oldOptionValue\": {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n },\n \"oldUserValue\": \"<unknown>\",\n \"oldRecordValue\": \"<unknown>\",\n \"oldIntegerValue\": 123,\n \"oldDecimalValue\": 123,\n \"oldStringValue\": \"<string>\",\n \"oldDateTimeValue\": \"2023-11-07T05:31:56Z\",\n \"newOptionValue\": {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n },\n \"newUserValue\": \"<unknown>\",\n \"newRecordValue\": \"<unknown>\",\n \"newIntegerValue\": 123,\n \"newDecimalValue\": 123,\n \"newStringValue\": \"<string>\",\n \"newDateTimeValue\": \"2023-11-07T05:31:56Z\"\n }\n ],\n \"transitions\": [\n {\n \"id\": 123,\n \"record\": \"<unknown>\",\n \"oldState\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n },\n \"timestamp\": \"2023-11-07T05:31:56Z\"\n }\n ]\n },\n \"redirectUrl\": \"<string>\",\n \"created\": \"2023-11-07T05:31:56Z\",\n \"expires\": \"2023-11-07T05:31:56Z\",\n \"isSingleUse\": true\n }\n ],\n \"privileges\": [\n {\n \"id\": 123,\n \"user\": \"<unknown>\",\n \"dashboard\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"representations\": \"<array>\"\n },\n \"dataset\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"states\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n }\n ],\n \"properties\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"propertyType\": {\n \"id\": \"<string>\",\n \"isAutomatic\": true,\n \"isPlural\": true,\n \"isSortable\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"isUsedAsTitle\": true,\n \"isRequired\": true,\n \"parameters\": \"<string>\",\n \"position\": 123,\n \"options\": [\n {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n }\n ]\n }\n ],\n \"representations\": [\n {\n \"id\": 123,\n \"dashboard\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"representations\": \"<array>\"\n },\n \"dataset\": \"<unknown>\",\n \"representationType\": {\n \"id\": \"<string>\",\n \"isAggregated\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"parameters\": \"<string>\",\n \"position\": 123\n }\n ]\n }\n }\n ],\n \"notificationPreferences\": [\n {\n \"user\": \"<unknown>\",\n \"notificationType\": {\n \"id\": \"<string>\"\n },\n \"notificationMethod\": {\n \"id\": \"<string>\"\n }\n }\n ],\n \"emailChangeTokens\": [\n {\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"newEmail\": \"<string>\",\n \"created\": \"2023-11-07T05:31:56Z\"\n }\n ]\n }\n ]\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.example.com/v1/roles")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json-patch+json'
request.body = "{\n \"id\": 123,\n \"name\": \"<string>\",\n \"users\": [\n {\n \"id\": 123,\n \"photoFilename\": \"<string>\",\n \"name\": \"<string>\",\n \"email\": \"<string>\",\n \"role\": \"<unknown>\",\n \"userType\": {\n \"id\": \"<string>\"\n },\n \"languageCode\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"timeZoneOffset\": 123,\n \"acceptedTerms\": true,\n \"isSubscribedToNewsletter\": true,\n \"isDisabled\": true,\n \"tickets\": [\n {\n \"id\": \"<string>\",\n \"user\": \"<unknown>\",\n \"scopeDataset\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"states\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n }\n ],\n \"properties\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"propertyType\": {\n \"id\": \"<string>\",\n \"isAutomatic\": true,\n \"isPlural\": true,\n \"isSortable\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"isUsedAsTitle\": true,\n \"isRequired\": true,\n \"parameters\": \"<string>\",\n \"position\": 123,\n \"options\": [\n {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n }\n ]\n }\n ],\n \"representations\": [\n {\n \"id\": 123,\n \"dashboard\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"representations\": \"<array>\"\n },\n \"dataset\": \"<unknown>\",\n \"representationType\": {\n \"id\": \"<string>\",\n \"isAggregated\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"parameters\": \"<string>\",\n \"position\": 123\n }\n ]\n },\n \"scopeRecord\": {\n \"id\": 123,\n \"dataset\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"states\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n }\n ],\n \"properties\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"propertyType\": {\n \"id\": \"<string>\",\n \"isAutomatic\": true,\n \"isPlural\": true,\n \"isSortable\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"isUsedAsTitle\": true,\n \"isRequired\": true,\n \"parameters\": \"<string>\",\n \"position\": 123,\n \"options\": [\n {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n }\n ]\n }\n ],\n \"representations\": [\n {\n \"id\": 123,\n \"dashboard\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"representations\": \"<array>\"\n },\n \"dataset\": \"<unknown>\",\n \"representationType\": {\n \"id\": \"<string>\",\n \"isAggregated\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"parameters\": \"<string>\",\n \"position\": 123\n }\n ]\n },\n \"state\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n },\n \"archived\": \"2023-11-07T05:31:56Z\",\n \"removed\": \"2023-11-07T05:31:56Z\",\n \"datums\": [\n {\n \"id\": 123,\n \"record\": \"<unknown>\",\n \"property\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"propertyType\": {\n \"id\": \"<string>\",\n \"isAutomatic\": true,\n \"isPlural\": true,\n \"isSortable\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"isUsedAsTitle\": true,\n \"isRequired\": true,\n \"parameters\": \"<string>\",\n \"position\": 123,\n \"options\": [\n {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n }\n ]\n },\n \"optionValue\": {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n },\n \"userValue\": \"<unknown>\",\n \"recordValue\": \"<unknown>\",\n \"integerValue\": 123,\n \"decimalValue\": 123,\n \"stringValue\": \"<string>\",\n \"dateTimeValue\": \"2023-11-07T05:31:56Z\"\n }\n ],\n \"metadatums\": [\n {\n \"id\": 123,\n \"record\": \"<unknown>\",\n \"representation\": {\n \"id\": 123,\n \"dashboard\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"representations\": \"<array>\"\n },\n \"dataset\": \"<unknown>\",\n \"representationType\": {\n \"id\": \"<string>\",\n \"isAggregated\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"parameters\": \"<string>\",\n \"position\": 123\n },\n \"recordValue\": \"<unknown>\",\n \"decimalValue\": 123\n }\n ],\n \"events\": [\n {\n \"id\": 123,\n \"record\": \"<unknown>\",\n \"user\": \"<unknown>\",\n \"eventType\": {\n \"id\": \"<string>\"\n },\n \"created\": \"2023-11-07T05:31:56Z\",\n \"oldState\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n },\n \"newState\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n },\n \"property\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"propertyType\": {\n \"id\": \"<string>\",\n \"isAutomatic\": true,\n \"isPlural\": true,\n \"isSortable\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"isUsedAsTitle\": true,\n \"isRequired\": true,\n \"parameters\": \"<string>\",\n \"position\": 123,\n \"options\": [\n {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n }\n ]\n },\n \"oldOptionValue\": {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n },\n \"oldUserValue\": \"<unknown>\",\n \"oldRecordValue\": \"<unknown>\",\n \"oldIntegerValue\": 123,\n \"oldDecimalValue\": 123,\n \"oldStringValue\": \"<string>\",\n \"oldDateTimeValue\": \"2023-11-07T05:31:56Z\",\n \"newOptionValue\": {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n },\n \"newUserValue\": \"<unknown>\",\n \"newRecordValue\": \"<unknown>\",\n \"newIntegerValue\": 123,\n \"newDecimalValue\": 123,\n \"newStringValue\": \"<string>\",\n \"newDateTimeValue\": \"2023-11-07T05:31:56Z\"\n }\n ],\n \"transitions\": [\n {\n \"id\": 123,\n \"record\": \"<unknown>\",\n \"oldState\": {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n },\n \"timestamp\": \"2023-11-07T05:31:56Z\"\n }\n ]\n },\n \"redirectUrl\": \"<string>\",\n \"created\": \"2023-11-07T05:31:56Z\",\n \"expires\": \"2023-11-07T05:31:56Z\",\n \"isSingleUse\": true\n }\n ],\n \"privileges\": [\n {\n \"id\": 123,\n \"user\": \"<unknown>\",\n \"dashboard\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"representations\": \"<array>\"\n },\n \"dataset\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"states\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"name\": \"<string>\",\n \"color\": 123,\n \"position\": 123\n }\n ],\n \"properties\": [\n {\n \"id\": 123,\n \"dataset\": \"<unknown>\",\n \"propertyType\": {\n \"id\": \"<string>\",\n \"isAutomatic\": true,\n \"isPlural\": true,\n \"isSortable\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"isUsedAsTitle\": true,\n \"isRequired\": true,\n \"parameters\": \"<string>\",\n \"position\": 123,\n \"options\": [\n {\n \"id\": 123,\n \"property\": \"<unknown>\",\n \"text\": \"<string>\",\n \"color\": 123\n }\n ]\n }\n ],\n \"representations\": [\n {\n \"id\": 123,\n \"dashboard\": {\n \"id\": 123,\n \"name\": \"<string>\",\n \"isDisabled\": true,\n \"position\": 123,\n \"path\": \"<string>\",\n \"representations\": \"<array>\"\n },\n \"dataset\": \"<unknown>\",\n \"representationType\": {\n \"id\": \"<string>\",\n \"isAggregated\": true,\n \"position\": 123\n },\n \"name\": \"<string>\",\n \"parameters\": \"<string>\",\n \"position\": 123\n }\n ]\n }\n }\n ],\n \"notificationPreferences\": [\n {\n \"user\": \"<unknown>\",\n \"notificationType\": {\n \"id\": \"<string>\"\n },\n \"notificationMethod\": {\n \"id\": \"<string>\"\n }\n }\n ],\n \"emailChangeTokens\": [\n {\n \"id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"newEmail\": \"<string>\",\n \"created\": \"2023-11-07T05:31:56Z\"\n }\n ]\n }\n ]\n}"

response = http.request(request)
puts response.read_body

Тіло

id
integer<int32>
name
string | null
users
object[] | null

Відповідь

200

OK