POST/projects/api/v3/time/approvals/:approvalId/reopen.json
Reopen a time approval back to in review
Path Parameters:
- approvalId: The ID of the time approval to reopen
Responses
- Code
- 200
- Type
- object
- Schema
- Description
- 200 OK
Response contains information about a time approvals.
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 403
- Type
- object
- Schema
- Description
- 403 Forbidden
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 404
- Type
- object
- Schema
- Description
- 404 Not Found
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 409
- Type
- object
- Schema
- Description
- 409 Conflict
ErrorResponse defines how []Error should be marshaled to JSON.
200 OK
Response
{
"included": {
"users": {
"additionalProp": {
"avatarUrl": "string",
"canAccessPortfolio": true,
"canAddProjects": true,
"canManagePortfolio": true,
"company": {
"id": 0,
"meta": {},
"type": "string"
},
"companyId": 0,
"companyRoleId": 0,
"createdAt": "string",
"createdBy": {
"id": 0,
"meta": {},
"type": "string"
},
"deleted": true,
"email": "string",
"firstName": "string",
"id": 0,
"isAdmin": true,
"isClientUser": true,
"isPlaceholderResource": true,
"isServiceAccount": true,
"jobRoles": [
{
"id": 0,
"meta": {},
"type": "string"
}
],
"lastLogin": "string",
"lastName": "string",
"lengthOfDay": 0,
"meta": {},
"skills": [
{
"id": 0,
"meta": {},
"type": "string"
}
],
"teams": [
{
"id": 0,
"meta": {},
"type": "string"
}
],
"timezone": "string",
"title": "string",
"type": "string",
"updatedAt": "string",
"updatedBy": {
"id": 0,
"meta": {},
"type": "string"
},
"userCost": 0,
"userRate": 0,
"userRates": {
"additionalProp": {
"amount": 0,
"currency": {
"id": 0,
"meta": {},
"type": "string"
}
}
},
"workingHour": {
"id": 0,
"meta": {},
"type": "string"
},
"workingHoursId": 0
}
}
},
"timeApproval": {
"approvedAt": "string",
"approvedBy": {
"id": 0,
"meta": {},
"type": "string"
},
"changesRequested": {
"description": "string",
"requestedAt": "string",
"requestedBy": {
"id": 0,
"meta": {},
"type": "string"
}
},
"createdAt": "string",
"createdBy": {
"id": 0,
"meta": {},
"type": "string"
},
"endDate": "string",
"hasChanges": true,
"id": 0,
"minutes": {
"billable": 0,
"estimated": 0,
"nonBillable": 0,
"nonBilled": 0,
"total": 0
},
"startDate": "string",
"status": 0,
"updatedAt": "string",
"updatedBy": {
"id": 0,
"meta": {},
"type": "string"
},
"weekDate": {
"Week": 0,
"Year": 0
},
"workingHours": 0
}
}