request
POST /teller/tellerpUM/transactions/ImrGicYWqUAeSoMji5dSE8W09N1Qcj1h HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
command=CANCEL&charges=excluded
response
HTTP/1.1 202 Accepted
request
POST /teller/tellerpUM/transactions HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
Content-Length: 250
{
"transactionType" : "ACCC",
"transactionDate" : "2019-01-08T06:46:25.861Z",
"customerIdentifier" : "CustomerTwo",
"productIdentifier" : "product102",
"customerAccountIdentifier" : "Customer002",
"clerk" : "homer",
"amount" : 1234.56
}
response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 118
{
"tellerTransactionIdentifier" : "9zerUltOdFxNurIoG02k3PWk3fPOC98X",
"totalAmount" : 1234.56,
"charges" : [ ]
}
request
POST /offices/antananarivo/teller/7239/commands HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
Content-Length: 91
{
"action" : "CLOSE",
"adjustment" : "NONE",
"assignedEmployeeIdentifier" : "Antah"
}
response
HTTP/1.1 202 Accepted
request
POST /teller/tellerpUM/transactions/e24C2TrK3hNZGdGnnnzcTouIuQXiJAzl HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
command=CONFIRM&charges=included
response
HTTP/1.1 202 Accepted
request
POST /offices/office1234/teller/ HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
Content-Length: 317
{
"code" : "1234",
"password" : "password",
"cashdrawLimit" : 5000000,
"tellerAccountIdentifier" : "TEL123BA",
"vaultAccountIdentifier" : "TEL123BA",
"chequesReceivableAccount" : "CHA2018XYZ",
"cashOverShortAccount" : "CHA2018XYZ",
"denominationRequired" : false,
"assignedEmployee" : "Nakuve Lah"
}
response
HTTP/1.1 202 Accepted
request
DELETE /offices/kakeOne/teller/9876 HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
response
HTTP/1.1 202 Accepted
request
GET /offices/office247/teller/ HTTP/1.1
Content-Type: application/json
Accept: */*
Host: localhost:8080
response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 1032
[ {
"code" : "412389",
"password" : null,
"cashdrawLimit" : 4000000.0,
"tellerAccountIdentifier" : "TEL412389C",
"vaultAccountIdentifier" : "TEL412389C",
"chequesReceivableAccount" : "CHA2018ABC",
"cashOverShortAccount" : "CHA2018ABC",
"denominationRequired" : false,
"assignedEmployee" : "Chi Ndi",
"state" : "CLOSED",
"createdBy" : "homer",
"createdOn" : "2019-01-08T06:46:32.248Z",
"lastModifiedBy" : null,
"lastModifiedOn" : null,
"lastOpenedBy" : null,
"lastOpenedOn" : null
}, {
"code" : "512389",
"password" : null,
"cashdrawLimit" : 5000000.0,
"tellerAccountIdentifier" : "TEL512389D",
"vaultAccountIdentifier" : "TEL512389D",
"chequesReceivableAccount" : "DHA2018ABD",
"cashOverShortAccount" : "DHA2018ABD",
"denominationRequired" : false,
"assignedEmployee" : "Chia Chenjo",
"state" : "CLOSED",
"createdBy" : "homer",
"createdOn" : "2019-01-08T06:46:32.299Z",
"lastModifiedBy" : null,
"lastModifiedOn" : null,
"lastOpenedBy" : null,
"lastOpenedOn" : null
} ]
request
GET /offices/office412/teller/4123 HTTP/1.1
Content-Type: application/json
Accept: */*
Host: localhost:8080
response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 500
{
"code" : "4123",
"password" : null,
"cashdrawLimit" : 4.0,
"tellerAccountIdentifier" : "TEL412AC",
"vaultAccountIdentifier" : "TEL412AC",
"chequesReceivableAccount" : "CHA2018AB",
"cashOverShortAccount" : "CHA2018AB",
"denominationRequired" : false,
"assignedEmployee" : "Chi Ndohah",
"state" : "CLOSED",
"createdBy" : "homer",
"createdOn" : "2019-01-08T06:46:25.385Z",
"lastModifiedBy" : null,
"lastModifiedOn" : null,
"lastOpenedBy" : null,
"lastOpenedOn" : null
}
request
GET /offices/fesse/teller/kombone987/balance HTTP/1.1
Content-Type: application/json
Accept: */*
Host: localhost:8080
response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 173
{
"day" : null,
"cashOnHand" : 0,
"cashReceivedTotal" : 0,
"cashDisbursedTotal" : 0,
"chequesReceivedTotal" : 0,
"cashEntries" : null,
"chequeEntries" : null
}
request
POST /teller/tellerpUM/transactions HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
Content-Length: 250
{
"transactionType" : "ACCO",
"transactionDate" : "2019-01-08T06:46:31.542Z",
"customerIdentifier" : "CustomerOne",
"productIdentifier" : "product101",
"customerAccountIdentifier" : "Customer001",
"clerk" : "homer",
"amount" : 1234.56
}
response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 118
{
"tellerTransactionIdentifier" : "cIDc9Xkm4UUfgnsqUX1rAjVmA9pVhaJI",
"totalAmount" : 1234.56,
"charges" : [ ]
}
request
POST /offices/moritavo/teller/689/commands HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
Content-Length: 89
{
"action" : "OPEN",
"adjustment" : "NONE",
"assignedEmployeeIdentifier" : "Ashu"
}
response
HTTP/1.1 202 Accepted
request
POST /teller/tellerpUM HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
command=PAUSE
response
HTTP/1.1 202 Accepted
request
POST /teller/tellerpUM/drawer HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
Content-Length: 56
{"employeeIdentifier":"homer","password":"GXwNNSKW5DUC"}
response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 559
{
"code" : "tellerpUM",
"password" : null,
"cashdrawLimit" : 10000.0,
"tellerAccountIdentifier" : "telAccGAa",
"vaultAccountIdentifier" : "telAccydI",
"chequesReceivableAccount" : "cheqRecVSL",
"cashOverShortAccount" : "cashOSAccCYm",
"denominationRequired" : false,
"assignedEmployee" : "homer",
"state" : "ACTIVE",
"createdBy" : "homer",
"createdOn" : "2019-01-08T06:46:23.799Z",
"lastModifiedBy" : "homer",
"lastModifiedOn" : "2019-01-08T06:46:25.85Z",
"lastOpenedBy" : "homer",
"lastOpenedOn" : "2019-01-08T06:46:23.975Z"
}
request
PUT /offices/wakanda/teller/6789 HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
Content-Length: 319
{
"code" : "6789",
"password" : "aUYKkqobN",
"cashdrawLimit" : 15000.0,
"tellerAccountIdentifier" : "TEL6789Z1",
"vaultAccountIdentifier" : "TEL6789Z1",
"chequesReceivableAccount" : "ZHX2018ABZ",
"cashOverShortAccount" : "ZHX2018ABZ",
"denominationRequired" : true,
"assignedEmployee" : "Dioh Dione"
}
response
HTTP/1.1 202 Accepted