58 lines
1.4 KiB
JSON
58 lines
1.4 KiB
JSON
{
|
|
"post": {
|
|
"tags": [
|
|
"PenalCharge"
|
|
],
|
|
"summary": "Penal Charge Request",
|
|
"description": "This request is used to charge customers for penalty as per existing debt",
|
|
"operationId": "penalCharge",
|
|
"requestBody": {
|
|
"required": true,
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "../schemas/PenalChargeRequest.json"
|
|
}
|
|
},
|
|
"application/xml": {
|
|
"schema": {
|
|
"$ref": "../schemas/PenalChargeRequest.json"
|
|
}
|
|
},
|
|
"application/x-www-form-urlencoded": {
|
|
"schema": {
|
|
"$ref": "../schemas/PenalChargeRequest.json"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Penal Charge Request Accepted",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "../schemas/PenalChargeResponse.json"
|
|
}
|
|
},
|
|
"application/xml": {
|
|
"schema": {
|
|
"$ref": "../schemas/PenalChargeResponse.json"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Invalid request"
|
|
},
|
|
"500": {
|
|
"description": "Internal server error"
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"api_key": []
|
|
}
|
|
]
|
|
}
|
|
} |