Internal Note Comment
Create Internal Note Comment
POST - /internal_note/pk_internal_note /comment/create/
Description
Description
Rota para criação de comentário em uma nota interna
Name | In | Type | Default | Nullable | Description |
---|---|---|---|---|---|
Authorization |
header | string | None | No | Obtained in Login |
pk_internal_note |
path variables | string | None | No | Obtained in Get Internal Note_ |
Request Body
{
"comment":"seu comentário"
}
Body Schema
{
"comment": string,
}
Response Body
201
400
{
"detail": {
"comment": [
"This field is required."
]
},
"render": 0|
}
Schema
{
"detail": object,
"render": integer
}
500
{
"detail": "Problemas ao cadastrar Comentario",
"error": "descrição do erro interno"
}
Schema
{
"detail": string
"error": string
}
Update Internal Note Comment
PUT - /internal_note/pk_internal_note /comment/pk_ct_comment /update/
Description
Description
Rota para a atualização de um comentário específico.
Name | In | Type | Default | Nullable | Description |
---|---|---|---|---|---|
Authorization |
header | string | None | No | Obtained in Login |
pk_internal_note |
path variables | string | None | No | Obtained in Get Internal Note_ |
pk_ct_comment |
path variables | string | None | No | Obtained in Get Internal Note_ |
Request Body
{
"comment":"seu comentário"
}
Body Schema
{
"comment": string,
}
Response Body
200
400
{
"detail": "Comentario não encontrado",
"render": 1
}
Schema
{
"detail": object,
"render": integer
}
{
"detail": {
"comment": [
"This field is required."
]
},
"render": 0|
}
Schema
{
"detail": object,
"render": integer
}
500
{
"detail": "Problemas ao cadastrar Comentario",
"error": "descrição do erro interno"
}
Schema
{
"detail": string
"error": string
}
Delete Internal Note Comment
DELL - /internal_note/pk_internal_note /comment/pk_ct_comment /delete/
Description
Description
Rota para exclusão de um comentário específico.
Name | In | Type | Default | Nullable | Description |
---|---|---|---|---|---|
Authorization |
header | string | None | No | Obtained in Login |
pk_internal_note |
path variables | string | None | No | Obtained in Get Internal Note_ |
pk_ct_comment |
path variables | string | None | No | Obtained in Get Internal Note_ |
Response Body
204
400
{
"detail": "Comentario não encontrado",
"render": 1
}
Schema
{
"detail": string,
"render": integer
}
500
{
"detail": "Problemas ao deletar Comentario.",
"error": "descrição do erro interno"
}
Schema
{
"detail": string
"error": string
}