Skip to content
dalani257 edited this page Sep 30, 2019 · 18 revisions

Endpoint URL Action (GET,POST,PUT,PATCH,DELETE) Payload Success Error Base URI https://196.6.103.40/selfservicews/ws/tx

Add service https://196.6.103.40/selfservicews/ws/tx/addservice POST { "serviceName": "EPCCOS", "serviceUrl":"https://apps.nibss-plc.com.ng/EPCCOS", "serviceDescription":"testing" } 200 OK

{ "code": "EPCC-2019-09-06-120227", "message": "Service successfully created!", "status": "200" } 400 Bad Request

Edit service https://196.6.103.40/selfservicews/ws/tx/editservice POST Field (name): {"serviceCode": "ASV -2019-09-09-113208", "fieldName":"name","fieldNewValue":"ASV Portal test3"}

Field (url): {"serviceCode": "ASV -2019-09-09-113208", "fieldName":"url","fieldNewValue":"https://docs.spring.io/spring-boot/docs/2.2.0.M5/reference/html/getting-started.html#getting-started"}

Field (description): {"serviceCode": "ASV -2019-09-09-113208", "fieldName":"description","fieldNewValue":"testing!testing!!"} 200 OK

{ "message": "Service successfully edit!", "status": "200" } 400 Bad Request

Delete service https://196.6.103.40/selfservicews/ws/tx/deleteservice DELETE {"serviceCode": "EPCC-2019-09-06-031056"} 200 OK

{ "message": "Service successfully deleted!!", "status": "200" } 400 Bad Request

Send Customer feedback https://196.6.103.40/selfservicews/ws/tx/sendemail POST {"senderName":"banky","mailTo": "bankyalani@gmail.com","subject":"Customer Feedback", "body":"Please give us an API for eDMMS"} { "status": "200" }

Add institution type https://196.6.103.40/selfservicews/ws/tx/addinstitutiontype/{institutiontypename}

e.g: https://196.6.103.40/selfservicews/ws/tx/addinstitutiontype/registrar POST { "institutionTypeName": "Bank” } 200 OK

{"code":"bank-2019-09-30-030435","message":"OK","status":"200"} 400 Bad Request

{"message":"Institution type failed to create!","status":"400"} Edit institution type https://196.6.103.40/selfservicews/ws/tx/editinstitutiontype POST Field (name): {"institutiontypeCode": " bank-2019-09-30-030435", "fieldName":"name","fieldNewValue":"Commercial Bank"}

200 OK

{ "message": "Institution type successfully edited!", "status": "200" } 400 Bad Request

Delete institution type https://196.6.103.40/selfservicews/ws/tx/deleteinstitutiontype DELETE {"institutiontypeCode": " bank-2019-09-30-030435"} 200 OK

{ "message": "Institution type successfully deleted!!", "status": "200" } 400 Bad Request

Add institution https://196.6.103.40/selfservicews/ws/tx/addinstitution POST { "institutionName": "GTB", " institutiontypeCode ":" bank-2019-09-30-030435" } 200 OK

{ "code": "GTB-2019-09-30-030435", "message": "Bank successfully created!", "status": "200" } 400 Bad Request

Edit institution https://196.6.103.40/selfservicews/ws/tx/editinstitution POST Field (name): {"GTB-2019-09-30-030435", "fieldName":" institutionName ","fieldNewValue":"Guaranty Trust Bank"}

200 OK

{ "message": "Institution successfully edited!", "status": "200" } 400 Bad Request

Delete institution https://196.6.103.40/selfservicews/ws/tx/deleteinstitution DELETE {"institutionCode": " GTB-2019-09-30-030435"} 200 OK

{ "message": "Institution successfully deleted!!", "status": "200" } 400 Bad Request