User Personalization APIs
POSTAdd Application to Wish List
- Description
- A user can move applications to the wish list so they can download/purchase them later.
- Request Endpoint
- POST https://<Example api server address>/user/wish/list
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"userId\" : \"73e67140-4f44-49db-960c-bed5e6fbfc6b\", \"applicationId\" : \"21c378ab-3a57-4564-9033-f18d9efd7993\" }" \ 'https://core.dev.Example.net/api/user/wish/list'
- POST body attributes (JSON)
Attribute Type Use Description userId
String Required UUID of a user. applicationId
String Required UUID of an application. - POST body
Headers: Content-Type: application/json
{ "userId": "73e67140-4f44-49db-960c-bed5e6fbfc6b", "applicationId": "21c378ab-3a57-4564-9033-f18d9efd7993" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "1be752cd-51d1-45c7-99f4-8e8266113c84", "updatedBy": "", "user": { "id": "73e67140-4f44-49db-960c-bed5e6fbfc6b", "updatedBy": "", "addresses": null, "birthDateDay": 12, "birthDateMonth": 1, "birthDateYear": 1945, "devices": [ { "id": "d311efdb-7496-4373-ae8d-4e0fd59d9fcd", "updatedBy": "", "description": "Old Device", "deviceStatus": "NORMAL", "manufacturer": "Apple", "model": "iPhone 5", "os": "iOS 9", "udid": "udid12345" } ], "emailAuthenticationChannels": [], "firstName": "Shruti ", "fullName": "Shruti Nagarkar", "groupTag": [ "FACEBOOK", "Apple", 1945, "United Kingdom", "iOS 9", "1234234", "iPhone 5" ], "lastName": "Nagarkar", "locationCountry": "United Kingdom", "locationZipCode": "1234234", "mobileAuthenticationChannels": [], "pinCreated": false, "profileImagePath": null, "profileName": "SRN", "registrationDate": 1457089902078, "socialAuthenticationChannels": [ { "addedOn": 1457089902079, "blockStatus": "NORMAL", "deletedOn": null, "lastUsedOn": 1457089902079, "loginType": "FACEBOOK", "socialId": "social120" } ], "status": "NEW", "timezone": null, "userSetting": { "autoUpdateBetcadeApp": true, "autoUpdateDownloadedApps": true, "monthlyDepositMaxLimit": 0, "monthlyDepositMaxLimitCurrency": "GBP", "prefillUserInfoInCasino": true, "receiveEmailReceipt": true, "receiveNotifications": true, "shareRegistrationInfo": true, "userEmailProvided": true, "versionOfDownloadedBetcadeApp": "v1", "wifiDownloadLimitInMB": 0, "preferredCategories": [] }, "verified": true }, "applicationsAdded": [ { "application": { "id": "21c378ab-3a57-4564-9033-f18d9efd7993", "updatedBy": "", "appPackage": "appPac", "banner": "banner", "bundleIdentifier": "ergwedg43t34", "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": 1459145636817 } ], "image": "www.google.com", "keywords": [ "key1", "key2", "key3", "key4", "key5" ], "latestBuild": 18, "latestVersion": "v0.3", "name": "Application 1", "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\" , \"lolypop\"]", "sizeOnDisk": "12MB", "permissionDetails": "You should have kitkat version to run this app", "locationSupported": [ "India", "UK" ], "languageSupported": null, "additionalDetails": "This application is very popular", "tags": null, "starterPack": null }, "addedOn": 1459313208532 } ] }, "detail": null, "error": false, "message": "Moving application to wish list successful" }
DELETEDelete Game App
- Description
- Deletes an application from the wish list.
- Request Endpoint
- DELETE https://<Example api server address>/user/{userid}/wish/list/{applicationid}
- Parameters
Parameter Type Use Description userid String Required UUID of a user. applicationid String Required UUID of an application to be deleted. - cURL syntax
curl --include \ --request DELETE \ 'https://core.dev.Example.net/api/user/userid/wish/list/applicationid'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": true, "detail": null, "error": false, "message": "Deleting an application from wish list successful" }
POSTFetch App Notification Updates
- Description
This service is used to implement the functionality of:
- [EP28 US02] Consumers automatically download updates of CASINO GAME APPS.
- [EP28 US06] Consumer sees an indicator for an available update.
This service gives notifications for apps installed on the device ( by checking device app history).
- Notifications are available for applications which are updated (newer version available) and are installed on device.
- If the last action performed on the app is UNINSTALL, the notification would not be created for the user + device.
To see the notification:
- You will need to "Create Device Application history records" using the Rest service /device/app/history.
- Update the GAME app version using the REST service "/application/updateGameAppVersion/{id}".
- Fetch the notification for the device which was performed in # 1.
- Request Endpoint
- POST https://<Example api server address>/user/application/notification
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"userId\":\"2a883691-b2bb-4a32-8d5a-0a8558eec528\", \"deviceUdid\":\"udid-555\" }" \ 'https://core.dev.Example.net/api/user/application/notification'
- POST body attributes (JSON)
Attribute Type Use Description userId
String Required UUID of a user. deviceUdid
String Required UDID of a device. - POST body
Headers: Content-Type: application/json
{ "userId": "2a883691-b2bb-4a32-8d5a-0a8558eec528", "deviceUdid": "udid-555" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "error": false, "message": "Creating notifications successful", "detail": null, "data": [ { "notificationType": "UPDATE_AVAILABLE", "application": { "id": "e440ce0e-daeb-4c24-93f7-09536e81aeae", "name": "some app", "publisher": null, "subtitle": "subtitle", "description": "description about application 1", "image": "www.google.com", "video": "www.youtube.com", "banner": "banner", "appPackage": "appPac", "version": "version 3", "build": 22, "rating": 23523, "downloads": 4646, "price": 3436, "ranking": 23, "order": 345, "paragraph1": "1 paragraph", "paragraph2": "2st paragraph", "paragraph3": "3st paragraph", "paragraph4": "4th para", "casino": { "id": "b8027923-53d6-4dee-965f-38dad53c07fe", "name": "AppCasino", "imageUrl": "www.app.com", "videoUrl": "www.abc.com" }, "category": { "id": "200a6d29-030a-4a35-8b32-baee2b07a84f", "name": "AppCategory", "imageUrl": "www.google.com", "videoUrl": "www.youtube.com" }, "featured": true, "updated": 1449223066385, "sliderImageURLs": [ "url 1", "url 2", "url 3" ], "keywords": [ "key1", "key2", "key3", "key4", "key5" ], "categoryId": null, "casinoId": null }, "message": "Application some app has a new version. Please update.", "creationDate": 1449225235981 } ] }
GETFetch Applicable Incentives
- Description
- You can get all promotional applications downloaded/installed by all users.
- Request Endpoint
- GET https://<Example api server address>/user/promotion/app
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/user/promotion/app'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "1fed7eb1-17ea-4abe-856c-0991a8d3f873", "updatedBy": "", "user": { "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" } ], "emailAuthenticationChannels": [ { "addedOn": 1455625239183, "blockStatus": "NORMAL", "deletedOn": null, "emailAddress": "rn.shruti@gmail.com", "emailPinResetStatus": "RESET_PROGRESS", "emailVerificationStatus": "VERIFICATION_PENDING", "lastUsedOn": 1455625239183, "loginType": "EMAIL", "primary": null } ], "firstName": "Shruti", "fullName": "Shruti Nagarkar", "groupTag": [ "some os", 1991, "model", "560073", "581320", "India", "MOBILE", "Bangalore", "manufacturer" ], "lastName": "Nagarkar", "locationCountry": "India", "locationZipCode": "581320", "mobileAuthenticationChannels": [ { "addedOn": 1455625239183, "blockStatus": "NORMAL", "deletedOn": null, "lastUsedOn": 1455625239183, "loginType": "MOBILE", "mobileNumber": "+918050022027", "mobilePinResetStatus": null, "mobileVerificationStatus": "VERIFIED", "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": "EXISTING", "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" ] }, "verified": true }, "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, "compatibility": null, "sizeOnDisk": null, "permissionDetails": null, "locationSupported": null, "languageSupported": null, "additionalDetails": null, "tags": [ "live", "dong", "bing" ], "promotionalBonus": 25.5 }, "promotionBonus": 25.75, "used": false }, { "id": "878d155c-f1a1-4c08-80ca-b7caf8de34f0", "updatedBy": "", "user": { "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" } ], "emailAuthenticationChannels": [ { "addedOn": 1455625239183, "blockStatus": "NORMAL", "deletedOn": null, "emailAddress": "rn.shruti@gmail.com", "emailPinResetStatus": "RESET_PROGRESS", "emailVerificationStatus": "VERIFICATION_PENDING", "lastUsedOn": 1455625239183, "loginType": "EMAIL", "primary": null } ], "firstName": "Shruti", "fullName": "Shruti Nagarkar", "groupTag": [ "some os", 1991, "model", "560073", "581320", "India", "MOBILE", "Bangalore", "manufacturer" ], "lastName": "Nagarkar", "locationCountry": "India", "locationZipCode": "581320", "mobileAuthenticationChannels": [ { "addedOn": 1455625239183, "blockStatus": "NORMAL", "deletedOn": null, "lastUsedOn": 1455625239183, "loginType": "MOBILE", "mobileNumber": "+918050022027", "mobilePinResetStatus": null, "mobileVerificationStatus": "VERIFIED", "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": "EXISTING", "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" ] }, "verified": true }, "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, "compatibility": null, "sizeOnDisk": null, "permissionDetails": null, "locationSupported": null, "languageSupported": null, "additionalDetails": null, "tags": [ "live", "dong", "bing" ], "promotionalBonus": 20.75 }, "promotionBonus": 20.75, "used": true } ], "detail": null, "error": false, "message": "Fetching all promotional apps successful" }
GETFetch Last Used Amount
- Description
- This API will fetch the last used amount for an application for a specific user.
- If it is not found, it will fetch the last used amount of any of the other apps within the same category if that exists.
- If not, it will return null.
- Request Endpoint
- GET https://<Example api server address>/user/{id}/application/{applicationId}/lastusedamount
- Parameters
Parameter Type Use Description id String Required UUID of the user. applicationId String Required Filter based on an application. - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/user/id/application/applicationId/lastusedamount'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "error": false, "message": "creating application detail successfully", "detail": null, "data": 100 }
GETFetch Reported Applications
- Description
- A user can get reports.
- Request Endpoint
- GET https://<Example api server address>/user/report
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/user/report'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "42068b0b-62cc-4368-b472-4e0d1cb3f08a", "updatedBy": "", "user": { "id": "0679db90-faf8-4995-bc8a-376c89f81f1a", "updatedBy": "", "addresses": [ { "id": "0446ac22-378b-4c4e-a1e0-05c6b1ae0799", "updatedBy": "", "addressType": null, "city": "Bangalore", "country": "US", "countryCode": "USCODE", "county": "County 99", "postal": "567920.0", "state": "Bangalore", "street1": null, "street2": null, "street3": null } ], "birthDateDay": 12, "birthDateMonth": 5, "birthDateYear": 1970, "devices": [ null ], "emailAuthenticationChannels": [ { "addedOn": null, "blockStatus": "NORMAL", "deletedOn": null, "emailAddress": "sudipta@gmail.in.co96", "emailPinResetStatus": null, "emailVerificationStatus": "VERIFIED", "lastUsedOn": null, "loginType": null, "primary": null } ], "firstName": "su99", "fullName": null, "groupTag": [ "1970", "560100", "Profile99", "US", "sudipta@gmail.in.co96" ], "lastName": "bh99", "locationCountry": "US", "locationZipCode": "560100", "mobileAuthenticationChannels": [], "pinCreated": true, "profileImagePath": null, "profileName": "Profile99", "registrationDate": null, "socialAuthenticationChannels": null, "status": null, "timezone": null, "userSetting": null, "verified": truepload }, "application": { "id": "d5d2a034-dcac-4484-bcc1-9bd5f5d73ab5", "updatedBy": "", "appPackage": "appPac", "banner": "banner", "bundleIdentifier": "app.123", "casino": { "id": "002e9474-7086-42c0-bf7c-13264d082ea6", "updatedBy": "", "imageUrl": "www.app.com", "name": "AppCasino", "videoUrl": "www.abc.com" }, "casinoId": null, "category": null, "categoryId": null, "description": "description about application 1", "downloads": 4646, "featured": true, "gameAppVersions": null, "image": "www.google.com", "keywords": [ "key1", "key2", "key3", "key4", "key5" ], "latestBuild": 20, "latestVersion": "version 1", "name": "some app", "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": 1455690559442, "video": "www.youtube.com", "status": null, "downloadLink": null, "compatibility": null, "sizeOnDisk": null, "permissionDetails": null, "locationSupported": null, "additionalDetails": null, "tags": [ "featured", "live", "popular", "shruthi" ], "languageSupported": null }, "reportMessage": "This application is crashing", "userId": null, "applicationId": null } ], "detail": null, "error": false, "message": "Fetching reports successful" }
GETFetch Wishlist
- Description
- Allows you to fetch all applications moved to the wish list by a user.
- Request Endpoint
- GET https://<Example api server address>/user/{id}/wish/list
- Parameters
Parameter Type Use Description id String Required UUID of a user. - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/user/id/wish/list'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "21c378ab-3a57-4564-9033-f18d9efd7993", "updatedBy": "", "appPackage": "appPac", "banner": "banner", "bundleIdentifier": "ergwedg43t34", "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": 1459145636817 } ], "image": "www.google.com", "keywords": [ "key1", "key2", "key3", "key4", "key5" ], "latestBuild": 18, "latestVersion": "v0.3", "name": "Application 1", "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\" , \"lolypop\"]", "sizeOnDisk": "12MB", "permissionDetails": "You should have kitkat version to run this app", "locationSupported": [ "India", "UK" ], "languageSupported": null, "additionalDetails": "This application is very popular", "tags": null, "starterPack": null } ], "detail": null, "error": false, "message": "Fetching applications from wish list successful" }
GETFilter Application Reports by User
- Description
- A user can get a report by UserID.
- Request Endpoint
- GET https://<Example api server address>/user/report
- Parameters
- None.
- cURL syntax
curl --include \ 'https://core.dev.Example.net/api/user/userid/report'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "42068b0b-62cc-4368-b472-4e0d1cb3f08a", "updatedBy": "", "user": { "id": "0679db90-faf8-4995-bc8a-376c89f81f1a", "updatedBy": "", "addresses": [ { "id": "0446ac22-378b-4c4e-a1e0-05c6b1ae0799", "updatedBy": "", "addressType": null, "city": "Bangalore", "country": "US", "countryCode": "USCODE", "county": "County 99", "postal": "567920.0", "state": "Bangalore", "street1": null, "street2": null, "street3": null } ], "birthDateDay": 12, "birthDateMonth": 5, "birthDateYear": 1970, "devices": [ null ], "emailAuthenticationChannels": [ { "addedOn": null, "blockStatus": "NORMAL", "deletedOn": null, "emailAddress": "sudipta@gmail.in.co96", "emailPinResetStatus": null, "emailVerificationStatus": "VERIFIED", "lastUsedOn": null, "loginType": null, "primary": null } ], "firstName": "su99", "fullName": null, "groupTag": [ "1970", "560100", "Profile99", "US", "sudipta@gmail.in.co96" ], "lastName": "bh99", "locationCountry": "US", "locationZipCode": "560100", "mobileAuthenticationChannels": [], "pinCreated": true, "profileImagePath": null, "profileName": "Profile99", "registrationDate": null, "socialAuthenticationChannels": null, "status": null, "timezone": null, "userSetting": null, "verified": true }, "application": { "id": "d5d2a034-dcac-4484-bcc1-9bd5f5d73ab5", "updatedBy": "", "appPackage": "appPac", "banner": "banner", "bundleIdentifier": "app.123", "casino": { "id": "002e9474-7086-42c0-bf7c-13264d082ea6", "updatedBy": "", "imageUrl": "www.app.com", "name": "AppCasino", "videoUrl": "www.abc.com" }, "casinoId": null, "category": null, "categoryId": null, "description": "description about application 1", "downloads": 4646, "featured": true, "gameAppVersions": null, "image": "www.google.com", "keywords": [ "key1", "key2", "key3", "key4", "key5" ], "latestBuild": 20, "latestVersion": "version 1", "name": "some app", "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": 1455690559442, "video": "www.youtube.com", "status": null, "downloadLink": null, "compatibility": null, "sizeOnDisk": null, "permissionDetails": null, "locationSupported": null, "additionalDetails": null, "tags": [ "featured", "live", "popular", "shruthi" ], "languageSupported": null }, "reportMessage": "This application is crashing", "userId": null, "applicationId": null } ], "detail": null, "error": false, "message": "Fetching reports successful" }
GETFilter by Game App
- Description
- A user can get a report by applicationId.
- Request Endpoint
- GET https://<Example api server address>/user/report/by/app/{applicationId}
- Parameters
Parameter Type Use Description applicationId String Required UUID of the game app. - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/user/report/by/app/applicationId'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": [ { "id": "42068b0b-62cc-4368-b472-4e0d1cb3f08a", "updatedBy": "", "user": { "id": "0679db90-faf8-4995-bc8a-376c89f81f1a", "updatedBy": "", "addresses": [ { "id": "0446ac22-378b-4c4e-a1e0-05c6b1ae0799", "updatedBy": "", "addressType": null, "city": "Bangalore", "country": "US", "countryCode": "USCODE", "county": "County 99", "postal": "567920.0", "state": "Bangalore", "street1": null, "street2": null, "street3": null } ], "birthDateDay": 12, "birthDateMonth": 5, "birthDateYear": 1970, "devices": [ null ], "emailAuthenticationChannels": [ { "addedOn": null, "blockStatus": "NORMAL", "deletedOn": null, "emailAddress": "sudipta@gmail.in.co96", "emailPinResetStatus": null, "emailVerificationStatus": "VERIFIED", "lastUsedOn": null, "loginType": null, "primary": null } ], "firstName": "su99", "fullName": null, "groupTag": [ "1970", "560100", "Profile99", "US", "sudipta@gmail.in.co96" ], "lastName": "bh99", "locationCountry": "US", "locationZipCode": "560100", "mobileAuthenticationChannels": [], "pinCreated": true, "profileImagePath": null, "profileName": "Profile99", "registrationDate": null, "socialAuthenticationChannels": null, "status": null, "timezone": null, "userSetting": null, "verified": true }, "application": { "id": "d5d2a034-dcac-4484-bcc1-9bd5f5d73ab5", "updatedBy": "", "appPackage": "appPac", "banner": "banner", "bundleIdentifier": "app.123", "casino": { "id": "002e9474-7086-42c0-bf7c-13264d082ea6", "updatedBy": "", "imageUrl": "www.app.com", "name": "AppCasino", "videoUrl": "www.abc.com" }, "casinoId": null, "category": null, "categoryId": null, "description": "description about application 1", "downloads": 4646, "featured": true, "gameAppVersions": null, "image": "www.google.com", "keywords": [ "key1", "key2", "key3", "key4", "key5" ], "latestBuild": 20, "latestVersion": "version 1", "name": "some app", "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": 1455690559442, "video": "www.youtube.com", "status": null, "downloadLink": null, "compatibility": null, "sizeOnDisk": null, "permissionDetails": null, "locationSupported": null, "additionalDetails": null, "tags": [ "featured", "live", "popular", "shruthi" ], "languageSupported": null }, "reportMessage": "This application is crashing", "userId": null, "applicationId": null } ], "detail": null, "error": false, "message": "Fetching reports successful" }
GETPrefill Casino Registration Form
- Description
- This service will only return the required attribute's value if the user has given permission to share their Example registration information.
- Request Endpoint
- GET https://<Example api server address>/user/{id}/casino/register
- Parameters
Parameter Type Use Description id String Required UUID of a user. - cURL syntax
curl --include \ 'https://core.dev.Example.net/api/user/id/casino/register'
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "error": false, "message": "Prefilled casino registration form successfully", "detail": null, "data": { "id": "c7f233d8-9ed9-45fe-bbfa-53f771f74638", "firstName": "Shruti", "lastName": "Nagarkar", "fullName": "Shruti Nagarkar", "profileName": null, "registrationDate": null, "birthDateDay": null, "birthDateMonth": null, "birthDateYear": null, "locationCountry": null, "locationZipCode": "581320", "timezone": "IST", "profileImagePath": "www.google.com", "userSetting": null, "socialAuthenticationChannels": null, "emailAuthenticationChannels": null, "mobileAuthenticationChannels": null, "addresses": [ { "id": "e95b391f-373b-4c84-a08e-1c9c41e38d00", "street1": "Wilson garden", "street2": null, "street3": null, "city": "Bangalore", "state": null, "county": null, "postal": "560073", "country": null, "addressType": "HOME" }, { "id": "bae514b8-ef27-4470-b8c3-73255b7b9666", "street1": "Wilson garden", "street2": null, "street3": null, "city": "Bangalore", "state": null, "county": null, "postal": "560073", "country": null, "addressType": "HOME" } ], "status": null, "verified": false, "wrongPinAttempts": 0, "pinCreated": false } }
POSTReport as Spam
- Description
- A user can report an application.
- Request Endpoint
- POST https://<Example api server address>/user/report
- Parameters
- None.
- cURL syntax
curl --include \ --request POST \ --header "Content-Type: application/json" \ --data-binary "{ \"userId\": \"da9c6d91-9995-40d6-b6f1-5c58448491a6\", \"applicationId\": \"5924b32d-8ed0-449c-b4ce-85ae6bf87088\", \"message\": \"This application is crashing\", \"deviceUdid\" : \"4547889Ud\" }" \ 'https://core.dev.Example.net/api/user/report'
- POST body attributes (JSON)
Attribute Type Use Description userId
String Required UUID of the user. applicationId
String Required Unique id of the application for which the deposit is being done. message
String Required Message to report an application. deviceUdid
String Required UDID of a device. - POST body
Headers: Content-Type: application/json
{ "userId": "da9c6d91-9995-40d6-b6f1-5c58448491a6", "applicationId": "5924b32d-8ed0-449c-b4ce-85ae6bf87088", "message": "This application is crashing", "deviceUdid": "4547889Ud" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "3c253012-2411-4c16-9840-c3353b03cacc", "updatedBy": "", "user": { "id": "da9c6d91-9995-40d6-b6f1-5c58448491a6", "updatedBy": "", "addresses": null, "birthDateDay": 12, "birthDateMonth": 1, "birthDateYear": 1945, "devices": [ { "id": "b64b1e93-0820-4764-953c-1615893d7929", "updatedBy": "", "description": "Old Device", "deviceStatus": "NORMAL", "manufacturer": "Apple", "model": "iPhone 5", "os": "iOS 9", "udid": "2083718938012321038243" } ], "emailAuthenticationChannels": [], "firstName": "Violet", "fullName": "Violet White", "groupTag": [ "FACEBOOK", "Apple", 1945, "United Kingdom", "iOS 9", "1234234", "iPhone 5" ], "lastName": "White", "locationCountry": "United Kingdom", "locationZipCode": "1234234", "mobileAuthenticationChannels": [], "pinCreated": true, "profileImagePath": null, "profileName": "VioletWhite573", "registrationDate": 1458021490304, "socialAuthenticationChannels": [ { "addedOn": 1458021490304, "blockStatus": "NORMAL", "deletedOn": null, "lastUsedOn": 1459159980526, "loginType": "FACEBOOK", "socialId": "Violet White Land" } ], "status": "EXISTING", "timezone": null, "userSetting": { "autoUpdateBetcadeApp": true, "autoUpdateDownloadedApps": true, "monthlyDepositMaxLimit": 0, "monthlyDepositMaxLimitCurrency": "GBP", "prefillUserInfoInCasino": true, "receiveEmailReceipt": true, "receiveNotifications": true, "shareRegistrationInfo": true, "userEmailProvided": true, "versionOfDownloadedBetcadeApp": "v1", "wifiDownloadLimitInMB": 0, "preferredCategories": [] }, "verified": true }, "application": { "id": "5924b32d-8ed0-449c-b4ce-85ae6bf87088", "updatedBy": "", "appPackage": "appPac", "banner": "banner", "bundleIdentifier": "bun234", "casino": { "id": "7a8d9f34-64d3-4641-9d66-63ad85768dd2", "updatedBy": "", "imageUrl": "http://www.google.com", "name": "SRS", "videoUrl": "http://www.facebook.com" }, "casinoId": null, "category": { "id": "2d2dfdb0-307c-4925-88fc-a3e7141b12b3", "updatedBy": "", "imageUrl": "www.google.com", "name": "Oaklander", "videoUrl": "www.youtube.com" }, "categoryId": null, "description": "description about application 1", "downloads": 4646, "featured": null, "gameAppVersions": [ { "build": 18, "version": "v0.3", "versionDate": 1459751598087 } ], "image": "www.google.com", "keywords": [ "key1", "key2", "key3", "key4", "key5" ], "latestBuild": 18, "latestVersion": "v0.3", "name": "Ramboo", "order": 345, "paragraph1": "1 paragraph", "paragraph2": "2st paragraph", "paragraph3": "3st paragraph", "paragraph4": "4th para", "presetPriceList": null, "price": 3436, "publisher": null, "ranking": 23, "rating": 23, "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": [ "English", "French" ], "additionalDetails": "This application is very popular", "tags": null }, "message": "This application is crashing", "userId": "da9c6d91-9995-40d6-b6f1-5c58448491a6", "applicationId": "5924b32d-8ed0-449c-b4ce-85ae6bf87088", "reportedOn": 1459762608779, "device": { "id": "4538ad4a-a5b2-45ad-9e61-7d92e6285031", "updatedBy": "", "description": "new manufacturer", "deviceStatus": "NORMAL", "manufacturer": "Motorola", "model": "Samsung", "os": "Android", "udid": "4547889Ud" }, "deviceUdid": "4547889Ud" }, "detail": null, "error": false, "message": "Reporting an application successful" }
PUTSet Preferred Categories
- Description
- Allows a user to set preferred categories
- Request Endpoint
- PUT https://<Example api server address>/user/category/preferred
- Parameters
- None.
- cURL syntax
curl --include \ --request PUT \ --header "Content-Type: application/json" \ --data-binary "{ \"userId\": \"c3da6ce7-0576-4772-93c1-da7h436fbf\", \"preferredCategories\": [\"poker\", \"lottery\"] }" \ 'https://core.dev.Example.net/api/user/category/preferred'
- PUT body attributes (JSON)
Attribute Type Use Description userId
String Required UUID of a user. preferredCategories
Array Required A string array which represents the user's preferred categories. - PUT body
Headers: Content-Type: application/json
{ "userId": "c3da6ce7-0576-4772-93c1-da7h436fbf", "preferredCategories": [ "poker", "lottery" ] }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "error": false, "message": "Setting Share Registration Information successfully", "detail": null, "data": { "id": "c3da6ce7-0576-4772-93c1-da7h436fbf", "firstName": "John", "lastName": "Nair", "fullName": "John Nair", "profileName": "John", "registrationDate": 1448898079793, "birthDateDay": 12, "birthDateMonth": 1, "birthDateYear": 1945, "locationCountry": "India", "locationZipCode": "1234234", "timezone": null, "userSetting": [ { "autoUpdateBetcadeApp": true, "autoUpdateDownloadedApps":true, "userEmailProvided": false, "monthlyDepositMaxLimit": 34, "monthlyDepositMaxLimitCurrency": "USD", "wifiDownloadLimitInMB": 78, "prefillUserInfoInCasino": true, "versionOfDownloadedBetcadeApp": "v0.1", "receiveEmailReceipt": true, "receiveNotifications": false, "shareRegistrationInfo": true, "preferredCategories": ["poker", "lottery"] }], "validated": "true", "addedOn":658745874, "lastUsedOn":67857902 "status": "EXISTING", "verified": true } }
PUTSet Preferred Currency
- Description
- Allows a user to set a preferred currency.
- Request Endpoint
- PUT https://<Example api server address>/user/{id}/currency/preferred
- Parameters
Parameter Type Use Description id String Required UUID of a user. - cURL syntax
curl --include \ --request PUT \ --header "Content-Type: application/json" \ --data-binary "{ \"currency\":\"GBP\" }" \ 'https://core.dev.Example.net/api/user/id/currency/preferred '
- PUT body attributes (JSON)
Attribute Type Use Description currency
String Required A currency to set as the preferred value. - PUT body
Headers: Content-Type: application/json
{ "currency": "GBP" }
- Response body
Headers: Content-Type: application/json | HTTPS Status Code: 200
{ "data": { "id": "43e3667a-b15b-4f21-be41-e515022d9de0", "deleted": false, "addresses": null, "devices": [ { "id": "2cde0dad-b0c6-4fdf-a2f0-9e4afd99a1d4", "deleted": false, "description": "device description34", "deviceStatus": "NORMAL", "manufacturer": "sony", "model": "34", "os": "jelly bean", "udid": "ghjhtrdecf", "simStateHashCode": null, "simCardState": null, "deletedUdid": null, "deletedBy": null, "deletedOn": null, "name": null, "brand": null, "androidID": null, "advertiserID": null, "operator": null, "country": null, "language": null, "screenWidthInPixels": null, "screenHeightInPixels": null, "screenWidthInInches": null, "screenHeightInInches": null } ], "emailAuthenticationChannels": [ { "addedOn": 1477661987339, "blockStatus": "NORMAL", "deletedOn": null, "emailAddress": "a565dd07bb0c44e493938eef88f7c509@gmail.com", "emailPinResetStatus": "RESET_NA", "emailVerificationStatus": "VERIFICATION_PENDING", "lastUsedOn": 1477661987339, "loginType": "EMAIL", "primary": false, "deleted": false, "recycleEmailAddress": null } ], "firstName": "mayank", "fullName": "mayank meheta", "groupTag": [ "FACEBOOK", "jelly bean", "34", "sony", "NY", "4235655", "tag1", "tag2", "EMAIL" ], "lastName": "meheta", "locationCountry": "NY", "locationZipCode": "4235655", "mobileAuthenticationChannels": [], "pinCreated": true, "profileImagePath": "https://s3-us-west-2.amazonaws.com/btc.inf.apdx.assets/default-profile-image.png", "profileName": "S.E", "registrationDate": 1477661964680, "socialAuthenticationChannels": [ { "addedOn": 1477661964973, "blockStatus": "NORMAL", "deletedOn": null, "lastUsedOn": 1477661964973, "loginType": "FACEBOOK", "socialId": "socialId1", "deleted": false, "recycleSocialId": null, "emailAddress": null, "profileName": null }, { "addedOn": 1477661987688, "blockStatus": "NORMAL", "deletedOn": null, "lastUsedOn": 1477661987688, "loginType": "FACEBOOK", "socialId": "6de00e9f-03fa-4212-83ea-b46e7b47e999", "deleted": false, "recycleSocialId": null, "emailAddress": null, "profileName": null } ], "status": "EXISTING", "timezone": null, "userSetting": { "autoUpdateBetcadeApp": true, "autoUpdateDownloadedApps": true, "monthlyDepositMaxLimit": 0, "monthlyDepositMaxLimitCurrency": "GBP", "prefillUserInfoInCasino": true, "receiveEmailReceipt": true, "receiveNotifications": true, "shareRegistrationInfo": true, "userEmailProvided": true, "versionOfDownloadedBetcadeApp": "v1", "wifiDownloadLimitInMB": 0, "preferredCategories": [], "autoSaveCard": true, "autoAddHomeIcon": true, "receiveUpdateNotifications": true, "receiveAutoUpdatedNotifications": true, "receiveRecommendationNotifications": true, "preferredCurrency": "GBP", "appSetting": { "autoUpdateApps": 2, "addIconHomeScreen": false, "saveNewCreditOrDebitCards": true, "appUpdatesAvailable": true, "appsWereAutoUpdated": true, "recommendedContentAvailable": true } }, "verified": true, "pinResetDate": null, "pinChangeDate": 1477661985127, "singularId": null, "acquisitionIds": null, "userAuditInfo": { "initialLoginDate": 1477661964680, "initialLoginIp": "127.0.0.1", "initialLoginLocation": " ", "initialRegistrationDate": null, "initialRegistrationIp": null, "initialRegistrationLocation": null }, "email": "8f8457070e774a90b0def03533c1da9c@gmail.com", "phone": "+919874654244", "dob": 663359640000, "statusBeforeBlacklisting": null, "testUser": null }, "detail": null, "error": false, "message": "Setting user's preferred currency successful" }