Societe DUBAI

API Documentation

Introduction

Resource URL /appcms/api/
Request Method REST
Type Post
Response Format JSON





Table Reservation (Save)

Resource URL api/reservations/table_booking
Request Method REST
Type POST
Response Format JSON

Parameter Description
name Required
mobile Required
email Required
peoples Required
res_date Required
res_time Required
uid Required

JSON Response

{
    error: false
    message: "Thank you for joining us! One member of our team will contact you shortly to confirm your booking!"
}
					


Guestlist (Save)

Resource URL api/reservations/guest_booking
Request Method REST
Type POST
Response Format JSON

Parameter Description
name Required
mobile Required
email Required
peoples Required
res_date Required
res_time Required
uid Required

JSON Response

{
    error: false
    message: "Thank you for joining our Guest List! Please be aware that Entrance to Societe Nightclub is always subject to Door Managers discretion."
}
					


Table Reservation (View)

Resource URL api/reservations/table_listing
Request Method REST
Type Get
Response Format JSON


JSON Response

{
    error: false
    table_reservation: [2]
    0:  {
        id: "2"
        name: "DD"
        mobile: "03125572025"
        email: "naveed@devdesks.com"
        peoples: "3"
        res_date: "2015-11-20"
        res_time: "11:11:11"
    }
    1:  {
        id: "1"
        name: "Dev Desks"
        mobile: "03125572025"
        email: "naveed@devdesks.com"
        peoples: "5"
        res_date: "2015-11-17"
        res_time: "11:17:11"
    }
}
					


Guestlist (View)

Resource URL api/reservations/guest_listing
Request Method REST
Type Get
Response Format JSON


JSON Response

{
    error: false
    guestlist: [1]
    0:  {
        id: "3"
        name: "Dev Desks"
        mobile: "03125572025"
        email: "naveed@devdesks.com"
        peoples: "5"
        res_date: "2015-11-25"
        res_time: "11:11:11"
    }
}
					


Club Hits (SoundCloud)

Resource URL api/club_hits
Request Method REST
Type Get
Response Format JSON


JSON Response

{
    error: false
    club_hits: [2]
    0:  {
        id: "1"
        title: "PittBull feat Mark Anthony-Rain Over Me (DaraDj mix)"
        description: "Un remix cosecha propia"
        duration: "3.39"
        image: "http://societe.ae/appcms/assets/uploads/soundcloud/8d07161a8e5e1d6719a5ba21c4bc9b53.jpg"
        stream_url: "https://api.soundcloud.com/tracks/23592286/stream?client_id=14210390c0f69455e911ca99a4ed01ce"
        created: "2015-11-20 07:53:44"
    }
    1:  {
        id: "2"
        title: "Jeena Jeena | Atif Aslam OST Badlapur"
        description: "Listen to ‘Jeena Jeena', a mesmerizing romantic song from Badlapur. "
        duration: "3.37"
        image: "http://societe.ae/appcms/assets/uploads/soundcloud/3ec3bb8c60288f7ef1a55d24ae30777d.jpg"
        stream_url: "https://api.soundcloud.com/tracks/186053724/stream?client_id=14210390c0f69455e911ca99a4ed01ce"
        created: "2015-11-24 01:47:36"
    }
}				


Club Highlights (Videos)

Resource URL api/club_highlights
Request Method REST
Type Get
Response Format JSON


JSON Response

{
    "error": false
    "club_highlights": [4]
    0:  {
        "id": "3"
        "title": "Societe of the dead"
        "description": "Societe of the dead"
        "video_url": "https://www.youtube.com/watch?v=iFfLiznGajc"
        "image": "https://img.youtube.com/vi/iFfLiznGajc/hqdefault.jpg"
        "youtube_id": "iFfLiznGajc"
    }
    1:  {
        "id": "4"
        "title": "Bad Santa & The Easy Elves"
        "description": "Bad Santa & The Easy Elves"
        "video_url": "https://www.youtube.com/watch?v=vQcFNt1_SpM"
        "image": "https://img.youtube.com/vi/vQcFNt1_SpM/hqdefault.jpg"
        "youtube_id": "vQcFNt1_SpM"
        }
    2:  {
        "id": "5"
        "title": "Take That Party"
        "description": "Take That Party"
        "video_url": "https://www.youtube.com/watch?v=evi7IaNRU-s"
        "image": "https://img.youtube.com/vi/evi7IaNRU-s/hqdefault.jpg"
        "youtube_id": "evi7IaNRU-s"
    }
    3:  {
        "id": "10"
        "title": "Halloween"
        "description": "Halloween"
        "video_url": "https://www.youtube.com/watch?v=pftEq11Fnq8"
        "image": "https://img.youtube.com/vi/pftEq11Fnq8/hqdefault.jpg"
        "youtube_id": "pftEq11Fnq8"
    }
}
					


