{ "uuid": "942cf98a-2350-4f93-acf2-95e0591b67de", "lastMigration": 29, "name": "Transport Department, Madhya Pradesh", "endpointPrefix": "transportmp/v3", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "c9a93400-5565-40b4-bcce-44c4c2c08679", "documentation": "Driving License", "method": "post", "endpoint": "drvlc/certificate", "responses": [ { "uuid": "e4505779-f3bb-4b3e-95da-d861fa6e5b33", "body": "", "latency": 0, "statusCode": 200, "label": "The certificate data in response body in PDF, XML or JSON format as requested in format parameter.", "headers": [{ "key": "Content-Type", "value": "application/pdf" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7050910d-aee2-488f-829e-504e392ec4a6", "body": "{\n \"error\": \"{{oneOf (array 'missing_parameter' 'invalid_parameter' 'invalid_format' 'invalid_txnid' 'invalid_consentid')}}\",\n \"errorDescription\": \"{{oneOf (array 'Please provide all mandatory parameters' 'Bad request' 'The format parameter is invalid' 'The txnId parameter must be in UUID format' 'The consentId parameter must be in UUID format')}}\"\n}", "latency": 0, "statusCode": 400, "label": "Bad request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fbf1a97c-c66f-4c87-930e-acf26380baa8", "body": "{\n \"error\": \"{{oneOf (array 'invalid_authentication' 'invalid_authorization')}}\",\n \"errorDescription\": \"{{oneOf (array 'Authentication failed' 'You are not authorized to use this API')}}\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized access", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "db3495f3-f232-4eb7-b549-678f9973b1df", "body": "{\n \"error\": \"{{oneOf (array 'record_not_found' 'url_not_found')}}\",\n \"errorDescription\": \"{{oneOf (array 'No record found' 'Your API url or path is incorrect')}}\"\n}", "latency": 0, "statusCode": 404, "label": "No record found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "89716cb7-0b28-4bd2-af7a-8e35dca07fa6", "body": "{\n \"error\": \"{{oneOf (array 'internal_server_error')}}\",\n \"errorDescription\": \"{{oneOf (array 'Internal server error')}}\"\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9eb24230-a40c-4667-9354-f7969b832ab6", "body": "{\n \"error\": \"{{oneOf (array 'bad_gatewy')}}\",\n \"errorDescription\": \"{{oneOf (array 'Publisher service returned an invalid response')}}\"\n}", "latency": 0, "statusCode": 502, "label": "Bad gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "065e4376-ac57-429e-8be1-ff06f94fae1c", "body": "{\n \"error\": \"{{oneOf (array 'service_unavailable')}}\",\n \"errorDescription\": \"{{oneOf (array 'Publisher service is temporarily unavailable')}}\"\n}", "latency": 0, "statusCode": 503, "label": "Service unavailable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1cabe09a-76f7-41ba-a8fb-a0ba2eb125b3", "body": "{\n \"error\": \"{{oneOf (array 'gateway_timeout')}}\",\n \"errorDescription\": \"{{oneOf (array 'Publisher service did not respond in time')}}\"\n}", "latency": 0, "statusCode": 504, "label": "Gateway timeout", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "caf60985-4338-41de-ab55-8d50e0489705", "documentation": "Registration of Vehicles", "method": "post", "endpoint": "rvcer/certificate", "responses": [ { "uuid": "5e63c976-626c-4349-b723-7644b4243cf8", "body": "", "latency": 0, "statusCode": 200, "label": "The certificate data in response body in PDF, XML or JSON format as requested in format parameter.", "headers": [{ "key": "Content-Type", "value": "application/pdf" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cb4fb015-dd62-4e59-88dd-d71c4e8cdc57", "body": "{\n \"error\": \"{{oneOf (array 'missing_parameter' 'invalid_parameter' 'invalid_format' 'invalid_txnid' 'invalid_consentid')}}\",\n \"errorDescription\": \"{{oneOf (array 'Please provide all mandatory parameters' 'Bad request' 'The format parameter is invalid' 'The txnId parameter must be in UUID format' 'The consentId parameter must be in UUID format')}}\"\n}", "latency": 0, "statusCode": 400, "label": "Bad request", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2a5087b1-453f-4afc-90ef-333201102695", "body": "{\n \"error\": \"{{oneOf (array 'invalid_authentication' 'invalid_authorization')}}\",\n \"errorDescription\": \"{{oneOf (array 'Authentication failed' 'You are not authorized to use this API')}}\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized access", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9fa5b73e-8e23-49ed-b2c0-8a9c7c7c96b3", "body": "{\n \"error\": \"{{oneOf (array 'record_not_found' 'url_not_found')}}\",\n \"errorDescription\": \"{{oneOf (array 'No record found' 'Your API url or path is incorrect')}}\"\n}", "latency": 0, "statusCode": 404, "label": "No record found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2a145de2-c98a-46e7-86bb-f30db79525a8", "body": "{\n \"error\": \"{{oneOf (array 'internal_server_error')}}\",\n \"errorDescription\": \"{{oneOf (array 'Internal server error')}}\"\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a918fde2-acb4-45d0-8226-141d18603aa0", "body": "{\n \"error\": \"{{oneOf (array 'bad_gatewy')}}\",\n \"errorDescription\": \"{{oneOf (array 'Publisher service returned an invalid response')}}\"\n}", "latency": 0, "statusCode": 502, "label": "Bad gateway", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "db011bf5-9404-4bf9-8613-412a4d23d23a", "body": "{\n \"error\": \"{{oneOf (array 'service_unavailable')}}\",\n \"errorDescription\": \"{{oneOf (array 'Publisher service is temporarily unavailable')}}\"\n}", "latency": 0, "statusCode": 503, "label": "Service unavailable", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e0c1b336-7579-48c1-8c88-aef8e67d53aa", "body": "{\n \"error\": \"{{oneOf (array 'gateway_timeout')}}\",\n \"errorDescription\": \"{{oneOf (array 'Publisher service did not respond in time')}}\"\n}", "latency": 0, "statusCode": 504, "label": "Gateway timeout", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "c9a93400-5565-40b4-bcce-44c4c2c08679" }, { "type": "route", "uuid": "caf60985-4338-41de-ab55-8d50e0489705" } ] }