Admin Portal Functionalities APIs
POSTAdd Languages
- Description
- Adds languages.
- Request Endpoint
- POST https://<Example api server address>/admin/language
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"language\" : \"french\", \"code\" : \"FR\" }" \ 'https://core.dev.Example.net/api/admin/language'
- POST body attributes (JSON)
Attribute Type Use Description language
String Required The language name. code
String Required The language code. - POST body
Headers: Content-Type: application/json
{ "language": "french", "code": "FR" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "4b7573b8-46eb-4cab-aae5-6b0269712ad0", "updatedBy": "", "language": "french", "code": "FR" }, "detail": null, "error": false, "message": "Language added successful" }
POSTAdd Location
- Description
- Adds location.
- Request Endpoint
- POST https://<Example api server address>/admin/location
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"location\" : \"Bangalore\", \"code\" : \"BR\" }" \ 'https://core.dev.Example.net/api/admin/location'
- POST body attributes (JSON)
Attribute Type Use Description location
String Required The location name. code
String Required The location code. - POST body
Headers: Content-Type: application/json
{ "location": "Bangalore", "code": "BR" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "dc8cbf9f-5edd-4625-a7ad-9dd38937449a", "updatedBy": "", "location": "Bangalore", "code": "BR" }, "detail": null, "error": false, "message": "Location added successful" }
POSTAdd Promo Code Information
- Description
- Allows an Admin to add multiple promo code information for an application at once.
- Request Endpoint
- POST https://<Example api server address>/admin/promocode
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "[ { \"promoCode\": \"PC1234\", \"amount\":10.25, \"applicationId\" : \"cbab1a87-243a-4319-8ae4-e93ca5cc3f6f\", \"validity\" : \"2016-03-20\", \"expired\" : false }, { \"promoCode\": \"sfghfwe\", \"amount\":15.25, \"applicationId\" : \"b4724f5c-a88f-485e-9629-094afec84bee\", \"validity\" : \"2016-03-20\", \"expired\" : false }, { \"promoCode\": \"erg35yy5\", \"amount\":30.25, \"applicationId\" : \"e827e521-0484-479b-a389-8c4d6116dbec\", \"validity\" : \"2016-03-20\", \"expired\" : false } ]" \ 'https://core.dev.Example.net/api/admin/promocode'
- POST body attributes (JSON)
Attribute Type Use Description promoCode
String Required Any string (string should be between 6-32 characters). amount
Number Required The bonus amount associated with promocode. applicationId
String Required An application UDID to which you want to apply the promo code. validity
String Optional Expiry date of the promocode. expired
String Optional True/false, whether the promocode is expired or not. - POST body [array]
Headers: Content-Type: application/json
[ { "promoCode": "PC1234", "amount": 10.25, "applicationId": "cbab1a87-243a-4319-8ae4-e93ca5cc3f6f", "validity": "2016-03-20", "expired": false }, { "promoCode": "sfghfwe", "amount": 15.25, "applicationId": "b4724f5c-a88f-485e-9629-094afec84bee", "validity": "2016-03-20", "expired": false }, { "promoCode": "erg35yy5", "amount": 30.25, "applicationId": "e827e521-0484-479b-a389-8c4d6116dbec", "validity": "2016-03-20", "expired": false } ]
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "b73ad568-d84e-4db2-a86d-58cf92e601e3", "updatedBy": "", "application": { "id": "cbab1a87-243a-4319-8ae4-e93ca5cc3f6f", "updatedBy": "", "appPackage": null, "banner": null, "bundleIdentifier": "bundle123", "casino": { "id": "38d09d6e-12e1-44cb-ba2f-c69afc2806f3", "updatedBy": "", "imageUrl": "UserAppCas", "name": "UserAppCas", "videoUrl": "UserAppCas" }, "casinoId": null, "category": { "id": "5a1e1b8b-db12-4f64-a6ae-85cf1c6dbc90", "updatedBy": "", "imageUrl": "UserAppCat", "name": "UserAppCat", "videoUrl": "UserAppCat" }, "categoryId": null, "description": null, "downloads": null, "featured": null, "gameAppVersions": null, "image": null, "keywords": null, "latestBuild": null, "latestVersion": null, "name": "Useful", "order": null, "paragraph1": null, "paragraph2": null, "paragraph3": null, "paragraph4": null, "presetPriceList": null, "price": null, "publisher": null, "ranking": null, "rating": null, "sliderImages": null, "subtitle": null, "updated": null, "video": null, "status": null, "downloadLink": null }, "promoCode": "PC1264", "amount": 10.25, "validity": 1458432000000, "expired": false, "applicationId": "cbab1a87-243a-4319-8ae4-e93ca5cc3f6f" }, { "id": "cc910a26-b818-4c9c-b02b-53bffc9d3420", "updatedBy": "", "application": { "id": "b4724f5c-a88f-485e-9629-094afec84bee", "updatedBy": "", "appPackage": null, "banner": null, "bundleIdentifier": "bundle56", "casino": { "id": "38d09d6e-12e1-44cb-ba2f-c69afc2806f3", "updatedBy": "", "imageUrl": "UserAppCas", "name": "UserAppCas", "videoUrl": "UserAppCas" }, "casinoId": null, "category": { "id": "5a1e1b8b-db12-4f64-a6ae-85cf1c6dbc90", "updatedBy": "", "imageUrl": "UserAppCat", "name": "UserAppCat", "videoUrl": "UserAppCat" }, "categoryId": null, "description": null, "downloads": null, "featured": null, "gameAppVersions": null, "image": null, "keywords": null, "latestBuild": null, "latestVersion": null, "name": "Useless", "order": null, "paragraph1": null, "paragraph2": null, "paragraph3": null, "paragraph4": null, "presetPriceList": null, "price": null, "publisher": null, "ranking": null, "rating": null, "sliderImages": null, "subtitle": null, "updated": null, "video": null, "status": null, "downloadLink": null }, "promoCode": "sfgdshfwe", "amount": 15.25, "validity": 1458432000000, "expired": false, "applicationId": "b4724f5c-a88f-485e-9629-094afec84bee" }, { "id": "9d5f08bf-e22e-4185-9984-3006dbb071bf", "updatedBy": "", "application": { "id": "e827e521-0484-479b-a389-8c4d6116dbec", "updatedBy": "", "appPackage": null, "banner": null, "bundleIdentifier": "bundle129", "casino": { "id": "d07de3bd-f1f2-48c9-b880-97c8649ced97", "updatedBy": "", "imageUrl": "UserAppCas1", "name": "UserAppCas1", "videoUrl": "UserAppCas1" }, "casinoId": null, "category": { "id": "0bcf2e95-d4bc-4cc3-9480-4d9b774055c3", "updatedBy": "", "imageUrl": "UserAppCat1", "name": "UserAppCat1", "videoUrl": "UserAppCat1" }, "categoryId": null, "description": null, "downloads": null, "featured": null, "gameAppVersions": null, "image": null, "keywords": null, "latestBuild": null, "latestVersion": null, "name": "Usenone", "order": null, "paragraph1": null, "paragraph2": null, "paragraph3": null, "paragraph4": null, "presetPriceList": null, "price": null, "publisher": null, "ranking": null, "rating": null, "sliderImages": null, "subtitle": null, "updated": null, "video": null, "status": null, "downloadLink": null }, "promoCode": "ergsf35yy5", "amount": 30.25, "validity": 1458432000000, "expired": false, "applicationId": "e827e521-0484-479b-a389-8c4d6116dbec" } ], "detail": null, "error": false, "message": "Promo code info added successfully" }
DELETEDelete Promo Code Information
- Description
- Allows an Admin to delete promo code information.
- Request Endpoint
- DELETE https://<Example api server address>/admin/promocode/{id}
- Parameters
Parameter Type Use Description id String Required Unique id of promo code information. - cURL syntax
curl --include \ --request DELETE \ 'https://core.dev.Example.net/api/admin/promocode/id'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": null, "detail": null, "error": false, "message": "Deleting promo code successful" }
PUTEdit Language
- Description
- Updates the language.
- Request Endpoint
- PUT https://<Example api server address>/admin/language/{id}
- Parameters
Parameter Type Use Description id String Required The language id. - cURL syntax
curl --include \ --request PUT \ --header "Content-Type: application/json" \ --data-binary "{ \"language\" : \"Spanish\" }" \ 'https://core.dev.Example.net/api/admin/language/id'
- POST body attributes (JSON)
Attribute Type Use Description language
String Required The language name. code
String Required The language code. - PUT body
Headers: Content-Type: application/json
{ "language": "Spanish" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "4b7573b8-46eb-4cab-aae5-6b0269712ad0", "updatedBy": "", "language": "Spanish", "code": "FR" }, "detail": null, "error": false, "message": "Language updated successful" }
PUTEdit Location
- Description
- Updates a location.
- Request Endpoint
- PUT https://<Example api server address>/admin/location/{id}
- Parameters
Parameter Type Use Description id String Required The location id. - cURL syntax
curl --include \ --request PUT \ --header "Content-Type: application/json" \ --data-binary "{ \"location\" : \"Italy\" }" \ 'https://core.dev.Example.net/api/admin/location/id'
- PUT body attributes (JSON)
Attribute Type Use Description location
String Required The location name. - PUT body
Headers: Content-Type: application/json
{ "location": "Italy" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "dc8cbf9f-5edd-4625-a7ad-9dd38937449a", "updatedBy": "", "location": "Italy", "code": "BR" }, "detail": null, "error": false, "message": "Location updated successful" }
GETFetch all Blocked Users
- Description
- Fetches all blocked users.
- Request Endpoint
- GET https://<Example api server address>/admin/blocked/user
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/blocked/user'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "dc26a81a-c3c3-41eb-951c-e1a27fa4ba92", "updatedBy": "", "addresses": [ { "id": "f694a645-de3e-4972-ac23-f86a597d2929", "updatedBy": "", "addressType": "HOME", "city": "Bangalore", "country": null, "countryCode": null, "county": null, "postal": "560073", "state": null, "street1": "Wilson garden", "street2": null, "street3": null }, { "id": "29b5e7df-7f07-4bf2-9464-d1ef74d67445", "updatedBy": "", "addressType": "HOME", "city": "Bangalore", "country": null, "countryCode": null, "county": null, "postal": "560073", "state": null, "street1": "Wilson garden", "street2": null, "street3": null } ], "birthDateDay": 15, "birthDateMonth": 9, "birthDateYear": 1991, "devices": [ { "id": "b125de88-9964-4d66-b098-40bbf5507819", "updatedBy": "", "description": null, "deviceStatus": "NORMAL", "manufacturer": "manufacturer", "model": "model", "os": "some os", "udid": "udid-12345", "simStateHashCode": null, "simCardState": null } ], "emailAuthenticationChannels": [ { "addedOn": 1455625239183, "blockStatus": "NORMAL", "deletedOn": null, "emailAddress": "rn.shruti@gmail.com", "emailPinResetStatus": "RESET_NA", "emailVerificationStatus": "VERIFIED", "lastUsedOn": 1455625239183, "loginType": "EMAIL", "primary": null } ], "firstName": "Shruti", "fullName": "Shruti Nagarkar", "groupTag": [ "some os", 1991, "model", "560073", "581320", "India", "MOBILE", "Bangalore", "manufacturer", "1991", "EMAIL" ], "lastName": "Nagarkar", "locationCountry": "India", "locationZipCode": "581320", "mobileAuthenticationChannels": [ { "addedOn": 1455625239183, "blockStatus": "NORMAL", "deletedOn": null, "lastUsedOn": 1463722890666, "loginType": "MOBILE", "mobileNumber": "+918050022027", "mobilePinResetStatus": "RESET_PROGRESS", "mobileVerificationStatus": "VERIFICATION_PENDING", "primary": false } ], "pinCreated": true, "profileImagePath": "www.google.com", "profileName": "ShrutiN", "registrationDate": 1455625239181, "socialAuthenticationChannels": [ { "addedOn": 1455625239183, "blockStatus": "NORMAL", "deletedOn": null, "lastUsedOn": 1455625239183, "loginType": "FACEBOOK", "socialId": "12937219837213" } ], "status": "BLOCKED", "timezone": "IST", "userSetting": { "autoUpdateBetcadeApp": true, "autoUpdateDownloadedApps": true, "monthlyDepositMaxLimit": 2414, "monthlyDepositMaxLimitCurrency": "USD", "prefillUserInfoInCasino": false, "receiveEmailReceipt": true, "receiveNotifications": false, "shareRegistrationInfo": true, "userEmailProvided": false, "versionOfDownloadedBetcadeApp": "sg34", "wifiDownloadLimitInMB": 232, "preferredCategories": [ "UserAppCat", "lottery", "mad", "dog" ], "autoSaveCard": null, "autoAddHomeIcon": null, "receiveUpdateNotifications": null, "receiveAutoUpdatedNotifications": null, "receiveRecommendationNotifications": null }, "verified": true, "pinResetDate": null, "testUser": null } ], "detail": null, "error": false, "message": "Fetching blocked users successful" }
GETFetch all Blocked Users Payment Info
- Description
- Fetches all blocked users payment info.
- Request Endpoint
- GET https://<Example api server address>/admin/blocked/userpaymentinfo
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/blocked/userpaymentinfo'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "14120512-8f45-4bb7-b6f8-49c7a2d2f4ae", "updatedBy": "", "addedOn": null, "defaultPaymentInfo": true, "fullName": "Nagarkar Soumya", "issuingAuthority": "Visa", "lastUsedOn": 1455690558521, "nickName": "Vishwas S", "paymentInfoStatus": "BLOCKED", "paymentProvider": null, "paymentType": "CREDITCARD", "providerPaymentId": "c020757b-adb0-4754-adab-fccd0610eb4f", "providerPaymentNumber": "2006", "paymentAddress": null, "providerToken": "1000000000000043" }, { "id": "14120512-8f45-4bb7-b6f8-49c7a2d2f4af", "updatedBy": "", "addedOn": null, "defaultPaymentInfo": false, "fullName": "Nagarkar Soumya", "issuingAuthority": "ICIC", "lastUsedOn": 1455690558521, "nickName": "SRN", "paymentInfoStatus": "BLOCKED", "paymentProvider": null, "paymentType": "DEBITCARD", "providerPaymentId": "c020757b-adb0-4754-adab-fccd0610eb4f", "providerPaymentNumber": "2353", "paymentAddress": null, "providerToken": null } ], "detail": null, "error": false, "message": "Fetching blocked user payment info successful" }
GETFetch Used Promocode Info
- Description
- Returns a list of promocodes that have already been used by the user. It supports pagination.
- Request Endpoint
- GET https://<Example api server address>/admin/used/promocode
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/used/promocode'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "65e6d7ca-c765-4e32-9679-223d254c3116", "updatedBy": "", "application": { "id": "cbab1a87-243a-4319-8ae4-e93ca5cc3f6f", "updatedBy": "", "appPackage": null, "banner": null, "bundleIdentifier": "bundle123", "casino": { "id": "38d09d6e-12e1-44cb-ba2f-c69afc2806f3", "updatedBy": "", "imageUrl": "UserAppCas", "name": "UserAppCas", "videoUrl": "UserAppCas" }, "casinoId": null, "categories": null, "categoryIds": null, "description": null, "downloads": null, "featured": null, "versionHistories": null, "image": null, "keywords": null, "latestBuild": null, "latestVersion": null, "name": "Useful", "order": null, "paragraph1": null, "paragraph2": null, "paragraph3": null, "paragraph4": null, "presetPriceList": null, "price": null, "publisher": null, "ranking": null, "rating": null, "sliderImages": null, "subtitle": null, "updated": null, "video": null, "status": null, "downloadLink": null, "compatibility": null, "sizeOnDisk": null, "permissionDetails": null, "locationSupported": null, "languageSupported": null, "additionalDetails": null, "tags": [ "live", "dong", "bing" ], "promotionalBonus": 20.45 }, "promoCode": "PROMO123", "amount": 30.25, "validity": 1458432000000, "expired": true, "applicationId": null, "usedOn": 1460875915778 } ], "detail": null, "error": false, "message": "Fetching used promocode details successful" }
POSTFetching Tagged Application
- Description
- Fetches a tagged application.
- Request Endpoint
- POST https://<Example api server address>/admin/app/by/{tag}
- Parameters
Parameter Type Use Description tag String Required An application's tag. - cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"categoryId\" : \"d236c555-4308-4371-aca7-f01118b46ebb\" }" \ 'https://core.dev.Example.net/api/admin/app/by/tag'
- POST body attributes (JSON)
Attribute Type Use Description categoryId
String Optional UUID of the category. - POST body
Headers: Content-Type: application/json
{ "categoryId": "d236c555-4308-4371-aca7-f01118b46ebb" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "221ae573-813c-4f96-a89f-26397fa8781b", "updatedBy": "", "appPackage": "appPac", "banner": "banner", "bundleIdentifier": "ewedg43t34", "casino": { "id": "002e9474-7086-42c0-bf7c-13264d082ea6", "updatedBy": "", "imageUrl": "www.app.com", "name": "AppCasino", "videoUrl": "www.abc.com" }, "casinoId": null, "category": { "id": "d236c555-4308-4371-aca7-f01118b46ebb", "updatedBy": "", "imageUrl": "http://www.gmail.com", "name": "Doodlebug", "videoUrl": "http://www.facebook.com" }, "categoryId": null, "description": "description about application 1", "downloads": 4646, "featured": null, "gameAppVersions": [ { "build": 18, "version": "v0.3", "versionDate": 1459411315203 } ], "image": "www.google.com", "keywords": [ "key1", "key2", "key3", "key4", "key5" ], "latestBuild": 18, "latestVersion": "v0.3", "name": "Application", "order": 345, "paragraph1": "1 paragraph", "paragraph2": "2st paragraph", "paragraph3": "3st paragraph", "paragraph4": "4th para", "presetPriceList": null, "price": 3436, "publisher": null, "ranking": 23, "rating": 23523, "sliderImages": [ "url 1", "url 2", "url 3" ], "subtitle": "subtitle", "updated": null, "video": "www.youtube.com", "status": "SUBMITTED", "downloadLink": null, "compatibility": "kitkat", "sizeOnDisk": "12MB", "permissionDetails": "You should have kitkat version to run this app", "locationSupported": [ "India", "UK" ], "languageSupported": null, "additionalDetails": "This application is very popular", "tags": [ "tes" ] } ], "detail": null, "error": false, "message": "Fetching tagged application successful" }
GETGet All Language Codes
- Description
- Gets all language codes.
- Request Endpoint
- GET https://<Example api server address>/admin/language/codes
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/language/codes'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ "KA", "KA", "dfhgd", "FR", "FR" ], "detail": null, "error": false, "message": "Fetching language codes successful" }
GETGet All Language Names
- Description
- Gets all language names.
- Request Endpoint
- GET https://<Example api server address>/admin/language/names
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/language/names'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ "Kannada", "Kannada", "hsfdffdjd", "hindi" ], "detail": null, "error": false, "message": "Fetching language names successful " }
GETGet All Location Codes
- Description
- Gets all location codes.
- Request Endpoint
- GET https://<Example api server address>/admin/location/codes
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/location/codes'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ "dfhgd", "BR" ], "detail": null, "error": false, "message": "Fetching location codes successful" }
GETGet All Location Names
- Description
- Gets all location names.
- Request Endpoint
- GET https://<Example api server address>/admin/location/names
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/location/names'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ "hsfdffdjd", "Italy" ], "detail": null, "error": false, "message": "Fetching location names successful" }
GETGet All Promo Code Information
- Description
- Allows an Admin to fetch multiple promo code information for an application at once.
- Request Endpoint
- GET https://<Example api server address>/admin/promocode
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/promocode'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "a0af7c03-dd91-4f71-b156-1c173149e745", "updatedBy": "", "application": { "id": "0e358e8e-4f2f-4c67-affb-ccbd5847eb14", "updatedBy": "", "appPackage": "appPac", "banner": "banner", "bundleIdentifier": "app.123", "casino": null, "casinoId": null, "category": null, "categoryId": null, "description": "description about application 1", "downloads": 4649, "featured": true, "gameAppVersions": [ { "build": 19, "version": "v0.6", "versionDate": 1455772929680 }, { "build": 191, "version": "v1.1", "versionDate": 1455772969943 } ], "image": "www.google.com", "keywords": [ "key1", "key2", "key3", "key4", "key5" ], "latestBuild": 191, "latestVersion": "v1.1", "name": "Eden", "order": 345, "paragraph1": "1 paragraph", "paragraph2": "2st paragraph", "paragraph3": "3st paragraph", "paragraph4": "4th para", "presetPriceList": [ 20, 25, 15, 30 ], "price": 3436, "publisher": null, "ranking": 23, "rating": 23523, "sliderImages": [ "url 1", "url 2", "url 3" ], "subtitle": "subtitle", "updated": 1455181600352, "video": "www.youtube.com", "status": null, "downloadLink": null }, "promoCode": "BZRP82", "amount": 30, "validity": null, "expired": false, "applicationId": null }, { "id": "72742c47-be57-4931-9b0f-cd642aa683e2", "updatedBy": "", "application": { "id": "28c10107-298d-499d-8d6c-e1d138782179", "updatedBy": "", "appPackage": "appPac", "banner": "banner", "bundleIdentifier": "qwe", "casino": { "id": "7a8d9f34-64d3-4641-9d66-63ad85768dd2", "updatedBy": "", "imageUrl": "http://www.google.com", "name": "SRS", "videoUrl": "http://www.facebook.com" }, "casinoId": null, "category": { "id": "b8ed89e5-c5cd-4700-9a79-4e6e9b68bb29", "updatedBy": "", "imageUrl": "www.google.com", "name": "OceanLander", "videoUrl": "www.youtube.com" }, "categoryId": null, "description": "description about application 1", "downloads": 4646, "featured": null, "gameAppVersions": [ { "build": 18, "version": "v0.3", "versionDate": 1455774460972 }, { "build": 191, "version": "v1.1", "versionDate": 1455774508678 }, { "build": 299, "version": "v1.6", "versionDate": 1455774544665 } ], "image": "www.google.com", "keywords": [ "key1", "key2", "key3", "key4", "key5" ], "latestBuild": 299, "latestVersion": "v1.6", "name": "App 1.1 Version Earth Edit", "order": 345, "paragraph1": "1 paragraph", "paragraph2": "2st paragraph", "paragraph3": "3st paragraph", "paragraph4": "4th para", "presetPriceList": null, "price": 3436, "publisher": null, "ranking": 23, "rating": 23523, "sliderImages": [ "url 1", "url 2", "url 3" ], "subtitle": "subtitle", "updated": null, "video": "www.youtube.com", "status": null, "downloadLink": null }, "promoCode": "BRPO82", "amount": 45, "validity": null, "expired": false, "applicationId": null } ] "detail": null, "error": false, "message": "Fetched all promo code info successfully" }
GETGet Languages
- Description
- Gets a language.
- Request Endpoint
- GET https://<Example api server address>/admin/language
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/language'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "a4b9bbe2-ef30-4418-8a39-1b6debd78068", "updatedBy": "", "language": "Kannada", "code": "KA" }, { "id": "30810966-9800-4ada-b498-a05a5062891d", "updatedBy": "", "language": "Kannada", "code": "KA" }, { "id": "a5fa28b1-5dc3-4d25-8e3a-bc6c98e7d7a6", "updatedBy": "", "language": "hsfdffdjd", "code": "dfhgd" }, { "id": "4b7573b8-46eb-4cab-aae5-6b0269712ad0", "updatedBy": "", "language": "hindi", "code": "FR" } ], "detail": null, "error": false, "message": "Fetching language info successful" }
GETGet List Of Blacklisted Users
- Description
- Returns list of blacklisted users.
- Request Endpoint
- GET https://<Example api server address>/admin/blacklist?offset=0&limit=100
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/blacklist?offset=0&limit=100'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "error": false, "message": "Fetching blacklist users successful", "detail": null, "data": { "content": [ { "id": "d6141c5a-5b15-4795-a3cf-56f443ae7b28", "updatedBy": "", "firstName": "Shruti", "lastName": "Nagarkar", "fullName": "Shruti Nagarkar", "profileName": "ShrutiN", "registrationDate": 1452598336325, "birthDateDay": 15, "birthDateMonth": 9, "birthDateYear": 1991, "locationCountry": "India", "locationZipCode": "581320", "timezone": "IST", "profileImagePath": "www.google.com", "userSetting": { "autoUpdateBetcadeApp": true, "autoUpdateDownloadedApps": false, "userEmailProvided": false, "monthlyDepositMaxLimit": null, "monthlyDepositMaxLimitCurrency": "USD", "wifiDownloadLimitInMB": 23, "prefillUserInfoInCasino": true, "versionOfDownloadedBetcadeApp": null, "receiveEmailReceipt": null, "receiveNotifications": null, "shareRegistrationInfo": true }, "socialAuthenticationChannels": [ { "loginType": "FACEBOOK", "socialId": "social12345", "addedOn": 1452598336349, "lastUsedOn": 1452598336349, "deletedOn": null } ], "emailAuthenticationChannels": [ { "loginType": "EMAIL", "primary": null, "emailAddress": "rn.shruti@gmail.com", "emailVerificationStatus": "VERIFIED", "emailPinResetStatus": null, "addedOn": 1452598336349, "lastUsedOn": 1452598336349, "deletedOn": null } ], "mobileAuthenticationChannels": [ { "loginType": "MOBILE", "primary": false, "mobileNumber": "+918050022027", "mobileVerificationStatus": "VERIFIED", "mobilePinResetStatus": null, "addedOn": 1452598336349, "lastUsedOn": 1452598336349, "deletedOn": null } ], "addresses": [ { "id": "f378d8ea-b112-4cc9-95e1-6ffa2c9be48b", "updatedBy": "", "street1": "Wilson garden", "street2": null, "street3": null, "city": "Bangalore", "state": null, "county": null, "postal": "560073", "country": null, "addressType": "HOME" }, { "id": "789ddb6c-0999-4b07-8221-4bb1c4f9f933", "updatedBy": "", "street1": "Wilson garden", "street2": null, "street3": null, "city": "Bangalore", "state": null, "county": null, "postal": "560073", "country": null, "addressType": "HOME" } ], "status": "EXISTING", "verified": true, "blockStatus": "BLACKLIST", "pinCreated": true, "reasonForDeleting": null, "lastWrongPinAttemptTime": null, "blockedMinutes": 0, "userBlockedNumber": 0, "userBlockedTime": null } ], "last": true, "totalElements": 1, "totalPages": 1, "size": 50, "number": 0, "sort": null, "first": true, "numberOfElements": 1 } }
GETGet Locations
- Description
- Gets location information.
- Request Endpoint
- GET https://<Example api server address>/admin/location
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/location'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "5706575e554a53f669b2328b", "updatedBy": "", "location": "hsfdffdjd", "code": "dfhgd" }, { "id": "dc8cbf9f-5edd-4625-a7ad-9dd38937449a", "updatedBy": "", "location": "Italy", "code": "BR" } ], "detail": null, "error": false, "message": "Fetching locations info successful" }
GETGet Promo Code Information by ID
- Description
- Allows an Admin to get promo code information based on promoCodeInfoId.
- Request Endpoint
- GET https://<Example api server address>/admin/promocode/{id}
- Parameters
Parameter Type Use Description id String Required Unique id of a - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/promocode/id'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "6179009a-849a-44e3-acde-d645954bade1", "updatedBy": "", "application": { "id": "cbab1a87-243a-4319-8ae4-e93ca5cc3f6f", "updatedBy": "", "appPackage": null, "banner": null, "bundleIdentifier": "bundle123", "casino": { "id": "38d09d6e-12e1-44cb-ba2f-c69afc2806f3", "updatedBy": "", "imageUrl": "UserAppCas", "name": "UserAppCas", "videoUrl": "UserAppCas" }, "casinoId": null, "category": { "id": "5a1e1b8b-db12-4f64-a6ae-85cf1c6dbc90", "updatedBy": "", "imageUrl": "UserAppCat", "name": "UserAppCat", "videoUrl": "UserAppCat" }, "categoryId": null, "description": null, "downloads": null, "featured": null, "gameAppVersions": null, "image": null, "keywords": null, "latestBuild": null, "latestVersion": null, "name": "Useful", "order": null, "paragraph1": null, "paragraph2": null, "paragraph3": null, "paragraph4": null, "presetPriceList": null, "price": null, "publisher": null, "ranking": null, "rating": null, "sliderImages": null, "subtitle": null, "updated": null, "video": null, "status": null, "downloadLink": null }, "promoCode": "PC1234", "amount": 10.25, "validity": null, "expired": false, "applicationId": null }, "detail": null, "error": false, "message": "Fetching promo code info successful" }
GETGet Promo Code Information by Application ID
- Description
- Allows an Admin to get promo code information based on an applicationId.
- Request Endpoint
- GET https://<Example api server address>/admin/promocode/by/app/{applicationid}
- Parameters
Parameter Type Use Description applicationid String Required A unique id of an application. - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/promocode/by/app/applicationid'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "6179009a-849a-44e3-acde-d645954bade1", "updatedBy": "", "application": { "id": "cbab1a87-243a-4319-8ae4-e93ca5cc3f6f", "updatedBy": "", "appPackage": null, "banner": null, "bundleIdentifier": "bundle123", "casino": { "id": "38d09d6e-12e1-44cb-ba2f-c69afc2806f3", "updatedBy": "", "imageUrl": "UserAppCas", "name": "UserAppCas", "videoUrl": "UserAppCas" }, "casinoId": null, "category": { "id": "5a1e1b8b-db12-4f64-a6ae-85cf1c6dbc90", "updatedBy": "", "imageUrl": "UserAppCat", "name": "UserAppCat", "videoUrl": "UserAppCat" }, "categoryId": null, "description": null, "downloads": null, "featured": null, "gameAppVersions": null, "image": null, "keywords": null, "latestBuild": null, "latestVersion": null, "name": "Useful", "order": null, "paragraph1": null, "paragraph2": null, "paragraph3": null, "paragraph4": null, "presetPriceList": null, "price": null, "publisher": null, "ranking": null, "rating": null, "sliderImages": null, "subtitle": null, "updated": null, "video": null, "status": null, "downloadLink": null }, "promoCode": "PC1234", "amount": 10.25, "validity": null, "expired": false, "applicationId": null }, "detail": null, "error": false, "message": "Fetching promo code info successful" }
GETGet Promo Code Information by Promo Code
- Description
- Allows an Admin to get promo code information based on a promoCode.
- Request Endpoint
- GET https://<Example api server address>/admin/promocode/by/{promocode}
- Parameters
Parameter Type Use Description promocode String Required A unique promo code. - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/promocode/by/promocode'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "6179009a-849a-44e3-acde-d645954bade1", "updatedBy": "", "application": { "id": "cbab1a87-243a-4319-8ae4-e93ca5cc3f6f", "updatedBy": "", "appPackage": null, "banner": null, "bundleIdentifier": "bundle123", "casino": { "id": "38d09d6e-12e1-44cb-ba2f-c69afc2806f3", "updatedBy": "", "imageUrl": "UserAppCas", "name": "UserAppCas", "videoUrl": "UserAppCas" }, "casinoId": null, "category": { "id": "5a1e1b8b-db12-4f64-a6ae-85cf1c6dbc90", "updatedBy": "", "imageUrl": "UserAppCat", "name": "UserAppCat", "videoUrl": "UserAppCat" }, "categoryId": null, "description": null, "downloads": null, "featured": null, "gameAppVersions": null, "image": null, "keywords": null, "latestBuild": null, "latestVersion": null, "name": "Useful", "order": null, "paragraph1": null, "paragraph2": null, "paragraph3": null, "paragraph4": null, "presetPriceList": null, "price": null, "publisher": null, "ranking": null, "rating": null, "sliderImages": null, "subtitle": null, "updated": null, "video": null, "status": null, "downloadLink": null }, "promoCode": "PC1234", "amount": 10.25, "validity": null, "expired": false, "applicationId": null }, "detail": null, "error": false, "message": "Fetching promo code info successful" }
GETGet Promo Code Information by Promo Code and Application ID
- Description
- Allows an Admin to get promo code information based on promoCode and unique application id.
- Request Endpoint
- GET https://<Example api server address>/admin/promocode/{promocode}/by/app/{applicationid}
- Parameters
Parameter Type Use Description promocode String Required A unique promo code. applicationid String Required A unique application id. - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/admin/promocode/promocode/by/app/applicationid'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "6179009a-849a-44e3-acde-d645954bade1", "updatedBy": "", "application": { "id": "cbab1a87-243a-4319-8ae4-e93ca5cc3f6f", "updatedBy": "", "appPackage": null, "banner": null, "bundleIdentifier": "bundle123", "casino": { "id": "38d09d6e-12e1-44cb-ba2f-c69afc2806f3", "updatedBy": "", "imageUrl": "UserAppCas", "name": "UserAppCas", "videoUrl": "UserAppCas" }, "casinoId": null, "category": { "id": "5a1e1b8b-db12-4f64-a6ae-85cf1c6dbc90", "updatedBy": "", "imageUrl": "UserAppCat", "name": "UserAppCat", "videoUrl": "UserAppCat" }, "categoryId": null, "description": null, "downloads": null, "featured": null, "gameAppVersions": null, "image": null, "keywords": null, "latestBuild": null, "latestVersion": null, "name": "Useful", "order": null, "paragraph1": null, "paragraph2": null, "paragraph3": null, "paragraph4": null, "presetPriceList": null, "price": null, "publisher": null, "ranking": null, "rating": null, "sliderImages": null, "subtitle": null, "updated": null, "video": null, "status": null, "downloadLink": null }, "promoCode": "PC1234", "amount": 10.25, "validity": null, "expired": false, "applicationId": null }, "detail": null, "error": false, "message": "Fetching promo code info successful" }
POSTGet Starter Pack Applications
- Description
- An Admin can fetch a set of applications as a starter pack based on the values sent.
- If userId is passed, applications based on preferredCategory and starter (tag) will be returned.
- If categoryId is passed, applications based on category and starter (tag) will be returned.
- If none is passed, or if no data is found based on the above scenario, applications which are tagged as top will be returned.
- Request Endpoint
- POST https://<Example api server address>/admin/app/starter/pack
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"userId\" : \"dc26a81a-c3c3-41eb-951c-e1a27fa4ba92\", \"categoryId\" : \"5a1e1b8b-db12-4f64-a6ae-85cf1c6dbc90\" }" \ 'https://core.dev.Example.net/api/admin/app/starter/pack'
- POST body attributes (JSON)
Attribute Type Use Description userId
String Optional UUID of a user. categoryId
String Optional UUID of a category. - POST body
Headers: Content-Type: application/json
{ "userId": "dc26a81a-c3c3-41eb-951c-e1a27fa4ba92", "categoryId": "5a1e1b8b-db12-4f64-a6ae-85cf1c6dbc90" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "52cf7331-01ee-4452-a2c7-4bca40c4abe1", "updatedBy": "", "appPackage": "appPac", "banner": "banner", "bundleIdentifier": "ewedg43t34", "casino": { "id": "38d09d6e-12e1-44cb-ba2f-c69afc2806f3", "updatedBy": "", "imageUrl": "UserAppCas", "name": "UserAppCas", "videoUrl": "UserAppCas" }, "casinoId": null, "category": { "id": "ebc1ed80-fae8-4201-8a2f-c79ada095d7f", "updatedBy": "", "imageUrl": "www.google.com", "name": "categoryName", "videoUrl": "www.youtube.com" }, "categoryId": null, "description": "description about application 1", "downloads": 4646, "featured": null, "gameAppVersions": [ { "build": 18, "version": "v0.3", "versionDate": 1459231629908 } ], "image": "www.google.com", "keywords": [ "key1", "key2", "key3", "key4", "key5" ], "latestBuild": 18, "latestVersion": "v0.3", "name": "Applicat", "order": 345, "paragraph1": "1 paragraph", "paragraph2": "2st paragraph", "paragraph3": "3st paragraph", "paragraph4": "4th para", "presetPriceList": null, "price": 3436, "publisher": null, "ranking": 23, "rating": 23523, "sliderImages": [ "url 1", "url 2", "url 3" ], "subtitle": "subtitle", "updated": null, "video": "www.youtube.com", "status": "SUBMITTED", "downloadLink": null, "compatibility": "kitkat", "sizeOnDisk": "12MB", "permissionDetails": "You should have kitkat version to run this app", "locationSupported": [ "India", "UK" ], "languageSupported": null, "additionalDetails": "This application is very popular", "tags": [ "Top" ] } ], "detail": null, "error": false, "message": "Fetching Starter pack applications successful" }
PUTSet Tags for Application
- Description
- Sets tags for an application.
- Request Endpoint
- PUT https://<Example api server address>/admin/app/tag
- Parameters
- None.
- cURL syntax
curl --include \ --request PUT \ --header "Content-Type: application/json" \ --data-binary "{ \"applications\" : [\"a6fc30e1-41c3-462b-9109-f48d2945d5fd\"], \"tags\" : [\"live\", \"featured\"] }" \ 'https://core.dev.Example.net/api/admin/app/tag'
- PUT body attributes (JSON)
Attribute Type Use Description applications
Array Required UUID of the application. tags
Array Required Any string can be passed, for example: popular, featured, live. - PUT body
Headers: Content-Type: application/json
{ "applications": [ "a6fc30e1-41c3-462b-9109-f48d2945d5fd" ], "tags": [ "live", "featured" ] }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "a6fc30e1-41c3-462b-9109-f48d2945d5fd", "updatedBy": "", "appPackage": "appPac", "banner": "banner", "bundleIdentifier": "e43t34", "casino": { "id": "d07de3bd-f1f2-48c9-b880-97c8649ced97", "updatedBy": "", "imageUrl": "UserAppCas1", "name": "UserAppCas1", "videoUrl": "UserAppCas1" }, "casinoId": null, "category": { "id": "5a1e1b8b-db12-4f64-a6ae-85cf1c6dbc90", "updatedBy": "", "imageUrl": "UserAppCat", "name": "UserAppCat", "videoUrl": "UserAppCat" }, "categoryId": null, "description": "description about application 1", "downloads": 4646, "featured": null, "gameAppVersions": [ { "build": 18, "version": "v0.3", "versionDate": 1459411655124 } ], "image": "www.google.com", "keywords": [ "key1", "key2", "key3", "key4", "key5" ], "latestBuild": 18, "latestVersion": "v0.3", "name": "Application", "order": 345, "paragraph1": "1 paragraph", "paragraph2": "2st paragraph", "paragraph3": "3st paragraph", "paragraph4": "4th para", "presetPriceList": null, "price": 3436, "publisher": null, "ranking": 23, "rating": 23523, "sliderImages": [ "url 1", "url 2", "url 3" ], "subtitle": "subtitle", "updated": null, "video": "www.youtube.com", "status": "SUBMITTED", "downloadLink": null, "compatibility": "kitkat", "sizeOnDisk": "12MB", "permissionDetails": "You should have kitkat version to run this app", "locationSupported": [ "India", "UK" ], "languageSupported": null, "additionalDetails": "This application is very popular", "tags": [ "live", "featured" ] } ], "detail": null, "error": false, "message": "Application is tagged successfully" }
PUTUpdate Promo Code
- Description
- Allows an Admin to update Promo code.
- Request Endpoint
- PUT https://<Example api server address>/admin/promocode/{id}
- Parameters
Parameter Type Use Description id String Optional Unique id of promo code info. - cURL syntax
curl --include \ --request PUT \ --header "Content-Type: application/json" \ --data-binary "{ \"amount\" : 32.65, \"validity\" : \"2016-03-29\", \"expired\" : false }" \ 'https://core.dev.Example.net/api/admin/id/promocode'
- PUT body attributes (JSON)
Attribute Type Use Description amount
String Required Double value you want to set for a promo code. validity
String Optional Date when the promo code expires. expired
String Optional Boolean value saying it is expired or not. - PUT body
Headers: Content-Type: application/json
{ "amount": 32.65, "validity": "2016-03-29", "expired": false }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "6179009a-849a-44e3-acde-d645954bade1", "updatedBy": "", "application": { "id": "cbab1a87-243a-4319-8ae4-e93ca5cc3f6f", "updatedBy": "", "appPackage": null, "banner": null, "bundleIdentifier": "bundle123", "casino": { "id": "38d09d6e-12e1-44cb-ba2f-c69afc2806f3", "updatedBy": "", "imageUrl": "UserAppCas", "name": "UserAppCas", "videoUrl": "UserAppCas" }, "casinoId": null, "category": { "id": "5a1e1b8b-db12-4f64-a6ae-85cf1c6dbc90", "updatedBy": "", "imageUrl": "UserAppCat", "name": "UserAppCat", "videoUrl": "UserAppCat" }, "categoryId": null, "description": null, "downloads": null, "featured": null, "gameAppVersions": null, "image": null, "keywords": null, "latestBuild": null, "latestVersion": null, "name": "Useful", "order": null, "paragraph1": null, "paragraph2": null, "paragraph3": null, "paragraph4": null, "presetPriceList": null, "price": null, "publisher": null, "ranking": null, "rating": null, "sliderImages": null, "subtitle": null, "updated": null, "video": null, "status": null, "downloadLink": null }, "promoCode": "PC1234", "amount": 32.65, "validity": 1459209600000, "expired": false, "applicationId": null }, "detail": null, "error": false, "message": "Updated promo code info successfully" }