PATCH
/
matters
/
{matterId}
/
layouts
/
{itemId}
curl --request PATCH \
  --url https://api.smokeball.com/matters/{matterId}/layouts/{itemId} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json-patch+json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "itemId": "59791902-6280-471b-bd18-f8439ba3042f",
  "layoutDesignId": "414ab774-adce-4659-b18c-82d1b0e826a0",
  "index": 0,
  "parentItemId": "59791902-6280-471b-bd18-f8439ba3042f",
  "parentId": "Client",
  "parentIndex": 0,
  "name": "Item",
  "description": "Text describing item",
  "values": [
    {
      "key": "<string>",
      "value": "<string>",
      "state": "<any>"
    }
  ],
  "events": [
    {
      "id": "<string>",
      "appointmentId": "<string>"
    }
  ],
  "isRemoved": false
}'
{
  "id": "<string>",
  "href": "<string>",
  "relation": "<string>",
  "method": "GET"
}

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Path Parameters

matterId
string
required

Matter ID

itemId
string
required

Matter item Id

Body

Data to merge into the existing layout

The body is of type object.

Response

202
application/json

When request is accepted. Returns a hypermedia 'Link' object of the layout item to be updated.

The response is of type object.