The following document is in draft and subject to change. |
All UML Diagrams created with UMLet, attached you'll find all design files. |
{ "id" : 1, "officeId" : 1 "debitAccountId" : 1, "creditAccountId" : 2, "name" : "T1-O1-D1-C2", "description" : null, "startDate" : "2014-01-01T00:00:00", "endDate" : "2014-12-31T23:59:59", "status" : "active", "hasTransactions" : true, "hasMappedCashiers" : true } |
HTTP Method | Query Parameter | Request Body | Response Body | HTTP Status Code |
---|---|---|---|---|
GET | officeId | NA | List<Teller> | 200, 404, 500 |
POST | NA | Teller | NA | 201, 400, 404, 500 |
HTTP Method | Query Parameter | Request Body | Response Body | HTTP Status Code |
---|---|---|---|---|
GET | NA | NA | Teller | 200, 404, 500 |
PUT | NA | Teller | Teller | 201, 400, 404, 500 |
PATCH | NA | TellerChangeRequest | NA | 200, 400, 404, 500 |
DELETE | NA | NA | NA | 200, 404, 500 |
{ "id" : 1, "officeId" : 1, "staffId" : 1, "tellerId" : 1, "descriptio" : null, "startDate" : "2014-01-01T00:00:00", "endDate" : "2014-12-31T23:59:59", "partTime" : true, "fromTime" : "08:00:00", "toTime" : "11:59:59" } |
HTTP Method | Query Parameter | Request Body | Response Body | HTTP Status Code |
---|---|---|---|---|
GET | officeId tellerId statffId date = today | NA | List<Cashier> | 200, 404, 500 |
HTTP Method | Query Parameter | Request Body | Response Body | HTTP Status Code |
---|---|---|---|---|
GET | date = today | NA | List<Cashier> | 200, 404, 500 |
POST | NA | Cashier | NA | 201, 400, 404, 500 |
HTTP Method | Query Parameter | Request Body | Response Body | HTTP Status Code |
---|---|---|---|---|
GET | NA | NA | Cashier | 200, 404, 500 |
PUT | NA | Cashier | Cashier | 201, 400, 404, 500 |
DELETE | NA | NA | NA | 200, 404, 500 |
{ "id" : 1 "officeId" : 1, "tellerId" : 1, "cashierId" : 1, "accountId" : 1, "type" : "reciept", "amount" : 123.45, "postingDate" : "2014-05-07T19:45:38" } |
HTTP Method | Query Parameter | Request Body | Response Body | HTTP Status Code |
---|---|---|---|---|
GET | cashierId dateRange = today | NA | List<Transaction> | 200, 404, 500 |
POST | NA | Transaction | NA | 201, 400, 404, 500 |
HTTP Method | Query Parameter | Request Body | Response Body | HTTP Status Code |
---|---|---|---|---|
GET | NA | NA | Transaction | 200, 404, 500 |
{ "officeId" : 1, "tellerId" : 1, "date" : "2014-01-01T00:00:00", "openingBalance" : 123.45, "settledBalance" : 123.45, "closingBalance" : 123.45, "sumReceipts" : 123.45, "sumPayments" : 123.45, } |
HTTP Method | Query Parameter | Request Body | Response Body | HTTP Status Code |
---|---|---|---|---|
GET | officeId tellerId cashierId dateRange = today | NA | List<Journal> | 200, 404, 500 |
HTTP Method | Query Parameter | Request Body | Response Body | HTTP Status Code |
---|---|---|---|---|
GET | cashierId dateRange = today | NA | List<Journal> | 200, 404, 500 |