Beispielanfrage
PATCH https://api.jupiter-erp.com/api/account/comments/example-id
Code
curl -X PATCH 'https://api.jupiter-erp.com/api/account/comments/example-id' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"text": "string"
}'Parameter
| Name | In | Pflicht | Beschreibung |
|---|---|---|---|
| id | path | ja | — |
Request Body
Optional
ModellUpdateCommentRequest
| Feld | Typ | Beschreibung |
|---|---|---|
| text* | string | HTML |
Beispiel Request
{
"text": "string"
}Antworten
200Ok
ModellComment
| Feld | Typ | Beschreibung | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| created_at | string (date-time) | Creation timestamp in ISO 8601 format. | |||||||||||||||||||||
| entity | object |
| |||||||||||||||||||||
| entity_id | integer | — | |||||||||||||||||||||
| entity_type | string | string
| |||||||||||||||||||||
| id* | integer | — | |||||||||||||||||||||
| text* | string | HTML | |||||||||||||||||||||
| updated_at | string (date-time) | Last update timestamp in ISO 8601 format. | |||||||||||||||||||||
| uploads | object[] | array Elemente
| |||||||||||||||||||||
| user | object |
| |||||||||||||||||||||
| user_id | integer | — |
Beispiel Response
{
"id": 0,
"user_id": 0,
"entity_type": "Contact",
"entity_id": 0,
"user": {
"name": "string",
"image_url": "string"
},
"entity": {
"id": 0,
"name": "string"
},
"text": "string"
}Comments