-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
9 changed files
with
857 additions
and
53 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -257,6 +257,149 @@ paths: | |
description: 'Not found' | ||
'500': | ||
description: 'Internal server error' | ||
/applications/{id}/linked-cases: | ||
get: | ||
tags: | ||
- applications | ||
summary: 'Get an application''s linked cases' | ||
operationId: 'getApplicationLinkedCases' | ||
parameters: | ||
- name: 'id' | ||
in: 'path' | ||
required: true | ||
schema: | ||
type: 'integer' | ||
format: 'int64' | ||
example: '1234567890' | ||
responses: | ||
'200': | ||
description: 'Successful operation' | ||
content: | ||
application/json: | ||
schema: | ||
type: 'array' | ||
items: | ||
$ref: "#/components/schemas/linkedCase" | ||
'400': | ||
description: 'Bad request' | ||
'401': | ||
description: 'Unauthorized' | ||
'404': | ||
description: 'Not found' | ||
'500': | ||
description: 'Internal server error' | ||
post: | ||
tags: | ||
- applications | ||
summary: 'Add a linked case to an application' | ||
operationId: 'addApplicationLinkedCase' | ||
parameters: | ||
- name: 'id' | ||
in: 'path' | ||
required: true | ||
schema: | ||
type: 'integer' | ||
format: 'int64' | ||
- name: 'Caab-User-Login-Id' | ||
in: header | ||
required: true | ||
schema: | ||
type: 'string' | ||
example: '[email protected]' | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "#/components/schemas/linkedCase" | ||
responses: | ||
'201': | ||
description: 'Case added successfully' | ||
'400': | ||
description: 'Bad request' | ||
'401': | ||
description: 'Unauthorized' | ||
'404': | ||
description: 'Not found' | ||
'500': | ||
description: 'Internal server error' | ||
/applications/{id}/linked-cases/{linked-case-id}: | ||
delete: | ||
tags: | ||
- applications | ||
summary: 'Remove a linked case from an application' | ||
operationId: 'removeApplicationLinkedCase' | ||
parameters: | ||
- name: 'id' | ||
in: 'path' | ||
required: true | ||
schema: | ||
type: 'integer' | ||
format: 'int64' | ||
- name: 'linked-case-id' | ||
in: 'path' | ||
required: true | ||
schema: | ||
type: 'integer' | ||
format: 'int64' | ||
- name: 'Caab-User-Login-Id' | ||
in: header | ||
required: true | ||
schema: | ||
type: 'string' | ||
example: '[email protected]' | ||
responses: | ||
'204': | ||
description: 'No Content' | ||
'400': | ||
description: 'Bad request' | ||
'401': | ||
description: 'Unauthorized' | ||
'404': | ||
description: 'Not found' | ||
'500': | ||
description: 'Internal server error' | ||
patch: | ||
tags: | ||
- applications | ||
summary: 'Update a linked case of an application' | ||
operationId: 'updateApplicationLinkedCase' | ||
parameters: | ||
- name: 'id' | ||
in: 'path' | ||
required: true | ||
schema: | ||
type: 'integer' | ||
format: 'int64' | ||
- name: 'linked-case-id' | ||
in: 'path' | ||
required: true | ||
schema: | ||
type: 'integer' | ||
format: 'int64' | ||
- name: 'Caab-User-Login-Id' | ||
in: header | ||
required: true | ||
schema: | ||
type: 'string' | ||
example: '[email protected]' | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "#/components/schemas/linkedCase" | ||
responses: | ||
'200': | ||
description: 'Case updated successfully' | ||
'400': | ||
description: 'Bad request' | ||
'401': | ||
description: 'Unauthorized' | ||
'404': | ||
description: 'Not found' | ||
'500': | ||
description: 'Internal server error' | ||
components: | ||
schemas: | ||
intDisplayValue: | ||
|
@@ -501,6 +644,8 @@ components: | |
linkedCase: | ||
type: 'object' | ||
properties: | ||
id: | ||
type: 'integer' | ||
lsc_case_reference: | ||
type: 'string' | ||
relation_to_case: | ||
|
This file contains 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
Oops, something went wrong.