Endorsement
Reference for the endorsement endpoints of the Interact REST API.
Note: All endpoints require authentication and an
X-Tenantheader. See Authentication overview and How to get API information. Paths are relative to your intranet's API base URL. An Access line appears where an endpoint needs more than a signed-in user.
Endpoints on this page
GET /api/people/{personId}/expertise/{expertiseId}/endorsement
Get a list of endorsements for a person's expertise
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
personId |
path | integer (int32) | Yes | |
expertiseId |
path | integer (int32) | Yes | |
offset |
query | integer (int32) | No | |
limit |
query | integer (int32) | No |
Responses
| Status | Body |
|---|---|
| 200 | See below |
| 400 |
Response body
{
"StatusCode": "Continue",
"Result": {
"EndorsementId": 0,
"Person": {
"Id": 0,
"AssetId": 0,
"FullName": "string",
"JobTitle": "string"
}
},
"TotalResults": 0,
"Page": 0,
"Size": 0
}| Field | Type |
|---|---|
StatusCode | string |
Result | object |
TotalResults | integer (int32) |
Page | integer (int32) |
Size | integer (int32) |
POST /api/people/{personId}/expertise/{expertiseId}/endorsement
Endorse a person's expertise
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
personId |
path | integer (int32) | Yes | |
expertiseId |
path | integer (int32) | Yes |
Responses
| Status | Body |
|---|---|
| 200 | See below |
| 400 |
Response body
{
"StatusCode": "Continue",
"Result": {
"EndorsementId": 0,
"Person": {
"Id": 0,
"AssetId": 0,
"FullName": "string",
"JobTitle": "string"
}
}
}| Field | Type |
|---|---|
StatusCode | string |
Result | object |
DELETE /api/people/{personId}/expertise/{expertiseId}/endorsement
Delete an endorsement.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
personId |
path | integer (int32) | Yes | |
expertiseId |
path | integer (int32) | Yes |
Responses
| Status | Body |
|---|---|
| 200 | |
| 400 |
Section: REST API