Add Reporter to Reporters of a Project Helpdesk Settings
Request
POST [[[<REST API URL>|Hub-Rest-Api-URL.html]]]/helpdesksettings/project helpdesk settings id/reporters?fields=string
Parameter | Description |
---|---|
| Optional. Returns only the specified subset of the fields for each Reporter. Use Fields Syntax to define the subset. |
Request Body
user
extends authorityHolder
extended by invitedUser, organizationMember, projectTeamMember
{
"login": string,
"banned": boolean,
"banReason": string,
"bannedInAuthModule": [[[authmodule|HUB-REST-API_JSON-Scheme.html#authmodule]]],
"banBadge": string,
"guest": boolean,
"avatar": [[[avatar|HUB-REST-API_JSON-Scheme.html#avatar]]],
"profile": [[[profile|HUB-REST-API_JSON-Scheme.html#profile]]],
"groups": [[[[userGroup|HUB-REST-API_JSON-Scheme.html#userGroup]]], ...],
"organizations": [[[[organization|HUB-REST-API_JSON-Scheme.html#organization]]], ...],
"transitiveOrganizations": [[[[organization|HUB-REST-API_JSON-Scheme.html#organization]]], ...],
"transitiveGroups": [[[[userGroup|HUB-REST-API_JSON-Scheme.html#userGroup]]], ...],
"teams": [[[[projectTeam|HUB-REST-API_JSON-Scheme.html#projectTeam]]], ...],
"transitiveTeams": [[[[projectTeam|HUB-REST-API_JSON-Scheme.html#projectTeam]]], ...],
"details": [[[[details|HUB-REST-API_JSON-Scheme.html#details]]], ...],
"VCSUserNames": [[[[vcsUserName|HUB-REST-API_JSON-Scheme.html#vcsUserName]]], ...],
"sshPublicKeys": [[[[sshPublicKey|HUB-REST-API_JSON-Scheme.html#sshPublicKey]]], ...],
"helpdeskProjectSettings": [[[[projectHelpdeskSettings|HUB-REST-API_JSON-Scheme.html#projectHelpdeskSettings]]], ...],
"creationTime": calendar,
"lastAccessTime": calendar,
"refreshTokens": [[[[refreshToken|HUB-REST-API_JSON-Scheme.html#refreshToken]]], ...],
"permanentTokens": [[[[permanentToken|HUB-REST-API_JSON-Scheme.html#permanentToken]]], ...],
"approvedScopes": [[[[approvedScope|HUB-REST-API_JSON-Scheme.html#approvedScope]]], ...],
"applicationPasswords": [[[[applicationPassword|HUB-REST-API_JSON-Scheme.html#applicationPassword]]], ...],
"favoriteProjects": [[[[project|HUB-REST-API_JSON-Scheme.html#project]]], ...],
"endUserAgreementConsent": [[[endUserAgreementConsent|HUB-REST-API_JSON-Scheme.html#endUserAgreementConsent]]],
"eraseTimestamp": calendar,
"twoFactorAuthentication": [[[twoFactorAuthentication|HUB-REST-API_JSON-Scheme.html#twoFactorAuthentication]]],
"requiredTwoFactorAuthentication": boolean,
"pendingTwoFactorAuthentication": [[[twoFactorAuthenticationSecret|HUB-REST-API_JSON-Scheme.html#twoFactorAuthenticationSecret]]],
"webauthnDevice": [[[webauthnDevice|HUB-REST-API_JSON-Scheme.html#webauthnDevice]]],
"userType": [[[userType|HUB-REST-API_JSON-Scheme.html#userType]]],
"permissions": [string, ...],
"id": string /* from authorityHolder */,
"aliases": [[[[alias|HUB-REST-API_JSON-Scheme.html#alias]]], ...] /* from authorityHolder */,
"name": string /* from authorityHolder */,
"projectRoles": [[[[projectRole|HUB-REST-API_JSON-Scheme.html#projectRole]]], ...] /* from authorityHolder */,
"transitiveProjectRoles": [[[[projectRole|HUB-REST-API_JSON-Scheme.html#projectRole]]], ...] /* from authorityHolder */,
"sourcedProjectRoles": [[[[sourcedProjectRole|HUB-REST-API_JSON-Scheme.html#sourcedProjectRole]]], ...] /* from authorityHolder */,
"organizationRoles": [[[[organizationRole|HUB-REST-API_JSON-Scheme.html#organizationRole]]], ...] /* from authorityHolder */,
"transitiveOrganizationRoles": [[[[organizationRole|HUB-REST-API_JSON-Scheme.html#organizationRole]]], ...] /* from authorityHolder */,
"sourcedOrganizationRoles": [[[[sourcedOrganizationRole|HUB-REST-API_JSON-Scheme.html#sourcedOrganizationRole]]], ...] /* from authorityHolder */
}
Response
Response Code | Meaning |
---|---|
200 OK | Successful request. |
400 Bad Request | At least one of the request parameters is invalid. For example, a required field in the passed JSON object is missing. For details, check the error message in the response. |
403 Forbidden | The requester has no access to the requested resource. |
404 Not Found | The requested resource was not found. |
500 Internal Server Error | Failed to process request because of the server error. For details, check the error message in the response. |
Response body
{
"login": string,
"banned": boolean,
"banReason": string,
"bannedInAuthModule": [[[authmodule|HUB-REST-API_JSON-Scheme.html#authmodule]]],
"banBadge": string,
"guest": boolean,
"avatar": [[[avatar|HUB-REST-API_JSON-Scheme.html#avatar]]],
"profile": [[[profile|HUB-REST-API_JSON-Scheme.html#profile]]],
"groups": [[[[userGroup|HUB-REST-API_JSON-Scheme.html#userGroup]]], ...],
"organizations": [[[[organization|HUB-REST-API_JSON-Scheme.html#organization]]], ...],
"transitiveOrganizations": [[[[organization|HUB-REST-API_JSON-Scheme.html#organization]]], ...],
"transitiveGroups": [[[[userGroup|HUB-REST-API_JSON-Scheme.html#userGroup]]], ...],
"teams": [[[[projectTeam|HUB-REST-API_JSON-Scheme.html#projectTeam]]], ...],
"transitiveTeams": [[[[projectTeam|HUB-REST-API_JSON-Scheme.html#projectTeam]]], ...],
"details": [[[[details|HUB-REST-API_JSON-Scheme.html#details]]], ...],
"VCSUserNames": [[[[vcsUserName|HUB-REST-API_JSON-Scheme.html#vcsUserName]]], ...],
"sshPublicKeys": [[[[sshPublicKey|HUB-REST-API_JSON-Scheme.html#sshPublicKey]]], ...],
"helpdeskProjectSettings": [[[[projectHelpdeskSettings|HUB-REST-API_JSON-Scheme.html#projectHelpdeskSettings]]], ...],
"creationTime": calendar,
"lastAccessTime": calendar,
"refreshTokens": [[[[refreshToken|HUB-REST-API_JSON-Scheme.html#refreshToken]]], ...],
"permanentTokens": [[[[permanentToken|HUB-REST-API_JSON-Scheme.html#permanentToken]]], ...],
"approvedScopes": [[[[approvedScope|HUB-REST-API_JSON-Scheme.html#approvedScope]]], ...],
"applicationPasswords": [[[[applicationPassword|HUB-REST-API_JSON-Scheme.html#applicationPassword]]], ...],
"favoriteProjects": [[[[project|HUB-REST-API_JSON-Scheme.html#project]]], ...],
"endUserAgreementConsent": [[[endUserAgreementConsent|HUB-REST-API_JSON-Scheme.html#endUserAgreementConsent]]],
"eraseTimestamp": calendar,
"twoFactorAuthentication": [[[twoFactorAuthentication|HUB-REST-API_JSON-Scheme.html#twoFactorAuthentication]]],
"requiredTwoFactorAuthentication": boolean,
"pendingTwoFactorAuthentication": [[[twoFactorAuthenticationSecret|HUB-REST-API_JSON-Scheme.html#twoFactorAuthenticationSecret]]],
"webauthnDevice": [[[webauthnDevice|HUB-REST-API_JSON-Scheme.html#webauthnDevice]]],
"userType": [[[userType|HUB-REST-API_JSON-Scheme.html#userType]]],
"permissions": [string, ...],
"id": string /* from authorityHolder */,
"aliases": [[[[alias|HUB-REST-API_JSON-Scheme.html#alias]]], ...] /* from authorityHolder */,
"name": string /* from authorityHolder */,
"projectRoles": [[[[projectRole|HUB-REST-API_JSON-Scheme.html#projectRole]]], ...] /* from authorityHolder */,
"transitiveProjectRoles": [[[[projectRole|HUB-REST-API_JSON-Scheme.html#projectRole]]], ...] /* from authorityHolder */,
"sourcedProjectRoles": [[[[sourcedProjectRole|HUB-REST-API_JSON-Scheme.html#sourcedProjectRole]]], ...] /* from authorityHolder */,
"organizationRoles": [[[[organizationRole|HUB-REST-API_JSON-Scheme.html#organizationRole]]], ...] /* from authorityHolder */,
"transitiveOrganizationRoles": [[[[organizationRole|HUB-REST-API_JSON-Scheme.html#organizationRole]]], ...] /* from authorityHolder */,
"sourcedOrganizationRoles": [[[[sourcedOrganizationRole|HUB-REST-API_JSON-Scheme.html#sourcedOrganizationRole]]], ...] /* from authorityHolder */
}
24 March 2025