GET
/
activitycodes
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>"
  }
}

Authorizations

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

Query Parameters

Offset
integer
Required range: 0 <= x <= 2147483647
Limit
integer
Required range: 1 <= x <= 500
UpdatedSince
integer

Returns expenses updated since a specified time (.net ticks representation of the UTC datetime).

Response

200 - application/json
When request is successful. Returns a list of 'ActivityCode' objects.
id
string | null
href
string | null
relation
string | null
method
string | null
default:GET
self
object
value
object[] | null
offset
integer | null
limit
integer | null
size
integer
first
object
previous
object
next
object
last
object