added endpoint to swagger
This commit was merged in pull request #24.
This commit is contained in:
+28
@@ -167,6 +167,34 @@ paths:
|
|||||||
comment:
|
comment:
|
||||||
type: string
|
type: string
|
||||||
example: "Testing PenalCharge"
|
example: "Testing PenalCharge"
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: A successful response
|
||||||
|
/autocall/analytic-salary-detect:
|
||||||
|
post:
|
||||||
|
summary: Salary Detect Endpoint
|
||||||
|
requestBody:
|
||||||
|
required: true
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
salaryDate:
|
||||||
|
type: string
|
||||||
|
format: date
|
||||||
|
example: "2022-01-01"
|
||||||
|
customerId:
|
||||||
|
type: string
|
||||||
|
example: "CN621868"
|
||||||
|
accountId:
|
||||||
|
type: string
|
||||||
|
example: "2017821799"
|
||||||
|
salaryAmount:
|
||||||
|
type: number
|
||||||
|
example: 200000
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: A successful response
|
description: A successful response
|
||||||
Reference in New Issue
Block a user