PATCH
/
matters
/
{matterId}
/
fees
/
{id}
curl --request PATCH \
  --url https://api.smokeball.com/matters/{matterId}/fees/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json-patch+json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "updatedByUserId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8",
  "staffId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8",
  "invoiceId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8",
  "activityCode": "PRT",
  "feeType": 0,
  "feeDate": "2022-07-01",
  "subject": "Review contract",
  "description": "Print documents",
  "duration": 60,
  "durationWorked": 50,
  "rate": 350,
  "tax": 35,
  "taxInclusive": false,
  "finalized": false,
  "isWrittenOff": false,
  "isBillable": false,
  "isInvoicedExternally": false,
  "sourceItems": [
    {
      "description": "Print document",
      "duration": 5,
      "isBillable": false
    }
  ],
  "createdFromActivityId": "504b9f77-20c7-4dee-8227-d3007c8f6cea"
}'
{
  "id": "<string>",
  "href": "<string>",
  "relation": "<string>",
  "method": "GET"
}

Authorizations

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

Path Parameters

matterId
string
required
id
string
required

Body

Response

202
application/json

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

The response is of type object.