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
- LayoutDesigns
- LayoutMatterItems
- Matter Billing Configuration
- Matter Items
- Matter Types
- Matters
- Memos
- Plugins
- Referral Types
- Relationships
- Roles
- Staff
- Stages
- Subscription Payments
- Subscription Promotions
- Subscriptions
- Tasks
- Users
- Webhooks
Get activity codes
Returns a list of activity codes.
curl --request GET \
--url https://api.smokeball.com/activitycodes \
--header 'Authorization: <api-key>' \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"value": [
{
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"id": "23d2a4bc-8529-462e-8560-dfbf4fa24e49",
"versionId": "23d2a4bc-8529-462e-8560-dfbf4fa24e49",
"updatedByUserId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8",
"type": 0,
"description": "Contract review",
"code": "CR",
"isBillable": true,
"rateType": 2,
"rate": 23.2,
"quantity": 0.6,
"taxInclusive": true,
"taxExempt": true,
"isDeleted": true
}
],
"offset": 123,
"limit": 123,
"size": 123,
"first": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"previous": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"next": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"last": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
}
}
Query Parameters
0 <= x <= 2147483647
1 <= x <= 500
Returns expenses updated since a specified time (.net ticks representation of the UTC datetime).
Response
Unique identifier of the activity.
"23d2a4bc-8529-462e-8560-dfbf4fa24e49"
Unique version identifier of the activity.
"23d2a4bc-8529-462e-8560-dfbf4fa24e49"
Unique identifier of the user that last updated the activity.
"750eb5c5-ac0b-7d11-4997-e0ce9d8896c8"
Type of the activity.
Possible values: Fixed = '0', Time = '1', Expense = '2'
0
, 1
, 2
0
Description of the activity.
"Contract review"
Code of the activity.
"CR"
True if the activity is billable.
true
The activity rate type.
Possible values: UseDefaultStaffRate = '0', OverrideRateForAllStaff = '1', OverrideRatePerStaff = '2'
0
, 1
, 2
2
Rate of the activity in dollars.
If set, rate type must be OverrideRateForAllStaff
23.2
Quantity of the activity. This is the default value used when creating an expense or time-based fee.
For type 'Expense', this field represents the quantity of the expense in units. For type 'Time', this field represents the duration of in minutes, divided by 100, e.g. for 1 hour duration, quantity is 0.6, which is 60 minutes divided by 100.
Applies only for 'Time' and 'Expense' types. Not applicable for activity type 'Fixed'.
0.6
If true, the amount is GST inclusive, otherwise GST exclusive. Only applicable in AU.
GST inclusive means: Amount exc. GST = Amount - GST, Amount inc. GST = Amount.
GST exclusive means: Amount exc. GST = Amount, Amount inc. GST = Amount + GST.
true
Sets tax rate to 0 for the entry (e.g. expense).
true
True if the activity is deleted.
true
curl --request GET \
--url https://api.smokeball.com/activitycodes \
--header 'Authorization: <api-key>' \
--header 'x-api-key: <api-key>'
{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"value": [
{
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"id": "23d2a4bc-8529-462e-8560-dfbf4fa24e49",
"versionId": "23d2a4bc-8529-462e-8560-dfbf4fa24e49",
"updatedByUserId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8",
"type": 0,
"description": "Contract review",
"code": "CR",
"isBillable": true,
"rateType": 2,
"rate": 23.2,
"quantity": 0.6,
"taxInclusive": true,
"taxExempt": true,
"isDeleted": true
}
],
"offset": 123,
"limit": 123,
"size": 123,
"first": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"previous": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"next": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
},
"last": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "<string>"
}
}