All Events

Resource URL api/events
Request Method REST
Type Get
Response Format JSON


JSON Response

{
    "error": false
    "events": [5]
    0:  {
        "event_id": "1"
        "event_name": "Behind Blue eyes"
        "event_description": "Behind Blue eyes Description"
        "event_image": "http://societe.ae/appcms/assets/uploads/events/thumbnails/tmb1_06df2029e2d571e5836cdd105bdc8f3a.jpg"
        "event_date": "Thursday 19th Nov 2015"
        "event_time": "12:10 AM"
    }
    1:  {
        "event_id": "2"
        "event_name": "Saturday Night At Societe"
        "event_description": "Saturday Night At Societe Description"
        "event_image": "http://societe.ae/appcms/assets/uploads/events/thumbnails/tmb1_fbf8e569a641076c5d4eebfb84efff0c.jpg"
        "event_date": "Thursday 19th Nov 2015"
        "event_time": "12:05 AM"
    }
    2:  {
        "event_id": "14"
        "event_name": "Societe ROCK NIGHT"
        "event_description": "Societe ROCK NIGHT Description"
        "event_image": "http://societe.ae/appcms/assets/uploads/events/thumbnails/tmb1_bfe3bafa3b7330e9628d8101d1c9a06d.jpg"
        "event_date": "Thursday 19th Nov 2015"
        "event_time": "12:00 AM"
    }
    3:  {
        "event_id": "40"
        "event_name": "Sunday Night At Societe"
        "event_description": "Sunday Night At Societe"
        "event_image": "http://societe.ae/appcms/assets/uploads/events/thumbnails/tmb1_74844b3e0dc56ad3bf62023d68e22f88.jpg"
        "event_date": "Sunday 6th Dec 2015"
        "event_time": "11:00 PM"
    }
    4:  {
        "event_id": "42"
        "event_name": "Thursday night at Societes"
        "event_description": ""
        "event_image": "http://societe.ae/appcms/assets/uploads/events/thumbnails/tmb1_3575ff1167a75e796bc4389dcfd751d4.jpg"
        "event_date": "Thursday 3rd Dec 2015"
        "event_time": "12:15 AM"
    }
}
					


Opening Hours

Resource URL api/home/opening_hours
Request Method REST
Type GET
Response Format JSON


JSON Response

{
    "error": false
    "days": "1,2,3,4,5,6,7"
    "opening_hours": "14:30:00"
    "closing_hours": "14:30:00"
}
					


Upload Selfie

Resource URL api/selfies/save_selfie
Request Method REST
Type POST
Response Format JSON

Parameter Description
selfie Required
uid Required
frame_id Required

JSON Response

{
    error: false
    selfie_url: "http://societe.ae/appcms/assets/uploads/selfies/b157297ac1c006031af6c61c06b058ac.png"
    message: "Selfie uploaded successfully."
}
					


Resource URL api/events/event_gallery/{:event_id}
Request Method REST
Type GET
Response Format JSON


JSON Response

