Introduction
Welcome to SolosSmartTag API! You can use our API to access Solos API endpoints, which can get information on various register, login, forgot-password, and reset-password from our database. We have providing language bindings in Curl.Headers
we need to make sure you have the following content type headers are set on every request: Accept: application/json Content-Type: application/jsonRegister
HTTP Request
POST http://solos.5edev.com/api/register
URL Parameters
| Parameter | Description |
|---|---|
| name | Its Required. Enter name |
| Its Required. Enter email/valid email/unique email | |
| password | Its Required. Enter password |
| c_password | Its Required. Enter confirm password/match with password |
curl --location --request POST 'http://solos.5edev.com/api/register' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --form 'name=t3' \ --form 'email=t3@gmail.com' \ --form 'password=admin@2022' \ --form 'c_password=admin@2022'
The above command will returns JSON response like this:
{ "status": true, "message": "OTP sent successfully" }
if you will enter new account/correct credentials. it will create new account so it will give message "OTP sent successfully" with status "true".
you will receive email for OTP verification. after received OTP you need to verify OTP with other API called "verify_otp".
HTTP Request
POST http://solos.5edev.com/api/verify_otp
URL Parameters
| Parameter | Description |
|---|---|
| Its Required. Enter email/valid email | |
| otp | Its Required. Enter OTP. it received via email. |
curl --location --request POST 'http://solos.5edev.com/api/verify_otp' \ --form 'email=t3@gmail.com' \ --form 'otp=2001'
The above command will returns JSON response like this:
{ "status": true, "user": { "id": 4, "name": "t3", "email": "t3@gmail.com" }, "message": "Your e-mail is verified. You can now login." }
you will get status "true" and message "Your e-mail is verified. You can now login." also it will return some user detail like id, name, email.
Login
HTTP Request
POST http://solos.5edev.com/api/login
URL Parameters
| Parameter | Description |
|---|---|
| Its Required. | |
| password | Its Required. Enter password |
curl --location --request POST 'http://solos.5edev.com/api/login' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --form 'email=t3@gmail.com' \ --form 'password=admin@2022'
The above command will returns JSON response like this:
{ "status": true, "message": "Logged in successfully.", "user": { "id": 4, "name": "t3", "email": "t3@gmail.com", "email_verified_at": null, "otp": null, "created_at": "2023-01-16T17:25:54.000000Z", "updated_at": "2023-01-16T17:26:47.000000Z", "is_email_verified": 1 }, "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxIiwia..." }
HTTP Request
POST http://solos.5edev.com/api/forgot-password
URL Parameters
| Parameter | Description |
|---|---|
| Enter email/valid email |
curl --location --request POST 'http://solos.5edev.com/api/forgot-password' \ --form 'email=t3@gmail.com'
The above command will returns JSON response like this:
{ "status": true, "message": "We have emailed your password reset token!" }
it will send password reset token on requested email id.
Reset Password
If you received forgot-password email with reset token so you can reset password with reset password token with reset-password API.HTTP Request
POST http://solos.5edev.com/api/reset-password
URL Parameters
| Parameter | Description |
|---|---|
| Its Required. Enter email/valid email | |
| password | Its Required. Enter password |
| c_password | Its Required. Enter confirm password/match with password |
| token | Its Required. Enter reset token. it received via email. |
curl --location --request POST 'http://solos.5edev.com/api/reset-password' \ --form 'email=t3@gmail.com' \ --form 'password=admin@2023' \ --form 'c_password=admin@2023' \ --form 'token=cxRvqrx95HjiYIhxDcreXuPxm0cXykNdY9VxyZ8HZvhppPckw16bQ3vCFbPTyVk0'
The above command will returns JSON response like this:
{ "status": true, "message": "Your password has been successfully changed!" }
if we will put correct token so it will update user's login password. we will return status true with message "Your password has been successfully changed!".
Get Venue
If you received venue data so you can run this get venue API.HTTP Request
GET https://solos.5edev.com/api/getVenues
curl --location --request GET 'http://solos.5edev.com/api/getVenues'
The above command will returns JSON response like this:
{ "status": true, "data": [ { "id": 54, "title": "side", "location": "jaipur", "lattitude": "23.998", "longitude": "32.323", "image": "http://localhost/solos-campaign-builder/public/storage/43/1684912895.png", "gates": [ { "id": 12, "title": "All Gates" }, { "id": 4, "title": "Gate 4" }, { "id": 1, "title": "Gate 1" } ], "status": "available", "user_id": 1 }, { "id": 53, "title": "dem", "location": "jaipur", "lattitude": "23.998", "longitude": "32.323", "image": "http://localhost/solos-campaign-builder/public/storage/42/1684912687.png", "gates": [ { "id": 1, "title": "Gate 1" }, { "id": 3, "title": "Gate 3" } ], "status": "available", "user_id": 1 }, { "id": 52, "title": "dewdwqa", "location": "d", "lattitude": "23.998", "longitude": "32.323", "image": "http://localhost/solos-campaign-builder/images/no_image.png", "gates": [], "status": "available", "user_id": 1 }, { "id": 51, "title": "dewdwq", "location": "d", "lattitude": "23.998", "longitude": "32.323", "image": "http://localhost/solos-campaign-builder/public/storage/41/1684912496.jpeg", "gates": [], "status": "available", "user_id": 1 }, { "id": 50, "title": "test11", "location": "jaipur", "lattitude": "23.998", "longitude": "32.323", "image": "http://localhost/solos-campaign-builder/images/no_image.png", "gates": [], "status": "available", "user_id": 1 }, { "id": 49, "title": "qq", "location": "qq", "lattitude": "", "longitude": "", "image": "http://localhost/solos-campaign-builder/images/no_image.png", "gates": [], "status": "available", "user_id": 1 }, { "id": 48, "title": "Sydney", "location": "14, 3 Parramatta Square 153 Macquarie St. Parramatta, NSW 2150", "lattitude": "45.2121", "longitude": "45.15241", "image": "http://localhost/solos-campaign-builder/images/no_image.png", "gates": [ { "id": 12, "title": "All Gates" }, { "id": 4, "title": "Gate 4" }, { "id": 3, "title": "Gate 3" }, { "id": 2, "title": "Gate 2" } ], "status": "available", "user_id": 1 }, { "id": 47, "title": "Sydney Level", "location": "Sydney Level 14, 3 Parramatta Square 153 Macquarie St. Parramatta, NSW 2150", "lattitude": "45.212", "longitude": "23.321123", "image": "http://localhost/solos-campaign-builder/images/no_image.png", "gates": [ { "id": 4, "title": "Gate 4" }, { "id": 2, "title": "Gate 2" } ], "status": "available", "user_id": 1 }, { "id": 46, "title": "demo1", "location": "main square1", "lattitude": "45.14", "longitude": "71.12", "image": "http://localhost/solos-campaign-builder/images/no_image.png", "gates": [ { "id": 4, "title": "Gate 4" }, { "id": 3, "title": "Gate 3" }, { "id": 1, "title": "Gate 1" } ], "status": "available", "user_id": 1 }, { "id": 45, "title": "testing1", "location": "45 square road", "lattitude": "41.141", "longitude": "75.141", "image": "http://localhost/solos-campaign-builder/images/no_image.png", "gates": [ { "id": 4, "title": "Gate 4" }, { "id": 1, "title": "Gate 1" } ], "status": "available", "user_id": 1 }, { "id": 44, "title": "tt1", "location": "vijay nagar indore mp", "lattitude": "121.1245", "longitude": "415.1524", "image": "http://localhost/solos-campaign-builder/images/no_image.png", "gates": [ { "id": 3, "title": "Gate 3" }, { "id": 2, "title": "Gate 2" } ], "status": "available", "user_id": 1 }, { "id": 43, "title": "test12", "location": "palacia indore", "lattitude": "12.1245", "longitude": "23.32112", "image": "http://localhost/solos-campaign-builder/images/no_image.png", "gates": [ { "id": 1, "title": "Gate 1" } ], "status": "available", "user_id": 1 }, { "id": 42, "title": "test", "location": "palacia indore", "lattitude": "12.1245", "longitude": "23.32112", "image": "http://localhost/solos-campaign-builder/images/no_image.png", "gates": [ { "id": 2, "title": "Gate 2" } ], "status": "available", "user_id": 4 }, { "id": 41, "title": "ddd", "location": "palacia indore", "lattitude": "12.1245", "longitude": "45.1524", "image": "http://localhost/solos-campaign-builder/images/no_image.png", "gates": [ { "id": 3, "title": "Gate 3" }, { "id": 1, "title": "Gate 1" } ], "status": "available", "user_id": 1 }, { "id": 35, "title": "demo 12345", "location": "demo 12345", "lattitude": "", "longitude": "", "image": "http://localhost/solos-campaign-builder/images/no_image.png", "gates": [ { "id": 2, "title": "Gate 2" } ], "status": "available", "user_id": 1 }, { "id": 34, "title": "test 123", "location": "tsss123", "lattitude": "", "longitude": "", "image": "http://localhost/solos-campaign-builder/images/no_image.png", "gates": [ { "id": 1, "title": "Gate 1" } ], "status": "available", "user_id": 1 }, { "id": 33, "title": "fsf1 data", "location": "sgs", "lattitude": "", "longitude": "", "image": "http://localhost/solos-campaign-builder/images/no_image.png", "gates": [], "status": "available", "user_id": 4 } ], "message": "Records found." }
Get Client
If you received client data so you can run this get client API.HTTP Request
GET https://solos.5edev.com/api/getClients
curl --location 'http://solos.5edev.com/api/getClients'
The above command will returns JSON response like this:
{ "status": true, "data": [ { "id": 29, "first_name": "test", "last_name": "testing", "email": "t32@gmail.com", "gender": "male", "birthdate": "2007-01-18", "VIP_status": 0, "device_id": "123456", "company_name": "tests 12", "country_id": 103, "country_name": "India" }, { "id": 33, "first_name": "", "last_name": "", "email": "t36@gmail.com", "gender": "", "birthdate": "", "VIP_status": 0, "device_id": "", "company_name": "mba 12", "country_id": 103, "country_name": "India" }, { "id": 28, "first_name": "", "last_name": "", "email": "t31@gmail.com", "gender": "", "birthdate": "", "VIP_status": 0, "device_id": "", "company_name": "mm", "country_id": 103, "country_name": "India" }, { "id": 45, "first_name": "t45 first1234", "last_name": "t45 last12465", "email": "t45@gmail.com", "gender": "female", "birthdate": "1995-10-13", "VIP_status": 1, "device_id": "12345678901", "company_name": "t45cmp12345", "country_id": 51, "country_name": "Congo" }, { "id": 46, "first_name": "t46 first12", "last_name": "t46 last12", "email": "t46@gmail.com", "gender": "female", "birthdate": "1990-10-25", "VIP_status": 1, "device_id": "123456", "company_name": "markdemo12", "country_id": 169, "country_name": "Palau" } ], "message": "Records found." }
Get Source
If you received source data so you can run this get source API.HTTP Request
GET https://solos.5edev.com/api/getSources
curl --location 'https://solos.5edev.com/api/getSources'
The above command will returns JSON response like this:
{ "status": true, "data": [ { "id": 4, "title": "Android", "is_active": 1 }, { "id": 8, "title": "Any", "is_active": 1 }, { "id": 2, "title": "IOS", "is_active": 1 } ], "message": "Records found." }
Get Action Type
If you received action type data so you can run this get action API.HTTP Request
GET https://solos.5edev.com/api/getActionTypes
curl --location 'https://solos.5edev.com/api/getActionTypes'
The above command will returns JSON response like this:
{ "status": true, "data": [ { "id": 5, "title": "Any Scan", "is_active": 1 }, { "id": 11, "title": "Avg. Spend Down", "is_active": 1 }, { "id": 1, "title": "Concession scan", "is_active": 1 }, { "id": 3, "title": "Entry gate scan", "is_active": 1 }, { "id": 2, "title": "Game day - AM", "is_active": 1 }, { "id": 4, "title": "Reaches seat", "is_active": 1 }, { "id": 6, "title": "Team wins", "is_active": 1 }, { "id": 7, "title": "Total yards met", "is_active": 1 } ], "message": "Records found." }
Get SKU's
If you received SKU's data so you can run this get garments API.HTTP Request
GET https://solos.5edev.com/api/getGarments
curl --location 'https://solos.5edev.com/api/getGarments'
The above command will returns JSON response like this:
{ "status": true, "data": [ { "id": 1, "title": "Nike T-Shirt 1 2022", "UUIDs": "1c7e3252-668b-38b6-8381-39f53c2a087d", "price": null, "is_active": 1, "created_at": "2023-02-24T09:32:24.000000Z", "updated_at": "2023-03-01T13:17:19.000000Z" }, { "id": 4, "title": "Nike T-Shirt 2 2022", "UUIDs": "f6f92f9a-d7b8-30b7-b918-a95212425ac4", "price": null, "is_active": 1, "created_at": "2023-02-24T11:29:45.000000Z", "updated_at": "2023-02-27T10:16:54.000000Z" }, { "id": 5, "title": "Nike T-Shirt 3 2022", "UUIDs": "26810681-1667-3943-8a4b-b9b8ed040561", "price": null, "is_active": 1, "created_at": "2023-02-24T11:29:53.000000Z", "updated_at": "2023-02-27T10:17:04.000000Z" }, { "id": 6, "title": "Nike T-Shirt 4 2022", "UUIDs": "e7447c13-17e1-344c-92be-6e7773c2876a", "price": null, "is_active": 1, "created_at": "2023-02-24T11:30:00.000000Z", "updated_at": "2023-02-27T10:17:18.000000Z" }, { "id": 7, "title": "Nike T-Shirt 5 2022", "UUIDs": "200f513d-289f-3cb5-9268-e2d22c9f0c72", "price": null, "is_active": 1, "created_at": "2023-02-24T11:30:08.000000Z", "updated_at": "2023-02-27T10:17:29.000000Z" }, { "id": 8, "title": "Nike T-Shirt 6 2022", "UUIDs": "e1af0be9-0881-38ba-a0d6-88854c4a0eb6", "price": null, "is_active": 1, "created_at": "2023-02-24T11:30:16.000000Z", "updated_at": "2023-02-27T10:17:38.000000Z" }, { "id": 9, "title": "Nike T-Shirt 7 2022", "UUIDs": "dc0ab2a2-c95d-3eaa-88f6-535667b8404b", "price": null, "is_active": 1, "created_at": "2023-02-24T11:30:25.000000Z", "updated_at": "2023-02-27T10:17:48.000000Z" }, { "id": 10, "title": "Nike T-Shirt 8 2022", "UUIDs": "e2b94599-ae14-306d-a78d-ac30449556b2", "price": null, "is_active": 1, "created_at": "2023-02-27T10:11:47.000000Z", "updated_at": "2023-02-27T10:17:57.000000Z" } ], "message": "Records found." }
Get Income
If you received income data so you can run this get income API.HTTP Request
GET https://solos.5edev.com/api/getIncomes
curl --location 'https://solos.5edev.com/api/getIncomes'
The above command will returns JSON response like this:
{ "status": true, "data": [ { "id": 2, "title": "Income sources 1", "is_active": 1, "created_at": null, "updated_at": "2023-02-21T16:42:48.000000Z" }, { "id": 3, "title": "Income sources 2", "is_active": 1, "created_at": null, "updated_at": "2023-02-22T08:05:51.000000Z" }, { "id": 1, "title": "N/A", "is_active": 1, "created_at": null, "updated_at": null } ], "message": "Records found." }
Get Target
If you received target data so you can run this get target API.HTTP Request
GET https://solos.5edev.com/api/getTargets
curl --location 'https://solos.5edev.com/api/getTargets'
The above command will returns JSON response like this:
{ "status": true, "data": [ { "id": 6, "title": "500 Level", "is_active": 1, "created_at": null, "updated_at": null }, { "id": 12, "title": "Any", "is_active": 1, "created_at": "2023-03-15T08:27:21.000000Z", "updated_at": "2023-03-15T08:27:21.000000Z" }, { "id": 5, "title": "M-F,>30, Sec. 112", "is_active": 1, "created_at": null, "updated_at": null }, { "id": 7, "title": "Past Season Tags", "is_active": 1, "created_at": null, "updated_at": "2023-03-01T15:42:05.000000Z" }, { "id": 4, "title": "Reaches seat", "is_active": 1, "created_at": null, "updated_at": null }, { "id": 1, "title": "Sth - Season tkts.", "is_active": 1, "created_at": null, "updated_at": null }, { "id": 2, "title": "Under 30, M", "is_active": 1, "created_at": null, "updated_at": "2023-02-22T11:02:25.000000Z" }, { "id": 3, "title": "VIP SEC.", "is_active": 1, "created_at": null, "updated_at": null } ], "message": "Records found." }
Gate Listing By Venue Id
If you gate listing by venue id so you can run this gate listing by venue id API.HTTP Request
POST http://solos.5edev.com/api/getGateListingByVenueId
URL Parameters
| Parameter | Description |
|---|---|
| venue_id | Its Required. Enter venue_id |
curl --location 'http://solos.5edev.com/solos-campaign-builder/api/getGateListingByVenueId' \ --form 'venue_id="54"'
The above command will returns JSON response like this:
{ "status": true, "data": [ { "id": 1, "title": "Gate 1" }, { "id": 2, "title": "Gate 2" }, { "id": 3, "title": "Gate 3" }, { "id": 4, "title": "Gate 4" } ], "message": "Records found." } }
Create Campaign
If you create new campaign so you can run this campaign API.HTTP Request
POST http://solos.5edev.com/api/createCampaign
URL Parameters
| Parameter | Description |
|---|---|
| Name | Its Required. Enter Name |
| action_notes | Its Required. Enter action_notes |
| customer_id | Its Required. Enter customer_id |
| start_date | Its Required. Enter start_date |
| venue_id | Its Required. Enter venue_id |
| gate_id | Its Required. Enter gate_id |
| garment_id | Its Required. Enter garment_id |
| source_id | Its Required. Enter source_id |
| action_type_id | Its Required. Enter action_type_id |
| target_id | Its Required. Enter target_id |
| gender | Its Required. Enter gender |
| min_age | Its Required. Enter min_age |
| max_age | Its Required. Enter max_age |
| min_value | Its Required. Enter min_value |
| max_value | Its Required. Enter max_value |
| message | Its Required. Enter message |
| definemessages_id | Its Required. Enter definemessages_id |
| image | Its Required. Enter image |
curl --location 'http://solos.5edev.com/api/createCampaign' \ --form 'name=" test12H"' \ --form 'customer_id=" 28"' \ --form 'actiontype_id=" 5"' \ --form 'start_date=" 05/04/2023 7:00 PM - 06/14/2023 3:00 AM"' \ --form 'venue_id=" 46"' \ --form 'gate_id=" 4,3"' \ --form 'garment_id=" 4,6"' \ --form 'target_id=" 12"' \ --form 'action_type_id=" 2"' \ --form 'source_id=" 4"' \ --form 'gender=" male"' \ --form 'min_value=" 0"' \ --form 'min_age=" 1"' \ --form 'max_age=" 100"' \ --form 'max_value=" 2000"' \ --form 'definemessages_id=" 3"' \ --form 'message=" test"' \ --form 'action_notes=" test"'
The above command will returns JSON response like this:
{ "status": true, "data": { "name": "test12H", "user_id": "1", "customer_id": "28", "start_date": "2023-05-04", "end_date": "2023-06-14", "start_time": "19:00:00", "end_time": "03:00:00", "venue_id": "46", "track_scan_data": false, "save_scan_user_profile": false, "source_id": "4", "action_type_id": "2", "is_active": true, "target_id": "12", "gender": "male", "min_age": "1", "max_age": "100", "min_value": "0", "max_value": "2000", "action_notes": "test", "target_notes": "", "limit_user": null, "message_notes": "", "message": "test", "definemessages_id": "3", "status": "Draft", "approval_notes": "", "updated_at": "2023-05-25T07:43:08.000000Z", "created_at": "2023-05-25T07:43:08.000000Z", "id": 124 }, "message": "Campaign successfully created. its waiting for approval." }
Create Campaign Entries
If you create new campaign entries so you can run this campaign entries API.HTTP Request
POST http://solos.5edev.com/api/createCampaignEntries
URL Parameters
| Parameter | Description |
|---|---|
| visitor_id | Its Required. Enter visitor_id |
| gate_id | Its Required. Enter gate_id |
| garment_id | Its Required. Enter garment_id |
| source_id | Its Required. Enter source_id |
| action_type_id | Its Required. Enter action_type_id |
curl --location 'http://solos.5edev.com/solos-campaign-builder/api/createCampaignEntries' \ --form 'visitor_id="62"' \ --form 'gate_id=" 2"' \ --form 'garment_id="10"' \ --form 'source_id=" 4"' \ --form 'action_type_id=" 11"'
The above command will returns JSON response like this:
{ "status": true, "campaign": { "id": 93, "name": "ascds", "decription": "dfvfdv", "campaign_image": null }, "message": "Campaign Match" }