Skip to content

Commit

Permalink
Merge branch 'main' into story/ccmspui-381_client_transaction_status
Browse files Browse the repository at this point in the history
# Conflicts:
#	data-service/src/main/java/uk/gov/laa/ccms/data/controller/NotificationsController.java
  • Loading branch information
JamieBriggs-MoJ committed Jan 21, 2025
2 parents b3af35d + 08ef3c5 commit d261f15
Show file tree
Hide file tree
Showing 27 changed files with 1,223 additions and 83 deletions.
98 changes: 98 additions & 0 deletions data-api/open-api-specification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,70 @@ paths:
description: 'Not found'
'500':
description: 'Internal server error'
/cases:
get:
tags:
- cases
summary: 'Get Cases'
operationId: 'getCases'
x-spring-paginated: true
parameters:
- name: 'provider-id'
in: 'query'
required: true
schema:
type: 'integer'
format: 'int64'
example: '123456789'
- name: 'case-reference-number'
in: 'query'
schema:
type: 'string'
example: '1234567890'
- name: 'provider-case-reference'
in: 'query'
schema:
type: 'string'
example: "1234567890"
- name: 'case-status'
in: 'query'
schema:
type: 'string'
example: 'APPL'
- name: 'client-surname'
in: 'query'
schema:
type: 'string'
example: 'smith'
- name: 'fee-earner-id'
in: 'query'
schema:
type: 'integer'
format: 'int64'
example: 1234567890
- name: 'office-id'
in: 'query'
schema:
type: 'integer'
format: 'int64'
example: 1234567890
responses:
'200':
description: 'Successful operation'
content:
application/json:
schema:
$ref: "#/components/schemas/caseDetails"
'400':
description: 'Bad request'
'401':
description: 'Unauthorized'
'403':
description: 'Forbidden'
'404':
description: 'Not found'
'500':
description: 'Internal server error'
/lookup/case-status:
get:
tags:
Expand Down Expand Up @@ -1408,6 +1472,15 @@ components:
type: 'string'
default_code:
type: 'string'
baseClient:
type: 'object'
properties:
client_reference_number:
type: 'string'
first_name:
type: 'string'
surname:
type: 'string'
clientInvolvementTypeLookupDetail:
allOf:
- $ref: "#/components/schemas/page"
Expand Down Expand Up @@ -1529,6 +1602,31 @@ components:
default: []
items:
$ref: "#/components/schemas/evidenceDocumentTypeLookupValueDetail"
caseDetails:
allOf:
- $ref: "#/components/schemas/page"
type: 'object'
properties:
content:
type: 'array'
default: [ ]
items:
$ref: "#/components/schemas/caseSummary"
caseSummary:
type: 'object'
properties:
case_reference_number:
type: 'string'
provider_case_reference_number:
type: 'string'
client:
$ref: '#/components/schemas/baseClient'
fee_earner_name:
type: 'string'
category_of_law:
type: 'string'
case_status_display:
type: 'string'
commonLookupValueDetail:
type: 'object'
properties:
Expand Down
Loading

0 comments on commit d261f15

Please sign in to comment.