{
    error: false
    event_name: "Behind Blue eyes"
    event_description: "Behind Blue eyes"
    gallery: [8]
    0:  {
        id: "1"
        image_url: "http://societe.ae/appcms/assets/uploads/7732c3b7251f381913ac19d332f6cad6.jpg"
        title: ""
        description: ""
    }
    1:  {
        id: "2"
        image_url: "http://societe.ae/appcms/assets/uploads/74e2d3e9f134ab3bf813868535be3831.jpg"
        title: ""
        description: ""
    }
    2:  {
        id: "3"
        image_url: "http://societe.ae/appcms/assets/uploads/dad31bf629a9f6d55da9a2bce44e7e3e.jpg"
        title: ""
        description: ""
    }
    3:  {
        id: "4"
        image_url: "http://societe.ae/appcms/assets/uploads/d21d7cfc1fcc87a3fa78ddb70acf0d97.jpg"
        title: ""
        description: ""
    }
    4:  {
        id: "5"
        image_url: "http://societe.ae/appcms/assets/uploads/743fb63f903f7094ec6b860dba0297ce.jpg"
        title: ""
        description: ""
    }
    5:  {
        id: "6"
        image_url: "http://societe.ae/appcms/assets/uploads/448279ac087af429ee94123b297fbc3c.jpg"
        title: ""
        description: ""
    }
    6:  {
        id: "7"
        image_url: "http://societe.ae/appcms/assets/uploads/6662e8f166249fa08c29fba4f0bf17f5.jpg"
        title: ""
        description: ""
    }
    7:  {
        id: "8"
        image_url: "http://societe.ae/appcms/assets/uploads/5fcd89fff50bec744bf28c1e9c63def1.jpg"
        title: ""
        description: ""
    }
}
					


Contact US

Resource URL api/home/contact
Request Method REST
Type GET
Response Format JSON


JSON Response

{
    error: false
    contact: {
        phone: "+971 50 699 0704"
        email: "likho@suno1024.com"
        address: "Marina Byblos Hotel, Dubai Marina 1st floor, Dubai, UAE"
        open: "Thursday to Saturaday "
        closed: "Thursday to Saturaday "
        opening_hours: "10pm - 2pm"
        latlong: "33.664440,73.052307"
    }
}
            


Resource URL api/events/recent_gallery
Request Method REST
Type Get
Response Format JSON


JSON Response

{
    "error": false
    "events": [5]
    0:  {
        "event_id": "40"
        "event_name": "Sunday Night At Societe"
        "event_description": "Sunday Night At Societe"
        "event_image": "http://societe.ae/appcms/assets/uploads/events/thumbnails/tmb1_74844b3e0dc56ad3bf62023d68e22f88.jpg"
        "event_date": "Sunday 6th Dec 2015"
        "event_time": "11:00 PM"
    }
    1:  {
        "event_id": "42"
        "event_name": "Thursday night at Societes"
        "event_description": ""
        "event_image": "http://societe.ae/appcms/assets/uploads/events/thumbnails/tmb1_3575ff1167a75e796bc4389dcfd751d4.jpg"
        "event_date": "Thursday 3rd Dec 2015"
        "event_time": "12:15 AM"
    }
    2:  {
        "event_id": "1"
        "event_name": "Behind Blue eyes"
        "event_description": "Behind Blue eyes Description"
        "event_image": "http://societe.ae/appcms/assets/uploads/events/thumbnails/tmb1_06df2029e2d571e5836cdd105bdc8f3a.jpg"
        "event_date": "Thursday 19th Nov 2015"
        "event_time": "12:10 AM"
    }
    3:  {
        "event_id": "2"
        "event_name": "Saturday Night At Societe"
        "event_description": "Saturday Night At Societe Description"
        "event_image": "http://societe.ae/appcms/assets/uploads/events/thumbnails/tmb1_fbf8e569a641076c5d4eebfb84efff0c.jpg"
        "event_date": "Thursday 19th Nov 2015"
        "event_time": "12:05 AM"
    }
    4:  {
        "event_id": "14"
        "event_name": "Societe ROCK NIGHT"
        "event_description": "Societe ROCK NIGHT Description"
        "event_image": "http://societe.ae/appcms/assets/uploads/events/thumbnails/tmb1_bfe3bafa3b7330e9628d8101d1c9a06d.jpg"
        "event_date": "Thursday 19th Nov 2015"
        "event_time": "12:00 AM"
    }
}
					


Resource URL api/events/popular_gallery
Request Method REST
Type Get
Response Format JSON


JSON Response

