Method | URI | Action |
---|---|---|
GET |
/document-request-types |
index |
GET |
/document-request-types/{id} |
show |
POST |
/document-request-types |
store |
PATCH |
/document-request-types/{id} |
update |
DELETE |
/document-request-types/{id} |
delete |
{
"id": 1,
"name": "Contenido Programatico",
"enabled": true,
"updated_at": "2020-06-11 02:37:10",
"created_at": "2020-06-11 02:37:10"
}
GET /document-request-types
admin
Filter | Description |
---|---|
search=string |
Busca a traves de name |
enabled=bool |
Obtiene los habilitados |
200
[
{
// DocumentRequestType
}
]
POST /document-request-types
admin
{
"name": "required|string",
"enabled": "required|boolean"
}
201
{
// DocumentRequestType
}
PATCH /document-request-types/{id}
admin
{
"name": "string",
"enabled": "boolean"
}
200
{
// DocumentRequestType
}
DELETE /document-request-types/{id}
admin
204
No Content