Skip to content
bankyalani edited this page Sep 4, 2019 · 18 revisions

The API doc for NIBSS self service portal (Work still in progress)

Base URI https://196.6.103.40/selfservicews/ws/tx

1. Add institution type Endpoint: https://196.6.103.40/selfservicews/ws/tx/addinstitutiontype/{institutiontypename} e.g: https://196.6.103.40/selfservicews/ws/tx/addinstitutiontype/registrar

Expected Response (Success): {"code":"registrar-2019-09-03-030435","message":"OK","status":"200"}

Expected Response (Failed): {"message":"Institution type failed to create!","status":"500"}

2. Add institution Endpoint: https://196.6.103.40/selfservicews/ws/tx/addinstitution/{institutiontype}/{institutionname}/{code} e.g: https://196.6.103.40/selfservicews/ws/tx/addinstitution/17/datamax/923

Expected Response (Success): {"message":"OK","status":"200"}

### ## # ### 3. Add role

1.2 Services

  1. Add service Endpoint: https://196.6.103.40/selfservicews/ws/tx/addservice/{servicename}/{serviceurl}/{servicedescription} e.g: https://196.6.103.40/selfservicews/ws/tx/addservice/epcosssssss222/https%3A%2F%2Fedmms.nibss-plc.com.ng%2FeDocumentMgr/testing

Note: URL string should be encoded before passing.

https://196.6.103.40/selfservicews/ws/tx/addservice/epcosssssss222/https%3A%2F%2Fedmms.nibss-plc.com.ng%2FeDocumentMgr/testing

Expected Result: {"code":"epco-2019-09-04-015019","message":"Service successfully created!","status":"200"}

  1. Edit service

Endpoint: https://196.6.103.40/selfservicews/ws/tx/addservice/{servicename}/{serviceurl}/{servicedescription}

e.g. https://196.6.103.40/selfservicews/ws/tx/editservice/epco20190904113854/EPCOSI/https%3A%2F%2Fedmms.nibss-plc.com.ng%2FeDocumentMgr/testing