Documentations for API
Name | Type | Values | Description |
---|---|---|---|
clientSecret | TEXT | Access-Token | Auth2.0 verification |
Accept | JSON | application/json | application/json |
Content-Type | JSON | application/json | application/json |
clientId | TEXT | ************* | ************* |
organizationId | TEXT | 223 | Authenticate organization |
Name | Description | Required | Parameter Type | Length | Sample Value |
---|
{ "getBundleReq": { "LoginToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJQYXlsb2FkIjoiVC9jc24wUWk5MlNuT0lBcmdxejBYei9kTERWRXBZblhqYkRpMC9iaFE2aFVCOFhPSmlMRldnWlJPSll2dWw5QzJJZnlQb3RvdWdqR2JLamFmbk1xZnl0WW1yVURsTzBSNFY2cG9NdzNVZmFUeE5sU2R1TTdWUzNaYUpxVjYzK0trQjM5eVE2TXJleG92c0hDQUthcjlVdkpsYVFwOVpGU2NSUlBMSkNQVDhrNEUwYXBHa3ZiK1I4UDdRMU90d0o3Rm1lemZJTm1pUmZVL3VWdFFYYlJZKyt0Um8yNDh5alFxc2NYeDc1WVBBeldYYlJzc3lreHM3OVZKVjQxay9VSGJCeFRibjNETkNoNjlhOVpvaGVvclhudERFdmRtUE0vODJqSUxkTU5BdXM9IiwibmJmIjoxNzQ5MDIzNDczLCJleHAiOjE5MjkwMjM0NzMsImlhdCI6MTc0OTAyMzQ3MywiaXNzIjoiWmluZGlnaUJhY2tlbmQiLCJhdWQiOiJaaW5kaWdpQXBwIn0.Lo6oHdofF_PeJKLQb8WYWInGeW2dgJHjPpsvo2NjCrs", "DeviceID": "DeviceID", "MobileNo": "03458542952" } }
Name | Description | Parameter Type | Length | Sample Value |
---|
{ "getBundleRes": { "responseCode": "00", "responseDescription": "Sucessful", "bundles": [ { "companyId": 1, "company": "Telenor", "logo": "https://zindigi-qa.appinsnap.com/android/Content/Telco/[email protected]", "unSelectedImage": "https://zindigi-qa.appinsnap.com/android/Content/Telco/[email protected]", "logoEnable": true, "unSelectedImageEnable": false, "promotionUrl": "", "promotionClickLink": false, "bundleTypes": [ { "company": "Telenor", "type": "All", "subBundlesTypes": [ "productId": "10245356", "name": "Hajj & Umrah Bundle | Prepaid", "bundleId": "502724", "title1": "SMS", "title1Value": "30", "title2": "GB", "title2Value": "1", "title3": "", "title3Value": "", "title4": "", "title4Value": "", "title5": "GB", "title5Value": "1", "title6": "IR", "title6Value": "", "title7": "IDD", "title7Value": "", "onNet": "", "offNet": "", "sms": "", "internet": "", "validity": "30", "instructions": "* \"• Minutes: 30 Min (Incoming & outgoing voice minutes) • SMS: 30 • Country Offered: UAE, OMAN, Qatar, KSA Only • Data: 1,000 MBs\"", "offer": false, "offerType": 0, "offerLabel": "", "offerColor": "", "offerOldPrice": "", "token": "", "icon": "https://zindigi-qa.appinsnap.com/android/Content/Telco/[email protected]", "amount": "798", "company": "Telenor", "type": "Hybrid", "receiverMobileNo": "", "nickname": "" } ] }, { "company": "Telenor", "type": "All", "subBundlesTypes": [ { "productId": "10245356", "name": "Hajj & Umrah Bundle | Prepaid", "bundleId": "502724", "title1": "SMS", "title1Value": "30", "title2": "GB", "title2Value": "1", "title3": "", "title3Value": "", "title4": "", "title4Value": "", "title5": "GB", "title5Value": "1", "title6": "IR", "title6Value": "", "title7": "IDD", "title7Value": "", "onNet": "", "offNet": "", "sms": "", "internet": "", "validity": "30", "instructions": "* \"• Minutes: 30 Min (Incoming & outgoing voice minutes) • SMS: 30 • Country Offered: UAE, OMAN, Qatar, KSA Only • Data: 1,000 MBs\"", "offer": false, "offerType": 0, "offerLabel": "", "offerColor": "", "offerOldPrice": "", "token": "", "icon": "https://zindigi-qa.appinsnap.com/android/Content/Telco/[email protected]", "amount": "798", "company": "Telenor", "type": "Hybrid", "receiverMobileNo": "", "nickname": "" } ] } ], "userSubscribedBundles": [] } ] } }
{ "getBundleRes": { "responseCode": "00", "responseDescription": "Sucessful", "bundles": [ { "companyId": 1, "company": "Telenor", "logo": "https://zindigi-qa.appinsnap.com/android/Content/Telco/[email protected]", "unSelectedImage": "https://zindigi-qa.appinsnap.com/android/Content/Telco/[email protected]", "logoEnable": true, "unSelectedImageEnable": false, "promotionUrl": "", "promotionClickLink": false, "bundleTypes": [ { "company": "Telenor", "type": "All", "subBundlesTypes": [ "productId": "10245356", "name": "Hajj & Umrah Bundle | Prepaid", "bundleId": "502724", "title1": "SMS", "title1Value": "30", "title2": "GB", "title2Value": "1", "title3": "", "title3Value": "", "title4": "", "title4Value": "", "title5": "GB", "title5Value": "1", "title6": "IR", "title6Value": "", "title7": "IDD", "title7Value": "", "onNet": "", "offNet": "", "sms": "", "internet": "", "validity": "30", "instructions": "* \"• Minutes: 30 Min (Incoming & outgoing voice minutes) • SMS: 30 • Country Offered: UAE, OMAN, Qatar, KSA Only • Data: 1,000 MBs\"", "offer": false, "offerType": 0, "offerLabel": "", "offerColor": "", "offerOldPrice": "", "token": "", "icon": "https://zindigi-qa.appinsnap.com/android/Content/Telco/[email protected]", "amount": "798", "company": "Telenor", "type": "Hybrid", "receiverMobileNo": "", "nickname": "" } ] }, { "company": "Telenor", "type": "All", "subBundlesTypes": [ { "productId": "10245356", "name": "Hajj & Umrah Bundle | Prepaid", "bundleId": "502724", "title1": "SMS", "title1Value": "30", "title2": "GB", "title2Value": "1", "title3": "", "title3Value": "", "title4": "", "title4Value": "", "title5": "GB", "title5Value": "1", "title6": "IR", "title6Value": "", "title7": "IDD", "title7Value": "", "onNet": "", "offNet": "", "sms": "", "internet": "", "validity": "30", "instructions": "* \"• Minutes: 30 Min (Incoming & outgoing voice minutes) • SMS: 30 • Country Offered: UAE, OMAN, Qatar, KSA Only • Data: 1,000 MBs\"", "offer": false, "offerType": 0, "offerLabel": "", "offerColor": "", "offerOldPrice": "", "token": "", "icon": "https://zindigi-qa.appinsnap.com/android/Content/Telco/[email protected]", "amount": "798", "company": "Telenor", "type": "Hybrid", "receiverMobileNo": "", "nickname": "" } ] } ], "userSubscribedBundles": [] } ] } }
{ "messages": "Bad Request - Invalid Access Token", "errorcode": "4001" }
{ "messages": "Bad Request - Invalid Request Payload", "errorcode": "4002" }
{ "messages": "Bad Request - Invalid Authorization Header", "errorcode": "4003" }
{ "messages": "Something Went Wrong", "errorcode": "4004" }
{ "messages": "Record Not Found", "errorcode": "4005" }
{ "messages": "Invalid Client Id\/Secret", "errorcode": "4006" }
{ "messages": "Bad Request - Invalid Access Token", "errorcode": "4007" }
Name | Values | Description |
---|---|---|
Content-Type | application/json | Content Type application/json is supported |
Accept | application/json | Content Type application/json is supported |
organizationId | xyz | You will make a call to the auth-blb api and give it your client ID. You should add the client secret and organisation ID it returns here. |
clientId | Enter your verified Client Id | |
clientSecret | Enter Your Verified Client Secret |