cc-tracking/tasks/archive/comcarde/bridge-837/swagger
2019-05-21 16:40:16 +01:00

35 lines
1.0 KiB
Plaintext

When I call GET /receivables/atps
"/receivables/atps": {
"x-swagger-router-controller": "receivable_atp_controller",
"get": {
"summary": "Gets a list ATP's which I am the payee",
"description": "Return a list of Attempts to Pay (ATPs) for which I am the payee",
"tags": [ "payments" ],
"operationId": "listPayeeATPs",
"responses": {
"200": {
"description": "Successfully list ATPs.",
"schema": {
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/atpList"
}
}
}
},
"400": {
"description": "Validation failed",
"schema": {
"$ref": "#/definitions/badParametersInfo"
}
},
"default": {
"$ref": "#/responses/GeneralError"
}
}
}
},