POST/projects/api/v3/skills/{id}/people.json
Assign a skill.
Assign a skill to one or more users.
Path Params
- Name
id- Type
- integer
- required
- Description
Body Params
UsersRequest represents a request with users to be assigned or unassigned.
- Name
people- Type
- array
- Description
- People is the per-person form of UserIDs: the same set of people, each carrying the level they are to hold for the skill. It is an alternative to UserIDs and a request naming both is rejected; an absent list means the people are taken from UserIDs instead.
- Name
userIds- Type
- array
- Description
- UserIDs names the people as plain ids, without a level each. It is an alternative to People and a request carrying both is rejected, so it is not required; on the replace-set path an absent list is meaningful in its own right, and unassigns everyone.
Responses
- Code
- 201
- Type
- object
- Schema
- Description
- 201 Created
Response contains information about a specific skill.
- 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.
201 Created
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,
"inOwnerCompany": true,
"isAdmin": true,
"isClientUser": true,
"isPlaceholderResource": true,
"isServiceAccount": true,
"jobRoles": [
{
"id": 0,
"meta": {},
"type": "string"
}
],
"lastLogin": "string",
"lastName": "string",
"lengthOfDay": 0,
"linkedClientPortalCompany": {
"id": 0,
"meta": {},
"type": "string"
},
"linkedClientPortalCompanyId": 0,
"loginTarget": "string",
"meta": {},
"siteOwner": true,
"skills": [
{
"id": 0,
"meta": {
"level": 0
},
"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
}
}
},
"skill": {
"createdAt": "string",
"createdByUser": 0,
"deletedAt": "string",
"deletedByUser": 0,
"id": 0,
"name": "string",
"peopleCount": 0,
"updatedAt": "string",
"updatedByUser": 0,
"users": [
{
"id": 0,
"meta": {
"level": 0
},
"type": "string"
}
]
}
}