{
    "error": false
    "events": [3]
    0:  {
        "event_id": "1"
        "event_name": "Behind Blue eyes"
        "event_description": "Behind Blue eyes Description"
        "event_image": "http://societe.ae/appcms/assets/uploads/events/thumbnails/tmb1_06df2029e2d571e5836cdd105bdc8f3a.jpg"
        "event_date": "Thursday 19th Nov 2015"
        "event_time": "12:10 AM"
    }
    1:  {
        "event_id": "2"
        "event_name": "Saturday Night At Societe"
        "event_description": "Saturday Night At Societe Description"
        "event_image": "http://societe.ae/appcms/assets/uploads/events/thumbnails/tmb1_fbf8e569a641076c5d4eebfb84efff0c.jpg"
        "event_date": "Thursday 19th Nov 2015"
        "event_time": "12:05 AM"
    }
    2:  {
        "event_id": "42"
        "event_name": "Thursday night at Societes"
        "event_description": ""
        "event_image": "http://societe.ae/appcms/assets/uploads/events/thumbnails/tmb1_3575ff1167a75e796bc4389dcfd751d4.jpg"
        "event_date": "Thursday 3rd Dec 2015"
        "event_time": "12:15 AM"
    }
}
					


Guest List

Resource URL api/home/guestlist
Request Method REST
Type Get
Response Format JSON


JSON Response

{
    error: false
    guestlist: [3]
    0:  {
        name: "John"
        tagline: "John Tagline"
        description: "John Description"
        image_url: "http://societe.ae/appcms/assets/uploads/guestlist/thumbnails/tmb1_8bf0a84ab411f6a9aef384a3a7dcb64a.jpg"
    }
    1:  {
        name: "Mark"
        tagline: "Mark tagline"
        description: "Mark Description"
        image_url: "http://societe.ae/appcms/assets/uploads/guestlist/thumbnails/tmb1_26cf4128102397e65b484f5c77cfe122.jpg"
    }
    2:  {
        name: "Alex"
        tagline: "Alex Tagline"
        description: "Alex Description"
        image_url: "http://societe.ae/appcms/assets/uploads/guestlist/thumbnails/tmb1_24c1c5d553b2432ccba3881804f61ddd.jpg"
    }
}				


Facebook Login

Resource URL api/fb/login
Request Method REST
Type POST
Response Format JSON

Parameter Description
access_token Required
device_id Required
device_type Required (android/ios)
longitude Optional
latitude Optional

JSON Response

{
    "error": false
    "id": "8"
    "first_name": "Khurram"
    "last_name": "Shehzad"
    "name": "Khurram Shehzad"
    "age": "21"
    "gender": "male"
    "image": "https://graph.facebook.com/127025837667709/picture?type=large"
}
            


Facebook Friendlist

Resource URL api/fb/friendlist
Request Method REST
Type POST
Response Format JSON

Parameter Description
access_token Required

JSON Response

{
    "error": false
    "friendlist": [3]
    0:  {
        "id": "1"
        "name": "Naveed Arshad"
        "image": "https://graph.facebook.com/454892841349508/picture?type=large"
    }
    1:  {
        "id": "6"
        "name": "Arshad Khan Sherani"
        "image": "https://graph.facebook.com/1617172325214579/picture?type=large"
    }
    2:  {
        "id": "3"
        "name": "Muhammad Bilal"
        "image": "https://graph.facebook.com/149323938764563/picture?type=large"
    }
}
{
    "error": false
    "message": "You don't have any friend yet."
}
            


Home Screen

Resource URL api/home/slider
Request Method REST
Type GET
Response Format JSON

JSON Response

{
    "error": false
    "slider": [5]
    0:  {
   		"image_url": "http://societe.ae/appcms/assets/uploads/slider/thumbnails/tmb1_f1dc4a343d547ddc279a088b253796d3.jpg"
    }
    1:  {
    	"image_url": "http://societe.ae/appcms/assets/uploads/slider/thumbnails/tmb1_522b7743a5e704bf8ff4c83eada5cf99.jpg"
    }
    2:  {
    	"image_url": "http://societe.ae/appcms/assets/uploads/slider/thumbnails/tmb1_2dc8cbd2715f4aa441306eb7c2038aba.jpg"
    }
    3:  {
    	"image_url": "http://societe.ae/appcms/assets/uploads/slider/thumbnails/tmb1_eb734f8be0aa6aed85ce6f96c11a460e.jpg"
    }
    4:  {
    	"image_url": "http://societe.ae/appcms/assets/uploads/slider/thumbnails/tmb1_dd066606f767659c62bcdfdc92b42eaa.jpg"
    }
}
        


Privacy Policy

