{ "info": { "name": "Api Documentation", "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json" }, "item": [ { "name": "Gets a loan advance.", "description": "Get a loan advance for an MTN customer.", "request": { "auth": [], "method": "Post", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application\/json", "type": "application\/json", "description": "" } ], "url": { "raw": "loan-channelvas-system-mtnapitest.e4ff.pro-eu-west-1.openshiftapps.com\/loans\/{id}\/advance", "protocol": "https", "host": [ "loan-channelvas-system-mtnapitest", "e4ff", "pro-eu-west-1", "openshiftapps", "com" ], "path": [ "loans", "{id}", "advance" ], "query": [ { "key": "bandGroup", "value": "", "required": false, "type": "integer", "description": "" }, { "key": "bandName", "value": "", "required": false, "type": "string", "description": "" } ] } }, "response": [ { "code": 200, "status": "OK", "name": "OK", "schema": { "_links": { "deprecation": { "type": "string", "xml": { "name": "deprecation", "attribute": true, "wrapped": false } }, "href": { "type": "string", "xml": { "name": "href", "attribute": true, "wrapped": false } }, "hreflang": { "type": "string", "xml": { "name": "hreflang", "attribute": true, "wrapped": false } }, "media": { "type": "string", "xml": { "name": "media", "attribute": true, "wrapped": false } }, "rel": { "type": "string", "xml": { "name": "rel", "attribute": true, "wrapped": false } }, "templated": { "type": "boolean" }, "title": { "type": "string", "xml": { "name": "title", "attribute": true, "wrapped": false } }, "type": { "type": "string", "xml": { "name": "type", "attribute": true, "wrapped": false } } }, "status": { "type": "string", "enum": [ "FAILED", "COMPLETED", "INITED" ] }, "transactionId": { "type": "string" } }, "body": "{\"_links\":{\"deprecation\":\"string\",\"href\":\"string\",\"hreflang\":\"string\",\"media\":\"string\",\"rel\":\"string\",\"templated\":true,\"title\":\"string\",\"type\":\"string\"},\"status\":\"string\",\"transactionId\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 201, "status": "Created", "name": "Created", "schema": [], "body": "[]", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 401, "status": "Unauthorized", "name": "Unauthorized", "schema": [], "body": "[]", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 403, "status": "Forbidden", "name": "Forbidden", "schema": [], "body": "[]", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 404, "status": "Not Found", "name": "Not Found", "schema": [], "body": "[]", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] } ] }, { "name": "Retrieves a the loan eligibility status.", "description": "Retrieves a the loan eligibility status of an MTN customer.", "request": { "auth": [], "method": "Get", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application\/json", "type": "application\/json", "description": "" } ], "url": { "raw": "loan-channelvas-system-mtnapitest.e4ff.pro-eu-west-1.openshiftapps.com\/loans\/{id}\/eligibility", "protocol": "https", "host": [ "loan-channelvas-system-mtnapitest", "e4ff", "pro-eu-west-1", "openshiftapps", "com" ], "path": [ "loans", "{id}", "eligibility" ] } }, "response": [ { "code": 200, "status": "OK", "name": "OK", "schema": { "_links": { "deprecation": { "type": "string", "xml": { "name": "deprecation", "attribute": true, "wrapped": false } }, "href": { "type": "string", "xml": { "name": "href", "attribute": true, "wrapped": false } }, "hreflang": { "type": "string", "xml": { "name": "hreflang", "attribute": true, "wrapped": false } }, "media": { "type": "string", "xml": { "name": "media", "attribute": true, "wrapped": false } }, "rel": { "type": "string", "xml": { "name": "rel", "attribute": true, "wrapped": false } }, "templated": { "type": "boolean" }, "title": { "type": "string", "xml": { "name": "title", "attribute": true, "wrapped": false } }, "type": { "type": "string", "xml": { "name": "type", "attribute": true, "wrapped": false } } }, "bands": { "bandGroup": { "type": "integer", "format": "int32" }, "bandName": { "type": "string" } }, "status": { "type": "string", "enum": [ "ELIGIBLE", "NE_LOAN", "NE_TCL_REACHED" ] } }, "body": "{\"_links\":{\"deprecation\":\"string\",\"href\":\"string\",\"hreflang\":\"string\",\"media\":\"string\",\"rel\":\"string\",\"templated\":true,\"title\":\"string\",\"type\":\"string\"},\"bands\":{\"bandGroup\":1,\"bandName\":\"string\"},\"status\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 401, "status": "Unauthorized", "name": "Unauthorized", "schema": [], "body": "[]", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 403, "status": "Forbidden", "name": "Forbidden", "schema": [], "body": "[]", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 404, "status": "Not Found", "name": "Not Found", "schema": [], "body": "[]", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] } ] } ] }