back

Update Assessment Attributes

Scope: update_assessment_attributes
App Type: Agency
Authorization Type: Access token
Url: v3/assessments/{caId}/attributes/{attrId}/subgroups/{id}?lang={lang}
HTTP Method: PUT

Request Information

Parameters

application/json

{
  "subGroup": {
    "id": "sample string 1",
    "display": "sample string 2",
    "items": [
      {
        "value": "sample string 1",
        "valueId": "sample string 2",
        "id": "sample string 3",
        "display": "sample string 4",
        "name": "sample string 5",
        "type": "sample string 6",
        "enumerations": [
          {
            "id": "sample string 1",
            "display": "sample string 2"
          }
        ],
        "defaultValue": "sample string 7",
        "minValue": 8.1,
        "maxValue": 9.1,
        "inputRequired": true,
        "security": "sample string 11",
        "readonly": true,
        "unitOfMeasurement": "sample string 13",
        "isDrillDown": true,
        "isDrillDownRoot": true,
        "drillDownId": "sample string 16",
        "childIds": [
          "sample string 1"
        ],
        "entityState": "sample string 17"
      }
    ],
    "security": "sample string 3",
    "drillDownSeries": [
      {
        "parent": {
          "id": "sample string 1",
          "type": "sample string 2",
          "enumerations": [
            {
              "id": "sample string 1",
              "display": "sample string 2",
              "enumerationType": "sample string 3",
              "description": "sample string 4",
              "childLinks": [
                {
                  "link": "sample string 1"
                }
              ]
            }
          ]
        },
        "child": {
          "id": "sample string 1",
          "type": "sample string 2",
          "enumerations": [
            {
              "id": "sample string 1",
              "display": "sample string 2",
              "enumerationType": "sample string 3",
              "description": "sample string 4",
              "link": "sample string 5"
            }
          ]
        }
      }
    ],
    "entityState": "sample string 4"
  }
}

Response Information

application/json

{
  "attributes": [
    {
      "id": "sample string 1",
      "subGroups": [
        {
          "id": "sample string 1",
          "items": [
            {
              "id": "sample string 1",
              "value": "sample string 2",
              "valueId": "sample string 3"
            }
          ]
        }
      ]
    }
  ],
  "page": {
    "totalRows": 1,
    "hasMore": true
  }
}