API endpoint that allows action types to be viewed or edited.

GET /sms/cv/api/v1/actiontypes/11/?format=api
HTTP 200 OK
Allow: GET, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/vnd.api+json
Vary: Accept

{
    "data": {
        "type": "ActionType",
        "id": "11",
        "attributes": {
            "term": "Device visit",
            "definition": "A visit is performed at device level. deviceVisit actions can be a followed by further specific actions (deviceMaintenace) or imply a very superficial form of maintenance.",
            "provenance": null,
            "provenance_uri": null,
            "category": null,
            "note": "",
            "status": "ACCEPTED",
            "requested_by_email": null,
            "discussion_url": null
        },
        "relationships": {
            "global_provenance": {
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/actiontypes/11/relationships/global_provenance?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/actiontypes/11/global_provenance/?format=api"
                },
                "data": {
                    "type": "GlobalProvenance",
                    "id": "1"
                }
            },
            "action_category": {
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/actiontypes/11/relationships/action_category?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/actiontypes/11/action_category/?format=api"
                },
                "data": {
                    "type": "ActionCategory",
                    "id": "2"
                }
            },
            "successor": {
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/actiontypes/11/relationships/successor?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/actiontypes/11/successor/?format=api"
                }
            }
        },
        "links": {
            "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/actiontypes/11/?format=api"
        }
    }
}