application/json
PATCH
/journal-entry/summary/{id}/
cURL (application/json)
curl \
--request PATCH 'http://api.example.com/journal-entry/summary/{id}/' \
--header "Content-Type: application/json" \
--data '{"title":"string","content":"string","date":"2025-05-04T09:42:00Z","category":42}'
curl \
--request PATCH 'http://api.example.com/journal-entry/summary/{id}/' \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'title=string&content=string&date=2025-05-04T09%3A42%3A00Z&category=42'
curl \
--request PATCH 'http://api.example.com/journal-entry/summary/{id}/' \
--header "Content-Type: multipart/form-data" \
--form "title=string" \
--form "content=string" \
--form "date=2025-05-04T09:42:00Z" \
--form "category=42"
Request examples
{
"title": "string",
"content": "string",
"date": "2025-05-04T09:42:00Z",
"category": 42
}
Response examples (200)
{
"id": 42,
"title": "string",
"content": "string",
"date": "2025-05-04T09:42:00Z",
"category": 42
}