Resource URL api/home/privacy_policy
Request Method REST
Type GET
Response Format JSON

JSON Response

{
    "error": false
    "description": "Privacy Policy Text Here"
}
        


Send Chat

Resource URL api/chat/send
Request Method REST
Type POST
Response Format JSON

Parameter Description
sender_id Required
reciever_id Required
message Required

JSON Response

{
    "error": false
    "chat": {
        "message": "hello how are you"
        "id": "1"
        "name": "Naveed Arshad"
        "image": "https://graph.facebook.com/454892841349508/picture?type=normal"
        "chat_date": "2015-12-16"
        "chat_time": "3:34 PM"
    }
}
            


Update Availability

Resource URL api/fb/availability
Request Method REST
Type POST
Response Format JSON

Parameter Description
availability Required (1 for online/0 for offline)
uid Required

JSON Response

{
	"error": false
	"message": "online"
}
{
	"error": false
	"message": "offline"
}
            


Check Availability

Resource URL api/fb/check_availability
Request Method REST
Type POST
Response Format JSON

Parameter Description
uid Required

JSON Response

{
	"error": false
	"availability": "online"
}
{
	"error": false
	"availability": "offline"
}
            


Chat History

Resource URL api/chat/history
Request Method REST
Type POST
Response Format JSON

Parameter Description
uid Required
friend_id Required
limit Required
offset Required

JSON Response

{
    "error": false
    "chat": [3]
    0:  {
        "sender_id": "1"
        "message": "message 4 here 4"
        "chat_date": "2015-12-17"
        "chat_time": "12:19 PM"
        "image": "http://societe.ae/appcms/assets/uploads/users/thumbnails/tmb1_2fe2474fe47fb06f19b46e325508dce8.jpg"
    }
    1:  {
        "sender_id": "1"
        "message": "message 4 here 4"
        "chat_date": "2015-12-17"
        "chat_time": "12:19 PM"
        "image": "http://societe.ae/appcms/assets/uploads/users/thumbnails/tmb1_2fe2474fe47fb06f19b46e325508dce8.jpg"
    }
    2:  {
        "sender_id": "1"
        "message": "message 4 here 4"
        "chat_date": "2015-12-17"
        "chat_time": "12:25 PM"
        "image": "http://societe.ae/appcms/assets/uploads/users/thumbnails/tmb1_2fe2474fe47fb06f19b46e325508dce8.jpg"
    }
}
            


Chatroom Users

Resource URL api/fb/users
Request Method REST
Type POST
Response Format JSON

Parameter Description
uid Required

JSON Response

{
    "error": false
    "users": [3]
    0:  {
        "id": "2"
        "first_name": ""
        "last_name": ""
        "name": "Abrar Ahmed"
        "age": ""
        "gender": ""
        "profile_pic": "https://graph.facebook.com/151065428581964/picture?type=large"
        "availability": "Offline"
        "education": ""
        "job": ""
        "employer": ""
        "school": ""
        "about_me": ""
        "description": ""
        "lastlogin": "5 hours ago"
        "distance": "89.61 Miles"
        "photos": "6"
        "is_favourite": "1"
        "favourites": "1"
        "is_chat_enabled": "0"
    }
    1:  {
        "id": "3"
        "first_name": "Muhammad"
        "last_name": "Bilal"
        "name": "Muhammad Bilal"
        "age": "21"
        "gender": "male"
        "profile_pic": "https://graph.facebook.com/149323938764563/picture?type=large"
        "availability": "Online"
        "education": ""
        "job": "ios"
        "employer": ""
        "school": ""
        "about_me": ""
        "description": ""
        "lastlogin": "5 hours ago"
        "distance": "89.61 Miles"
        "photos": "0"
        "is_favourite": "0"
        "favourites": "0"
        "is_chat_enabled": "0"
    }
    2:  {
        "id": "8"
        "first_name": "Khurram"
        "last_name": "Shehzad"
        "name": "Khurram Shehzad"
        "age": "21"
        "gender": "male"
        "profile_pic": "http://societe.ae/appcms/assets/uploads/users/thumbnails/tmb1_5e817b425a7009459f328a5196a2d99f.jpeg"
        "availability": "Offline"
        "education": "B.S ntahh"
        "job": "Android Applications Development"
        "employer": "Developers Desks"
        "school": "test school"
        "about_me": "test abt me"
        "description": "about me"
        "lastlogin": "5 hours ago"
        "distance": "89.61 Miles"
        "photos": "0"
        "is_favourite": "0"
        "favourites": "0"
        "is_chat_enabled": "0"
    }
}
            


