Skip to main content
POST
/
api
/
v1
/
activity-type
Create a new activity type
curl --request POST \
  --url https://api.raul.ugps.io/api/v1/activity-type \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Nota interna"
}
'
{
  "id": 123,
  "name": "<string>",
  "is_active": true
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
name
string
required

Name of the activity type

Maximum string length: 100
Example:

"Nota interna"

Response

Activity type created successfully

id
number
required

ID del tipo de actividad

name
string
required

Nombre del tipo de actividad

is_active
boolean
required

Estado activo/inactivo