API ReferenceHr project
Create a project
Creates a new project
AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/hr/projects" \ -H "Content-Type: application/json" \ -d '{ "code": "string", "defaultSprintDurationDays": 0, "name": "string", "status": "PLANNING", "tags": [ "string" ], "teamMemberIds": [ "string" ] }'{
"clientId": "string",
"code": "string",
"color": "string",
"completedTaskCount": 0,
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"defaultSprintDurationDays": 0,
"description": "string",
"endDate": "2019-08-24",
"epicCount": 0,
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"hourlyRate": 0.1,
"id": "string",
"lead": {
"avatar": "string",
"department": "string",
"email": "string",
"fullName": "string",
"id": "string",
"jobTitle": "string"
},
"leadId": "string",
"name": "string",
"picture": {
"blobId": "string",
"created": "2019-08-24T14:15:22Z",
"extension": "string",
"fileSize": 0,
"name": "string",
"type": "IMAGE"
},
"progress": 0.1,
"startDate": "2019-08-24",
"status": "PLANNING",
"tags": [
"string"
],
"taskCount": 0,
"teamMemberIds": [
"string"
],
"teamMembers": [
{
"avatar": "string",
"department": "string",
"email": "string",
"fullName": "string",
"id": "string",
"jobTitle": "string"
}
],
"tenantId": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}