Save Profile

Resource URL api/home/save_profile
Request Method REST
Type POST
Response Format JSON

Parameter Description
uid Required
education Optional
job Optional
employer Optional
school Optional
about_me Optional
description Optional
dob Optional

JSON Response

{
    "error": false
    "message": "Profile save successfully."
}
            


User Profile

Resource URL api/home/user_profile
Request Method REST
Type POST
Response Format JSON

Parameter Description
uid Required
profile_id Required

JSON Response

{
    "error": false
    "user": {
    "id": "1"
    "first_name": "Naveed"
    "last_name": "Arshad"
    "age": "18"
    "gender": "male"
    "name": "Naveed Arshad"
    "profile_pic": "http://societe.ae/appcms/assets/uploads/users/thumbnails/tmb1_2fe2474fe47fb06f19b46e325508dce8.jpg"
    "education": "Education Here"
    "job": "Job Here"
    "employer": "Employeer Here"
    "school": "School Name Here"
    "about_me": "About Me Here"
    "description": "Description Here"
    "availability": "Online"
    "lastlogin": "5 hours ago"
    "distance": "89.61 Miles"
    "is_favourite": "0"
    "favourites": "0"
    "is_chat_enabled": "0"
}
"photos": [6]
    0:  {
        "id": "1"
        "image": "http://societe.ae/appcms/assets/uploads/photos/c5d0449e06f1665b1a2f2b28bc22a2d8.jpg"
        "index": 1
        "uploaded": "2015-12-29 12:59:45"
    }
    1:  {
        "id": "2"
        "image": "http://societe.ae/appcms/assets/uploads/photos/19f52ac46f55eaa44333dc5ae273885c.jpg"
        "index": 2
        "uploaded": "2015-12-29 12:59:45"
    }
    2:  {
        "id": "3"
        "image": "http://societe.ae/appcms/assets/uploads/photos/efb04eaa325355514987bd56108144a9.jpg"
        "index": 3
        "uploaded": "2015-12-29 12:59:45"
    }
    3:  {
        "id": "4"
        "image": "http://societe.ae/appcms/assets/uploads/photos/d8d83c088a6316d3f5facb9655a533e8.jpg"
        "index": 4
        "uploaded": "2015-12-29 13:01:21"
    }
    4:  {
        "id": "5"
        "image": "http://societe.ae/appcms/assets/uploads/photos/a59bd0ac927d5866de1f7748de0d24ef.jpg"
        "index": 5
        "uploaded": "2015-12-29 13:01:21"
    }
    5:  {
        "id": "6"
        "image": "http://societe.ae/appcms/assets/uploads/photos/71fa5c50484a9f9273b0b8a63c9c0343.jpg"
        "index": 6
        "uploaded": "2015-12-29 13:01:21"
    }
}
{
    "error": true
    "message": "No User Record Found"
}
            


My Profile

Resource URL api/home/my_profile
Request Method REST
Type POST
Response Format JSON

Parameter Description
uid Required

JSON Response

