# ActivityType

## Retrieves the collection of ActivityType resources.

> Retrieves the collection of ActivityType resources.

```json
{"openapi":"3.0.0","info":{"title":"Converia API","version":"3.5.0"},"servers":[{"url":"/","description":""}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"ActivityType.ActivityTypeDTO.jsonld-activity-type.read_translation":{"type":"object","description":"ActivityType","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http://www.w3.org/ns/hydra/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"description":"The unique identifier for the activity type","type":"integer"},"name":{"description":"The name of the activity type","type":"string"},"enablesReverseCharge":{"description":"Weather or not the activity type enables reverse charge","type":"boolean"},"taxRate":{"description":"The rate of the tax entity","type":"number"}}},"ActivityType.ActivityTypeDTO-activity-type.read_translation":{"type":"object","description":"ActivityType","properties":{"id":{"description":"The unique identifier for the activity type","type":"integer"},"name":{"description":"The name of the activity type","type":"string"},"enablesReverseCharge":{"description":"Weather or not the activity type enables reverse charge","type":"boolean"},"taxRate":{"description":"The rate of the tax entity","type":"number"}}}}},"paths":{"/api/activity_types":{"get":{"operationId":"getActivityTypeCollection","tags":["ActivityType"],"responses":{"200":{"description":"ActivityType collection","content":{"application/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#/components/schemas/ActivityType.ActivityTypeDTO.jsonld-activity-type.read_translation"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text/html":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ActivityType.ActivityTypeDTO-activity-type.read_translation"}}}}}},"summary":"Retrieves the collection of ActivityType resources.","description":"Retrieves the collection of ActivityType resources.","parameters":[],"deprecated":false}}}}
```

## Retrieves a ActivityType resource.

> Retrieves a ActivityType resource.

```json
{"openapi":"3.0.0","info":{"title":"Converia API","version":"3.5.0"},"servers":[{"url":"/","description":""}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"ActivityType.ActivityTypeDTO.jsonld-activity-type.read_translation":{"type":"object","description":"ActivityType","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http://www.w3.org/ns/hydra/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"description":"The unique identifier for the activity type","type":"integer"},"name":{"description":"The name of the activity type","type":"string"},"enablesReverseCharge":{"description":"Weather or not the activity type enables reverse charge","type":"boolean"},"taxRate":{"description":"The rate of the tax entity","type":"number"}}},"ActivityType.ActivityTypeDTO-activity-type.read_translation":{"type":"object","description":"ActivityType","properties":{"id":{"description":"The unique identifier for the activity type","type":"integer"},"name":{"description":"The name of the activity type","type":"string"},"enablesReverseCharge":{"description":"Weather or not the activity type enables reverse charge","type":"boolean"},"taxRate":{"description":"The rate of the tax entity","type":"number"}}}}},"paths":{"/api/activity_types/{id}":{"get":{"operationId":"getActivityTypeItem","tags":["ActivityType"],"responses":{"200":{"description":"ActivityType resource","content":{"application/ld+json":{"schema":{"$ref":"#/components/schemas/ActivityType.ActivityTypeDTO.jsonld-activity-type.read_translation"}},"text/html":{"schema":{"$ref":"#/components/schemas/ActivityType.ActivityTypeDTO-activity-type.read_translation"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a ActivityType resource.","description":"Retrieves a ActivityType resource.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false}}}}
```
