kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
2.1 KiB
68 lines
2.1 KiB
3 years ago
|
# /api/v3/time_entries/{id}/form
|
||
3 years ago
|
---
|
||
|
post:
|
||
3 years ago
|
parameters:
|
||
|
- description: Time entries activity id
|
||
|
example: '1'
|
||
|
in: path
|
||
|
name: id
|
||
|
required: true
|
||
|
schema:
|
||
|
type: integer
|
||
3 years ago
|
responses:
|
||
|
'200':
|
||
|
description: OK
|
||
|
headers: {}
|
||
|
'400':
|
||
|
content:
|
||
|
application/hal+json:
|
||
|
examples:
|
||
|
response:
|
||
|
value:
|
||
|
_type: Error
|
||
|
errorIdentifier: urn:openproject-org:api:v3:errors:InvalidRequestBody
|
||
|
message: The request body was not a single JSON object.
|
||
|
description: Occurs when the client did not send a valid JSON object in the
|
||
|
request body.
|
||
|
headers: {}
|
||
|
'403':
|
||
|
content:
|
||
|
application/hal+json:
|
||
|
examples:
|
||
|
response:
|
||
|
value:
|
||
|
_type: Error
|
||
|
errorIdentifier: urn:openproject-org:api:v3:errors:MissingPermission
|
||
|
message: You are not authorized to access this resource.
|
||
|
description: |-
|
||
|
Returned if the client does not have sufficient permissions to edit the time entry.
|
||
|
|
||
|
**Required permission:** *edit time entries* for every time entry of a project, or *edit own time entries* for time entries belonging to the user.
|
||
|
headers: {}
|
||
|
'404':
|
||
|
content:
|
||
|
application/hal+json:
|
||
|
examples:
|
||
|
response:
|
||
|
value:
|
||
|
_type: Error
|
||
|
errorIdentifier: urn:openproject-org:api:v3:errors:NotFound
|
||
|
message: The requested resource could not be found.
|
||
|
description: |-
|
||
|
Returned if the time entry does not exist or if the client does not have sufficient permissions to view it.
|
||
|
|
||
|
**Required permission** `view time entries` in the project the time entry is assigned to or `view own time entries` for time entries belonging to the user
|
||
|
headers: {}
|
||
|
tags:
|
||
|
- Time Entries
|
||
|
description: ''
|
||
|
operationId: Time_entry_update_form
|
||
|
requestBody:
|
||
|
content:
|
||
|
application/json:
|
||
|
schema:
|
||
|
type: integer
|
||
3 years ago
|
description: Time entries activity id
|
||
3 years ago
|
required: true
|
||
|
summary: Time entry update form
|