request
POST /instances/CustomerYjB.91xx.00001 HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
command=ACTIVATE
response
HTTP/1.1 202 Accepted
request
POST /definitions/pdtDefUpkY/commands HTTP/1.1
Content-Type: application/json
Accept: */*
Host: localhost:8080
Content-Length: 50
{
"action" : "ACTIVATE",
"note" : "Notewolr"
}
response
HTTP/1.1 202 Accepted
request
POST /instances/Customer1bf.91xx.00001 HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
command=CLOSE
response
HTTP/1.1 202 Accepted
request
POST /actions HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
Content-Length: 129
{
"identifier" : "Acce4",
"name" : "ActionVwN",
"description" : "Action's Description 6MJN",
"transactionType" : "ACCO"
}
response
HTTP/1.1 202 Accepted
request
POST /instances HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
Content-Length: 136
{
"customerIdentifier" : "Customer7mW",
"productIdentifier" : "pdtDefyTxn",
"beneficiaries" : [ "BenefiaryN8m", "Benefiary7No" ]
}
response
HTTP/1.1 202 Accepted
request
POST /definitions HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
Content-Length: 903
{
"type" : "SAVINGS",
"identifier" : "pdtDefsOpl",
"name" : "PdtName bWwRGo",
"description" : "Product DescriptionXTzui7nO",
"currency" : {
"code" : "USD",
"name" : "US Dollar",
"sign" : "$",
"scale" : 3
},
"minimumBalance" : 50.0,
"equityLedgerIdentifier" : "91xx",
"cashAccountIdentifier" : "76xx",
"expenseAccountIdentifier" : "38xx",
"accrueAccountIdentifier" : "82xx",
"interest" : 1.25,
"term" : {
"period" : 12,
"timeUnit" : "MONTH",
"interestPayable" : "MATURITY"
},
"charges" : [ {
"actionIdentifier" : "Close",
"incomeAccountIdentifier" : "10123",
"name" : "Closing Account Fee",
"proportional" : false,
"amount" : 2.0
}, {
"actionIdentifier" : "Open",
"incomeAccountIdentifier" : "10123",
"name" : "Opening Account Charge",
"proportional" : false,
"amount" : 2.0
} ],
"flexible" : false
}
response
HTTP/1.1 202 Accepted
request
POST /definitions/pdtDef6wrE/commands HTTP/1.1
Content-Type: application/json
Accept: */*
Host: localhost:8080
Content-Length: 52
{
"action" : "DEACTIVATE",
"note" : "Note5fhc"
}
response
HTTP/1.1 202 Accepted
request
DELETE /definitions/pdtDef5HOU HTTP/1.1
Content-Type: application/json
Accept: */*
Host: localhost:8080
response
HTTP/1.1 202 Accepted
request
GET /actions 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: 577
[ {
"identifier" : "Open",
"name" : "Account Opening",
"description" : null,
"transactionType" : "ACCO"
}, {
"identifier" : "Transfer",
"name" : "Account Transfer",
"description" : null,
"transactionType" : "ACCT"
}, {
"identifier" : "Close",
"name" : "Account Closing",
"description" : null,
"transactionType" : "ACCC"
}, {
"identifier" : "Deposit",
"name" : "Cash Deposit",
"description" : null,
"transactionType" : "CDPT"
}, {
"identifier" : "Withdraw",
"name" : "Cash Withdrawal",
"description" : null,
"transactionType" : "CWDL"
} ]
request
GET /instances?customer=Customerm7i HTTP/1.1
Content-Type: */*
Accept: application/json
Host: localhost:8080
response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 323
[ {
"customerIdentifier" : "Customerm7i",
"productIdentifier" : "pdtDefUBJ3",
"accountIdentifier" : "Customerm7i.91xx.00001",
"alternativeAccountNumber" : null,
"beneficiaries" : [ "BenefiaryqjI", "BenefiarylHe" ],
"openedOn" : null,
"lastTransactionDate" : null,
"state" : "PENDING",
"balance" : null
} ]
request
GET /definitions 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: 11569
[ {
"type" : "SAVINGS",
"identifier" : "pdtDefV35K",
"name" : "PdtName yf7m0E",
"description" : "PdtName yf7m0E",
"currency" : {
"code" : "USD",
"name" : "US Dollar",
"sign" : "$",
"scale" : 3
},
"minimumBalance" : 50.0,
"equityLedgerIdentifier" : "91xx",
"cashAccountIdentifier" : "76xx",
"expenseAccountIdentifier" : "38xx",
"accrueAccountIdentifier" : "82xx",
"interest" : 1.25,
"term" : {
"period" : 12,
"timeUnit" : "MONTH",
"interestPayable" : "MATURITY"
},
"charges" : [ {
"actionIdentifier" : "Close",
"incomeAccountIdentifier" : "10123",
"name" : "Closing Account Fee",
"description" : null,
"proportional" : false,
"amount" : 2.0
}, {
"actionIdentifier" : "Open",
"incomeAccountIdentifier" : "10123",
"name" : "Opening Account Charge",
"description" : null,
"proportional" : false,
"amount" : 2.0
} ],
"flexible" : false,
"active" : false
}, {
"type" : "SAVINGS",
"identifier" : "pdtDef3knK",
"name" : "PdtName NhAHDJ",
"description" : "PdtName NhAHDJ",
"currency" : {
"code" : "USD",
"name" : "US Dollar",
"sign" : "$",
"scale" : 3
},
"minimumBalance" : 50.0,
"equityLedgerIdentifier" : "91xx",
"cashAccountIdentifier" : "76xx",
"expenseAccountIdentifier" : "38xx",
"accrueAccountIdentifier" : "82xx",
"interest" : 1.25,
"term" : {
"period" : 12,
"timeUnit" : "MONTH",
"interestPayable" : "MATURITY"
},
"charges" : [ {
"actionIdentifier" : "Close",
"incomeAccountIdentifier" : "10123",
"name" : "Closing Account Fee",
"description" : null,
"proportional" : false,
"amount" : 2.0
}, {
"actionIdentifier" : "Open",
"incomeAccountIdentifier" : "10123",
"name" : "Opening Account Charge",
"description" : null,
"proportional" : false,
"amount" : 2.0
} ],
"flexible" : false,
"active" : false
}, {
"type" : "SAVINGS",
"identifier" : "pdtDefQNkO",
"name" : "PdtName WKJCYI",
"description" : "PdtName WKJCYI",
"currency" : {
"code" : "USD",
"name" : "US Dollar",
"sign" : "$",
"scale" : 3
},
"minimumBalance" : 50.0,
"equityLedgerIdentifier" : "91xx",
"cashAccountIdentifier" : "76xx",
"expenseAccountIdentifier" : "38xx",
"accrueAccountIdentifier" : "82xx",
"interest" : 1.25,
"term" : {
"period" : 12,
"timeUnit" : "MONTH",
"interestPayable" : "MATURITY"
},
"charges" : [ {
"actionIdentifier" : "Close",
"incomeAccountIdentifier" : "10123",
"name" : "Closing Account Fee",
"description" : null,
"proportional" : false,
"amount" : 2.0
}, {
"actionIdentifier" : "Open",
"incomeAccountIdentifier" : "10123",
"name" : "Opening Account Charge",
"description" : null,
"proportional" : false,
"amount" : 2.0
} ],
"flexible" : false,
"active" : false
}, {
"type" : "SAVINGS",
"identifier" : "pdtDef6wrE",
"name" : "PdtName 4MrM7x",
"description" : "PdtName 4MrM7x",
"currency" : {
"code" : "USD",
"name" : "US Dollar",
"sign" : "$",
"scale" : 3
},
"minimumBalance" : 50.0,
"equityLedgerIdentifier" : "91xx",
"cashAccountIdentifier" : "76xx",
"expenseAccountIdentifier" : "38xx",
"accrueAccountIdentifier" : "82xx",
"interest" : 1.25,
"term" : {
"period" : 12,
"timeUnit" : "MONTH",
"interestPayable" : "MATURITY"
},
"charges" : [ {
"actionIdentifier" : "Close",
"incomeAccountIdentifier" : "10123",
"name" : "Closing Account Fee",
"description" : null,
"proportional" : false,
"amount" : 2.0
}, {
"actionIdentifier" : "Open",
"incomeAccountIdentifier" : "10123",
"name" : "Opening Account Charge",
"description" : null,
"proportional" : false,
"amount" : 2.0
} ],
"flexible" : false,
"active" : false
}, {
"type" : "SAVINGS",
"identifier" : "pdtDefQkwC",
"name" : "PdtName hGzfaK",
"description" : "PdtName hGzfaK",
"currency" : {
"code" : "USD",
"name" : "US Dollar",
"sign" : "$",
"scale" : 3
},
"minimumBalance" : 50.0,
"equityLedgerIdentifier" : "91xx",
"cashAccountIdentifier" : "76xx",
"expenseAccountIdentifier" : "38xx",
"accrueAccountIdentifier" : "82xx",
"interest" : 1.25,
"term" : {
"period" : 12,
"timeUnit" : "MONTH",
"interestPayable" : "MATURITY"
},
"charges" : [ {
"actionIdentifier" : "Close",
"incomeAccountIdentifier" : "10123",
"name" : "Closing Account Fee",
"description" : null,
"proportional" : false,
"amount" : 2.0
}, {
"actionIdentifier" : "Open",
"incomeAccountIdentifier" : "10123",
"name" : "Opening Account Charge",
"description" : null,
"proportional" : false,
"amount" : 2.0
} ],
"flexible" : false,
"active" : false
}, {
"type" : "SAVINGS",
"identifier" : "pdtDef00px",
"name" : "PdtName YrjbfK",
"description" : "PdtName YrjbfK",
"currency" : {
"code" : "USD",
"name" : "US Dollar",
"sign" : "$",
"scale" : 3
},
"minimumBalance" : 50.0,
"equityLedgerIdentifier" : "91xx",
"cashAccountIdentifier" : "76xx",
"expenseAccountIdentifier" : "38xx",
"accrueAccountIdentifier" : "82xx",
"interest" : 1.25,
"term" : {
"period" : 12,
"timeUnit" : "MONTH",
"interestPayable" : "MATURITY"
},
"charges" : [ {
"actionIdentifier" : "Close",
"incomeAccountIdentifier" : "10123",
"name" : "Closing Account Fee",
"description" : null,
"proportional" : false,
"amount" : 2.0
}, {
"actionIdentifier" : "Open",
"incomeAccountIdentifier" : "10123",
"name" : "Opening Account Charge",
"description" : null,
"proportional" : false,
"amount" : 2.0
} ],
"flexible" : false,
"active" : false
}, {
"type" : "SAVINGS",
"identifier" : "pdtDefyTxn",
"name" : "PdtName MOUQiX",
"description" : "PdtName MOUQiX",
"currency" : {
"code" : "USD",
"name" : "US Dollar",
"sign" : "$",
"scale" : 3
},
"minimumBalance" : 50.0,
"equityLedgerIdentifier" : "91xx",
"cashAccountIdentifier" : "76xx",
"expenseAccountIdentifier" : "38xx",
"accrueAccountIdentifier" : "82xx",
"interest" : 1.25,
"term" : {
"period" : 12,
"timeUnit" : "MONTH",
"interestPayable" : "MATURITY"
},
"charges" : [ {
"actionIdentifier" : "Close",
"incomeAccountIdentifier" : "10123",
"name" : "Closing Account Fee",
"description" : null,
"proportional" : false,
"amount" : 2.0
}, {
"actionIdentifier" : "Open",
"incomeAccountIdentifier" : "10123",
"name" : "Opening Account Charge",
"description" : null,
"proportional" : false,
"amount" : 2.0
} ],
"flexible" : false,
"active" : false
}, {
"type" : "SAVINGS",
"identifier" : "pdtDef30nR",
"name" : "PdtName 3FfRSz",
"description" : "PdtName 3FfRSz",
"currency" : {
"code" : "USD",
"name" : "US Dollar",
"sign" : "$",
"scale" : 3
},
"minimumBalance" : 50.0,
"equityLedgerIdentifier" : "91xx",
"cashAccountIdentifier" : "76xx",
"expenseAccountIdentifier" : "38xx",
"accrueAccountIdentifier" : "82xx",
"interest" : 1.25,
"term" : {
"period" : 12,
"timeUnit" : "MONTH",
"interestPayable" : "MATURITY"
},
"charges" : [ {
"actionIdentifier" : "Close",
"incomeAccountIdentifier" : "10123",
"name" : "Closing Account Fee",
"description" : null,
"proportional" : false,
"amount" : 2.0
}, {
"actionIdentifier" : "Open",
"incomeAccountIdentifier" : "10123",
"name" : "Opening Account Charge",
"description" : null,
"proportional" : false,
"amount" : 2.0
} ],
"flexible" : false,
"active" : false
}, {
"type" : "SAVINGS",
"identifier" : "pdtDefsOpl",
"name" : "PdtName bWwRGo",
"description" : "PdtName bWwRGo",
"currency" : {
"code" : "USD",
"name" : "US Dollar",
"sign" : "$",
"scale" : 3
},
"minimumBalance" : 50.0,
"equityLedgerIdentifier" : "91xx",
"cashAccountIdentifier" : "76xx",
"expenseAccountIdentifier" : "38xx",
"accrueAccountIdentifier" : "82xx",
"interest" : 1.25,
"term" : {
"period" : 12,
"timeUnit" : "MONTH",
"interestPayable" : "MATURITY"
},
"charges" : [ {
"actionIdentifier" : "Close",
"incomeAccountIdentifier" : "10123",
"name" : "Closing Account Fee",
"description" : null,
"proportional" : false,
"amount" : 2.0
}, {
"actionIdentifier" : "Open",
"incomeAccountIdentifier" : "10123",
"name" : "Opening Account Charge",
"description" : null,
"proportional" : false,
"amount" : 2.0
} ],
"flexible" : false,
"active" : false
}, {
"type" : "SAVINGS",
"identifier" : "pdtDefCmTU",
"name" : "PdtName L7ti7L",
"description" : "PdtName L7ti7L",
"currency" : {
"code" : "USD",
"name" : "US Dollar",
"sign" : "$",
"scale" : 3
},
"minimumBalance" : 50.0,
"equityLedgerIdentifier" : "91xx",
"cashAccountIdentifier" : "76xx",
"expenseAccountIdentifier" : "38xx",
"accrueAccountIdentifier" : "82xx",
"interest" : 1.25,
"term" : {
"period" : 12,
"timeUnit" : "MONTH",
"interestPayable" : "MATURITY"
},
"charges" : [ {
"actionIdentifier" : "Close",
"incomeAccountIdentifier" : "10123",
"name" : "Closing Account Fee",
"description" : null,
"proportional" : false,
"amount" : 2.0
}, {
"actionIdentifier" : "Open",
"incomeAccountIdentifier" : "10123",
"name" : "Opening Account Charge",
"description" : null,
"proportional" : false,
"amount" : 2.0
} ],
"flexible" : true,
"active" : false
}, {
"type" : "SAVINGS",
"identifier" : "pdtDef77FN",
"name" : "PdtName 0ppjuj",
"description" : "PdtName 0ppjuj",
"currency" : {
"code" : "USD",
"name" : "US Dollar",
"sign" : "$",
"scale" : 3
},
"minimumBalance" : 50.0,
"equityLedgerIdentifier" : "91xx",
"cashAccountIdentifier" : "76xx",
"expenseAccountIdentifier" : "38xx",
"accrueAccountIdentifier" : "82xx",
"interest" : 1.25,
"term" : {
"period" : 12,
"timeUnit" : "MONTH",
"interestPayable" : "MATURITY"
},
"charges" : [ {
"actionIdentifier" : "Close",
"incomeAccountIdentifier" : "10123",
"name" : "Closing Account Fee",
"description" : null,
"proportional" : false,
"amount" : 2.0
}, {
"actionIdentifier" : "Open",
"incomeAccountIdentifier" : "10123",
"name" : "Opening Account Charge",
"description" : null,
"proportional" : false,
"amount" : 2.0
} ],
"flexible" : false,
"active" : false
}, {
"type" : "SAVINGS",
"identifier" : "pdtDef0U3E",
"name" : "PdtName gmLQGO",
"description" : "PdtName gmLQGO",
"currency" : {
"code" : "USD",
"name" : "US Dollar",
"sign" : "$",
"scale" : 3
},
"minimumBalance" : 50.0,
"equityLedgerIdentifier" : "91xx",
"cashAccountIdentifier" : "76xx",
"expenseAccountIdentifier" : "38xx",
"accrueAccountIdentifier" : "82xx",
"interest" : 1.25,
"term" : {
"period" : 12,
"timeUnit" : "MONTH",
"interestPayable" : "MATURITY"
},
"charges" : [ {
"actionIdentifier" : "Close",
"incomeAccountIdentifier" : "10123",
"name" : "Closing Account Fee",
"description" : null,
"proportional" : false,
"amount" : 2.0
}, {
"actionIdentifier" : "Open",
"incomeAccountIdentifier" : "10123",
"name" : "Opening Account Charge",
"description" : null,
"proportional" : false,
"amount" : 2.0
} ],
"flexible" : false,
"active" : false
} ]
request
GET /instances/transactiontypes?customer=Customer3Rp HTTP/1.1
Content-Type: */*
Accept: application/json
Host: localhost:8080
response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 36
[ {
"transactionType" : "ACCO"
} ]
request
GET /instances/Customerjdc.91xx.00001 HTTP/1.1
Content-Type: */*
Accept: application/json
Host: localhost:8080
response
HTTP/1.1 200 OK
Content-Disposition: inline;filename=f.txt
Content-Type: application/json;charset=UTF-8
Content-Length: 319
{
"customerIdentifier" : "Customerjdc",
"productIdentifier" : "pdtDefmRlE",
"accountIdentifier" : "Customerjdc.91xx.00001",
"alternativeAccountNumber" : null,
"beneficiaries" : [ "Benefiary8K0", "Benefiary6MW" ],
"openedOn" : null,
"lastTransactionDate" : null,
"state" : "PENDING",
"balance" : null
}
request
GET /definitions/pdtDefMl8L 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: 962
{
"type" : "SAVINGS",
"identifier" : "pdtDefMl8L",
"name" : "PdtName r6saxS",
"description" : "PdtName r6saxS",
"currency" : {
"code" : "USD",
"name" : "US Dollar",
"sign" : "$",
"scale" : 3
},
"minimumBalance" : 50.0,
"equityLedgerIdentifier" : "91xx",
"cashAccountIdentifier" : "76xx",
"expenseAccountIdentifier" : "38xx",
"accrueAccountIdentifier" : "82xx",
"interest" : 1.25,
"term" : {
"period" : 12,
"timeUnit" : "MONTH",
"interestPayable" : "MATURITY"
},
"charges" : [ {
"actionIdentifier" : "Close",
"incomeAccountIdentifier" : "10123",
"name" : "Closing Account Fee",
"description" : null,
"proportional" : false,
"amount" : 2.0
}, {
"actionIdentifier" : "Open",
"incomeAccountIdentifier" : "10123",
"name" : "Opening Account Charge",
"description" : null,
"proportional" : false,
"amount" : 2.0
} ],
"flexible" : false,
"active" : false
}
request
GET /definitions/pdtDefQNkO/instances 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: 323
[ {
"customerIdentifier" : "CustomerKRb",
"productIdentifier" : "pdtDefQNkO",
"accountIdentifier" : "CustomerKRb.91xx.00001",
"alternativeAccountNumber" : null,
"beneficiaries" : [ "BenefiaryvbZ", "BenefiaryBcJ" ],
"openedOn" : null,
"lastTransactionDate" : null,
"state" : "PENDING",
"balance" : null
} ]
request
GET /definitions/pdtDefoLxT/commands 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: 3
[ ]
request
POST /instances/Customercrz.91xx.00001 HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
command=TRANSACTION
response
HTTP/1.1 202 Accepted
request
PUT /instances/CustomerEjp.91xx.00001 HTTP/1.1
Content-Type: application/json
Accept: application/json
Host: localhost:8080
Content-Length: 213
{
"customerIdentifier" : "CustomerEjp",
"productIdentifier" : "pdtDef00px",
"accountIdentifier" : "CustomerEjp.91xx.00001",
"beneficiaries" : [ "BeneficiaryOne", "BeneficiaryTwo" ],
"state" : "PENDING"
}
response
HTTP/1.1 202 Accepted
request
PUT /definitions/pdtDefCmTU HTTP/1.1
Content-Type: application/json
Accept: */*
Host: localhost:8080
Content-Length: 908
{
"type" : "SAVINGS",
"identifier" : "pdtDefCmTU",
"name" : "PdtName L7ti7L",
"description" : "PdtName L7ti7L",
"currency" : {
"code" : "USD",
"name" : "US Dollar",
"sign" : "$",
"scale" : 3
},
"minimumBalance" : 50.0,
"equityLedgerIdentifier" : "91xx",
"cashAccountIdentifier" : "76xx",
"expenseAccountIdentifier" : "38xx",
"accrueAccountIdentifier" : "82xx",
"interest" : 1.25,
"term" : {
"period" : 12,
"timeUnit" : "MONTH",
"interestPayable" : "MATURITY"
},
"charges" : [ {
"actionIdentifier" : "Close",
"incomeAccountIdentifier" : "10123",
"name" : "Closing Account Fee",
"proportional" : false,
"amount" : 2.0
}, {
"actionIdentifier" : "Open",
"incomeAccountIdentifier" : "10123",
"name" : "Opening Account Charge",
"proportional" : false,
"amount" : 2.0
} ],
"flexible" : true,
"active" : true
}
response
HTTP/1.1 202 Accepted