Files
api-specs/idn/beta/paths/work-items-account-selection.yaml
2022-09-02 10:59:29 -04:00

39 lines
1018 B
YAML

post:
operationId: submitAccountSelection
tags:
- Work Items
summary: Submit Account Selections
description: >-
This API submits account selections. Either an admin, or the owning/current user must make this request.
parameters:
- in: path
name: id
schema:
type: string
required: true
description: The ID of the work item
example: ef38f94347e94562b5bb8424a56397d8
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: true
example: { "fieldName": "fieldValue"}
description: Account Selection Data map, keyed on fieldName
responses:
'200':
description: A work items details object.
content:
application/json:
schema:
$ref: '../schemas/WorkItems.yaml'
'400':
$ref: '../../v3/responses/400.yaml'
'403':
$ref: '../../v3/responses/403.yaml'
'404':
$ref: '../../v3/responses/404.yaml'