cURL
curl --request POST \ --url https://api.smokeball.com/matters/{matterId}/layouts \ --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" }
Adds a new layout matter item to a matter.
Matter ID
Layout matter item to add
The body is of type object.
object
When request is accepted. Returns a hypermedia 'Link' object of the layout item to be created.
The response is of type object.