-
Notifications
You must be signed in to change notification settings - Fork 151
ATTEND-2264 add v4 admin attendee type docs #1388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
victoriousxd
wants to merge
7
commits into
SAP-docs:main
Choose a base branch
from
victoriousxd:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
682ce23
Create v4.admin-attendee-types.markdown
victoriousxd 024debe
Update v4.admin-attendee-types.markdown
victoriousxd 501c7f3
Update v4.admin-attendee-types.markdown
victoriousxd 6f9f961
Update src/api-reference/expense/attendee-types/v4.admin-attendee-typ…
victoriousxd 22269ed
Update src/api-reference/expense/attendee-types/v4.admin-attendee-typ…
victoriousxd e453a7e
Update v4.admin-attendee-types.markdown
victoriousxd 8760f94
Update v4.admin-attendee-types.markdown
victoriousxd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
163 changes: 163 additions & 0 deletions
163
src/api-reference/expense/attendee-types/v4.admin-attendee-types.markdown
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
# v4 Attendee Types | ||
|
||
This API provides users with the capability to retrieve and manage attendee types. | ||
|
||
## Scope Usage | ||
|
||
| Name | Description | Verb | | ||
|----------------------------|-----------------------------------------------|----------------| | ||
| `attendee.admin.read` | Admin read only access to attendee types | GET | | ||
| `attendee.admin.write` | Read and write admin access to attendee types | GET, POST, PUT | | ||
| `attendee.admin.writeonly` | Admin update only access to attendee types | POST, PUT | | ||
|
||
victoriousxd marked this conversation as resolved.
Show resolved
Hide resolved
|
||
## Access Token Usage | ||
|
||
This API only supports company access tokens. | ||
|
||
## Retrieve Attendee Types | ||
|
||
Retrieves all attendee types and their related configuration information. | ||
|
||
### Scopes | ||
|
||
`attendee.admin.read` or `attendee.admin.write` - Refer to [Scope Usage](#scope-usage) | ||
|
||
### URI | ||
|
||
```shell | ||
https://{datacenterUri}/v4/attendeetypes | ||
``` | ||
|
||
### Parameters | ||
|
||
| Name | Type | Format | Description | | ||
|-----------------|--------|--------|----------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| Accept-Language | string | - | Language code. Default: Company defined default language | | ||
|
||
### Payloads | ||
|
||
* Request: None | ||
* Response: [Attendee Types Response](#attendee-types-schema) | ||
|
||
### Examples | ||
|
||
#### Request | ||
|
||
```shell | ||
GET https://us2.api.concursolutions.com/v4/attendeetypes | ||
Accept: application/json | ||
Accept-Language: en | ||
Authorization: Bearer ${ACCESS_TOKEN} | ||
``` | ||
|
||
#### Response | ||
|
||
```shell | ||
HTTP/1.1 200 OK | ||
Content-Type: application/json | ||
``` | ||
|
||
```json | ||
[ | ||
{ | ||
"name": "Business Guest", | ||
"code": "BUSGUEST", | ||
"form": { | ||
"name": "Business Guest Attendee Form", | ||
"id": "7e5707ed-e78b-4e49-98ee-eabb0c27bfec" | ||
}, | ||
"duplicateSearchFields": [ | ||
"title", | ||
"company", | ||
"ownerEmpName", | ||
"firstName", | ||
"lastName" | ||
], | ||
"isPublic": true, | ||
"isDeleted": false, | ||
"allowManuallyEnteredAttendees": true, | ||
"allowAttendeeCountEditing": true, | ||
"id": "ed24a533-76f0-b84c-882d-2482a9686f5c", | ||
"permitAdds": true, | ||
"isActive": true, | ||
"searchPreference": "DS", | ||
"systemRecord": false | ||
}, | ||
{ | ||
"name": "External Connector Peeps", | ||
"code": "EXTCON", | ||
"form": { | ||
"name": "External Connector Attendee Form", | ||
"id": "23t707ed-e78b-4e49-98ee-2gfb0c27bmjh" | ||
}, | ||
"duplicateSearchFields": [ | ||
"title", | ||
"company", | ||
"ownerEmpName", | ||
"firstName", | ||
"lastName", | ||
"custom1", | ||
"custom2" | ||
], | ||
"isPublic": true, | ||
"externalConnectorId": "gWvidmKNPVEaOg$s66rqA62OJVXfvHBMs4sw", | ||
"isDeleted": false, | ||
"allowManuallyEnteredAttendees": true, | ||
"allowAttendeeCountEditing": true, | ||
"id": "ed24a533-76f0-b84c-882d-2482a9686f5c", | ||
"permitAdds": false, | ||
"isActive": false, | ||
"searchPreference": "AO", | ||
"systemRecord": true | ||
} | ||
] | ||
``` | ||
|
||
## Schema <a name="schema"></a> | ||
|
||
### <a name="attendee-types-schema"></a>Attendee Types | ||
|
||
| Name | Type | Format | Description | | ||
|:----:|:-------:|:--------------------------------------:|:-----------------------| | ||
| - | `Array` | [Attendee Type](#attendee-type-schema) | The result collection. | | ||
|
||
### <a name="attendee-type-schema"></a>Attendee Type | ||
|
||
| Name | Type | Format | Description | | ||
|:-------------------------------:|:--------------------:|:--------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| `allowAttendeeCountEditing` | `boolean` | `true / false` | **Required** Determines whether users are allowed to edit the count for this attendee type. Format: true or false | | ||
| `allowManuallyEnteredAttendees` | `boolean` | `true / false` | **Required** Determines whether users are allowed to add attendees for this attendee type. Format: true or false | | ||
| `code` | `string` | - | **Required** A code that indicates the type of attendee. Examples: EMPLOYEE, SPOUSE, BUSGUEST. Maximum length: 8 characters | | ||
| `externalConnectorId` | `string` | | The unique identifier of the external connector data source for this attendee type. When this field is not configured, it is absent in the response body. | | ||
| `duplicateSearchFields` | `Array` | Search Field | **Required** The list of Attendee search field IDs used by the Add Attendee user interface to alert users that the attendee they want to add is a possible duplicate. | | ||
| `form` | [Form](#form-schema) | - | **Required** The form type configured. This determines available fields for attendees belonging to this attendee type. | | ||
| `id` | `string` | `uuid` | **Required** The unique identifier of the resource. | | ||
| `isDeleted` | `boolean` | `true / false` | **Required** Indicates if this attendee type is deleted. | | ||
| `isPublic` | `boolean` | `true / false` | **Required** Indicates if attendees belonging to this attendee type are visible across users, regardless of ownership. | | ||
| `name` | `string` | - | **Required** The name for the attendee type. This name must be unique. Maximum length: 40 characters | | ||
| `permitAdds` | `boolean` | - | **Required** Indicates if users are allowed to add new attendees of this attendee type | | ||
| `isActive` | `boolean` | - | **Required** Indicates if this attendee type is active | | ||
| `searchPreference` | `string` | - | **Required** The search preference for this attendee type: DS = Default Simple, DA = Default Advanced, AO = Advanced Only | | ||
| `systemRecord` | `boolean` | - | **Required** Indicates if this attendee type is a system record | | ||
|
||
### <a name="form-schema"></a>Form | ||
|
||
| Name | Type | Format | Description | | ||
|:------:|:--------:|:------:|----------------------------------------------------------------------------------| | ||
| `name` | `string` | - | **Required** The name for this form. Maximum length: 64 characters | | ||
| `id` | `string` | `uuid` | **Required** The unique identifier for the attendee form for this attendee type. | | ||
|
||
### <a name="save-attendee-type-schema"></a>Save Attendee Type | ||
|
||
| Name | Type | Format | Description | | ||
|:-------------------------------:|:---------:|:--------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| `allowAttendeeCountEditing` | `boolean` | `true / false` | **Required** Determines whether users are allowed to edit the count for this attendee type. Format: true or false | | ||
| `allowManuallyEnteredAttendees` | `boolean` | `true / false` | **Required** Determines whether users are allowed to add attendees for this attendee type. Format: true or false | | ||
| `code` | `string` | - | **Required** A code that indicates the type of attendee. Examples: EMPLOYEE, SPOUSE, BUSGUEST. Maximum length: 8 characters | | ||
| `externalConnectorId` | `string` | | **Required** The unique identifier of the external connector data source for this attendee type. When this field is not configured, it is absent in the response body. | | ||
| `duplicateSearchFields` | `Array` | Search Field | **Required** The list of Attendee search field IDs used by the Add Attendee user interface to alert users that the attendee they want to add is a possible duplicate. | | ||
| `formId` | `string` | `uuid` | **Required** The form type configured. This determines available fields for attendees belonging to this attendee type. | | ||
| `isPublic` | `boolean` | `true / false` | **Required** Indicates if attendees belonging to this attendee type are visible across users, regardless of ownership. | | ||
| `name` | `string` | - | **Required** The name for the attendee type. This name must be unique. Maximum length: 40 characters | | ||
| `permitAdds` | `boolean` | - | **Required** Indicates if users are allowed to add new attendees of this attendee type | | ||
| `searchPreference` | `string` | - | **Required** The search preference for this attendee type: DS = Default Simple, DA = Default Advanced, AO = Advanced Only |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.