ActivityType

Retrieves the collection of ActivityType resources.

get

Retrieves the collection of ActivityType resources.

Authorizations
Responses
200

ActivityType collection

get
GET /activity_types HTTP/1.1
Host: api
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

ActivityType collection

{
  "hydra:member": [
    {
      "@id": "text",
      "@type": "text",
      "@context": "text",
      "id": 1,
      "name": "text",
      "enablesReverseCharge": true,
      "taxRate": 1
    }
  ],
  "hydra:totalItems": 1,
  "hydra:view": {
    "@id": "string",
    "type": "string",
    "hydra:first": "string",
    "hydra:last": "string",
    "hydra:previous": "string",
    "hydra:next": "string"
  },
  "hydra:search": {
    "@type": "text",
    "hydra:template": "text",
    "hydra:variableRepresentation": "text",
    "hydra:mapping": [
      {
        "@type": "text",
        "variable": "text",
        "property": "text",
        "required": true
      }
    ]
  }
}

Retrieves a ActivityType resource.

get

Retrieves a ActivityType resource.

Authorizations
Path parameters
idstringRequired

Resource identifier

Responses
200

ActivityType resource

get
GET /activity_types/{id} HTTP/1.1
Host: api
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "@id": "text",
  "@type": "text",
  "@context": "text",
  "id": 1,
  "name": "text",
  "enablesReverseCharge": true,
  "taxRate": 1
}

Was this helpful?