Documentation
- Getting Started
- Authentication
- Making Requests
- Resource Creation
- Searching
- Plugins
- Webhooks
Tutorials
APIs
- Activity Codes
- Archive
- Authorization
- Bank Accounts
- Contacts
- Events
- Expenses
- Fees
- Files
- Firm
- Firm Users
- Folders
- Invoices
- Layout Designs
- Layout Matter Items
- Matter Billing Configuration
- Matter Items
- Matter Types
- Matters
- Memos
- Notifications
- Plugins
- Referral Types
- Relationships
- Roles
- Staff
- Stages
- Subscription Payments
- Subscription Promotions
- Subscriptions
- Tasks
- Users
- Webhooks
Events
Update event
Updates event details.
PUT
/
events
/
{eventId}
curl --request PUT \
--url https://api.smokeball.com/events/{eventId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json-patch+json' \
--header 'x-api-key: <api-key>' \
--data '{
"matterId": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
"subject": "Subject",
"description": "Description",
"location": "Location",
"allDay": false,
"nonBillable": false,
"eventType": 0,
"organizer": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
"attendees": [
"<string>"
],
"externalAttendees": [
"<string>"
],
"startTime": "2000-01-01T20:00:00",
"endTime": "2000-01-01T20:00:00",
"timeZone": "Australia/Sydney",
"additionalData": {}
}'
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
}
Path Parameters
Body
Response
202
application/json
When request is accepted. Returns a hypermedia 'Link' object of the event to be updated.
The response is of type object
.
curl --request PUT \
--url https://api.smokeball.com/events/{eventId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json-patch+json' \
--header 'x-api-key: <api-key>' \
--data '{
"matterId": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
"subject": "Subject",
"description": "Description",
"location": "Location",
"allDay": false,
"nonBillable": false,
"eventType": 0,
"organizer": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
"attendees": [
"<string>"
],
"externalAttendees": [
"<string>"
],
"startTime": "2000-01-01T20:00:00",
"endTime": "2000-01-01T20:00:00",
"timeZone": "Australia/Sydney",
"additionalData": {}
}'
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
}
Assistant
Responses are generated using AI and may contain mistakes.