{
    "error": false
    "user": {
    "id": "1"
    "first_name": "Naveed"
    "last_name": "Arshad"
    "age": "18"
    "gender": "male"
    "name": "Naveed Arshad"
    "profile_pic": "http://societe.ae/appcms/assets/uploads/users/thumbnails/tmb1_2fe2474fe47fb06f19b46e325508dce8.jpg"
    "education": "Education Here"
    "job": "Job Here"
    "employer": "Employeer Here"
    "school": "School Name Here"
    "about_me": "About Me Here"
    "description": "Description Here"
    "availability": "Online"
    "favourites": "1"
}
"photos": [6]
    0:  {
        "id": "1"
        "image": "http://societe.ae/appcms/assets/uploads/photos/c5d0449e06f1665b1a2f2b28bc22a2d8.jpg"
        "index": 1
        "uploaded": "2015-12-29 12:59:45"
    }
    1:  {
        "id": "2"
        "image": "http://societe.ae/appcms/assets/uploads/photos/19f52ac46f55eaa44333dc5ae273885c.jpg"
        "index": 2
        "uploaded": "2015-12-29 12:59:45"
    }
    2:  {
        "id": "3"
        "image": "http://societe.ae/appcms/assets/uploads/photos/efb04eaa325355514987bd56108144a9.jpg"
        "index": 3
        "uploaded": "2015-12-29 12:59:45"
    }
    3:  {
        "id": "4"
        "image": "http://societe.ae/appcms/assets/uploads/photos/d8d83c088a6316d3f5facb9655a533e8.jpg"
        "index": 4
        "uploaded": "2015-12-29 13:01:21"
    }
    4:  {
        "id": "5"
        "image": "http://societe.ae/appcms/assets/uploads/photos/a59bd0ac927d5866de1f7748de0d24ef.jpg"
        "index": 5
        "uploaded": "2015-12-29 13:01:21"
    }
    5:  {
        "id": "6"
        "image": "http://societe.ae/appcms/assets/uploads/photos/71fa5c50484a9f9273b0b8a63c9c0343.jpg"
        "index": 6
        "uploaded": "2015-12-29 13:01:21"
    }
}
{
    "error": true
    "message": "No User Record Found"
}
            


Logout

Resource URL api/fb/logout
Request Method REST
Type POST
Response Format JSON

Parameter Description
uid Required
availability Required

JSON Response

{
    "error": false
    "message": "Logout Successfully."
}
{
    "error": true
    "message": "No User Record Found"
}
            


Save Photos

Resource URL api/photos/save
Request Method REST
Type POST
Response Format JSON

Parameter Description
uid Required
image Required

JSON Response

{
    "error": false
    "message": "Photos uploaded successfully."
}
{
    "error": true
    "message": "Unable to upload Photos. Please try again."
}
            


Delete Photos

Resource URL api/photos/delete
Request Method REST
Type POST
Response Format JSON

Parameter Description
uid Required
photo_id Required

JSON Response

{
    "error": false
    "message": "Photos deleted successfully."
}
{
    "error": true
    "message": "Unable to delete this Photo."
}
            


Update Photos

Resource URL api/photos/update_order
Request Method REST
Type POST
Response Format JSON

Parameter Description
uid Required
photos Required

JSON Response

{
    "error": false
    "message": "Photos order changed successfully."
}
        


Get Notifications

Resource URL api/notifications/get
Request Method REST
Type POST
Response Format JSON

Parameter Description
uid Required

JSON Response

{
    "error": false
    "notifications": [1]
    0:  {
        "notification_id": "177"
        "sender_id": "14"
        "first_name": "Khurram"
        "message": "Wa Alaikum Assalam"
        "notification_date": "2016-01-15"
        "notification_time": "9:27 AM"
        "profile_pic": "https://graph.facebook.com/10208400762362251/picture?type=large"
        "type": "2"
    }
}
            


Add Favourite

Resource URL api/favourite/add
Request Method REST
Type POST
Response Format JSON

Parameter Description
sender_id Required
reciever_id Required

JSON Response

{
    "error": false
    "message": "Naveed added you as favourite"
}
{
    "error": false
    "message": "unfavourite Successfully."
}
            








Update Notification

Resource URL api/notifications/update
Request Method REST
Type POST
Response Format JSON

Parameter Description
id Required

JSON Response

{
    "error": false
    "message": "Notification Removed Successfully."
}
            


Frames

Resource URL api/home/frames
Request Method REST
Type GET
Response Format JSON

JSON Response

{
    "error": false
    "frames": [3]
    0:  {
        "frame_id": "1"
        "image_url": "/appcms/assets/uploads/frames/thumbnails/tmb1_59df2c252be3ad0ac3fad4c84fb26f80.png"
    }
    1:  {
        "frame_id": "2"
        "image_url": "/appcms/assets/uploads/frames/thumbnails/tmb1_76775e6eeea1a4b1427c039b86c0c234.png"
    }
    2:  {
        "frame_id": "3"
        "image_url": "/appcms/assets/uploads/frames/thumbnails/tmb1_87db29cbf3f048379d346bbb30d28d8f.png"
    }
}
{
    "error": true
    "message": "No Record Found."
}