Download OpenAPI specification:Download
Chat API for The Landscaper with TalkJS integration
| first_name_en required | string First name in English |
| last_name_en required | string Last name in English |
string <email> User email address | |
| talkjs_id | string TalkJS user ID (optional, will be generated if not provided) |
{- "first_name_en": "John",
- "last_name_en": "Doe",
- "email": "john.doe@example.com",
- "talkjs_id": "uuid-123-456-789"
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": "uuid-123-456-789"
}| participant_ids required | Array of integers <int64> [ items <int64 > ] List of user IDs to include in the conversation |
| subject required | string Subject/title of the conversation |
| initial_message required | string Initial welcome message for the conversation |
| conversation_id | string Custom conversation ID (optional, will be generated if not provided) |
{- "participant_ids": [
- 123,
- 456
], - "subject": "Enquiry for Beautiful Property",
- "initial_message": "Welcome to this conversation!",
- "conversation_id": "123_456_789"
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": "123_456_789"
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": [
- {
- "id": 1,
- "talkjs_conversation_id": "123_456_789",
- "subject": "Enquiry for Beautiful Property",
- "created_at": "2021-01-01T00:00:00.000Z",
- "created_by": 123,
- "participants": [
- {
- "id": 1,
- "chat_id": 1,
- "user_id": 123,
- "joined_at": "2021-01-01T00:00:00.000Z",
- "left_at": "2021-01-02T00:00:00.000Z",
- "user": {
- "id": 123,
- "email": "john.doe@example.com",
- "first_name_en": "John",
- "last_name_en": "Doe",
}
}
]
}
]
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "id": 1,
- "talkjs_conversation_id": "123_456_789",
- "subject": "Enquiry for Beautiful Property",
- "created_at": "2021-01-01T00:00:00.000Z",
- "created_by": 123,
- "participants": [
- {
- "id": 1,
- "chat_id": 1,
- "user_id": 123,
- "joined_at": "2021-01-01T00:00:00.000Z",
- "left_at": "2021-01-02T00:00:00.000Z",
- "user": {
- "id": 123,
- "email": "john.doe@example.com",
- "first_name_en": "John",
- "last_name_en": "Doe",
}
}
]
}
}| title_en required | string The title of the listing in English |
| title_ar | string The title of the listing in Arabic |
| description_en | string The description of the listing in English |
| description_ar | string The description of the listing in Arabic |
| fields | object The custom fields key value of the listing |
| buy_rent | string The buy or rent of the listing |
| price | number The price of the listing |
object The location of the listing (X(longitude), Y(latitude)) | |
object (location-metadata) | |
| category_id required | integer The category ID of the listing |
| sub_category_id required | integer The sub category ID of the listing |
| child_category_id | integer The child category ID of the listing (optional) |
| city_id required | integer The city ID of the listing |
| status required | string Enum: "draft" "pending" "live" "rejected" "archived" The status of the listing |
| images | Array of strings [ 0 .. 5 ] items The images of the listing [url1, url2, url3, url4, url5] |
Array of objects (Portfolio-Create) The portfolios of the listing |
{- "title_en": "My Listing",
- "title_ar": "قطعة الأرض",
- "description_en": "This is a description of the listing",
- "description_ar": "هذا هو الوصف للقطعة الأرضية",
- "fields": {
- "field1_en": "value1",
- "field2_en": "value2",
- "field3_en": "value3",
- "field1_ar": "قيمة 1",
- "field2_ar": "قيمة 2",
- "field3_ar": "قيمة 3"
}, - "buy_rent": "buy",
- "price": 100000,
- "location": {
- "X": 10,
- "Y": 10
}, - "location_metadata": {
- "addressComponents": [
- {
- "longName": "Pallikaranai",
- "shortName": "Pallikaranai",
- "types": [
- "sublocality_level_1"
]
}
], - "formattedAddress": "39/19, Mgr Anna Nagar, Pallikaranai, Chennai, Tamil Nadu 600100, India",
- "geometry": {
- "bounds": {
- "northeast": {
- "lat": 12.9352009,
- "lng": 80.2161949
}, - "southwest": {
- "lat": 12.9350658,
- "lng": 80.2161143
}
}, - "location": {
- "lat": 12.9351333,
- "lng": 80.2161546
}, - "locationType": "ROOFTOP",
- "viewport": {
- "northeast": {
- "lat": 12.9364823,
- "lng": 80.2175036
}, - "southwest": {
- "lat": 12.9337844,
- "lng": 80.2148056
}
}
}, - "navigationPoints": [
- {
- "location": {
- "lat": 12.9351256,
- "lng": 80.2161342
}
}
], - "placeId": "ChIJ64jF2U5cUjoREq5OqC3PXXo",
- "types": [
- "street_address"
]
}, - "category_id": 1,
- "sub_category_id": 1,
- "child_category_id": 1,
- "city_id": 1,
- "status": "draft",
- "portfolios": [
- {
- "title_en": "Portfolio Title",
- "title_ar": "عنوان المعرض",
- "description_en": "Portfolio Description",
- "description_ar": "وصف المعرض",
- "display_order": 1
}
]
}{- "message": "Success",
- "status": "draft | pending | live | rejected | archived",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "title_en": "My Listing",
- "title_ar": "قطعة الأرض",
- "description_en": "This is a description of the listing",
- "description_ar": "هذا هو الوصف للقطعة الأرضية",
- "fields": {
- "field1_en": "value1",
- "field2_en": "value2",
- "field3_en": "value3",
- "field1_ar": "قيمة 1",
- "field2_ar": "قيمة 2",
- "field3_ar": "قيمة 3"
}, - "buy_rent": "buy",
- "price": 100000,
- "location": {
- "X": 10,
- "Y": 10
}, - "location_metadata": {
- "addressComponents": [
- {
- "longName": "Pallikaranai",
- "shortName": "Pallikaranai",
- "types": [
- "sublocality_level_1"
]
}
], - "formattedAddress": "39/19, Mgr Anna Nagar, Pallikaranai, Chennai, Tamil Nadu 600100, India",
- "geometry": {
- "bounds": {
- "northeast": {
- "lat": 12.9352009,
- "lng": 80.2161949
}, - "southwest": {
- "lat": 12.9350658,
- "lng": 80.2161143
}
}, - "location": {
- "lat": 12.9351333,
- "lng": 80.2161546
}, - "locationType": "ROOFTOP",
- "viewport": {
- "northeast": {
- "lat": 12.9364823,
- "lng": 80.2175036
}, - "southwest": {
- "lat": 12.9337844,
- "lng": 80.2148056
}
}
}, - "navigationPoints": [
- {
- "location": {
- "lat": 12.9351256,
- "lng": 80.2161342
}
}
], - "placeId": "ChIJ64jF2U5cUjoREq5OqC3PXXo",
- "types": [
- "street_address"
]
}, - "category_id": 1,
- "sub_category_id": 1,
- "child_category_id": 1,
- "city_id": 1,
- "portfolios": [
- {
- "title_en": "Portfolio Title",
- "title_ar": "عنوان المعرض",
- "description_en": "Portfolio Description",
- "description_ar": "وصف المعرض",
- "display_order": 1
}
], - "id": 1,
- "listing_uuid": "uuid-123-456-789",
- "posted_by": 1,
- "posted_at": "2021-01-01T00:00:00Z",
- "updated_at": "2021-01-01T00:00:00Z",
- "is_favorite": true,
- "is_active": true,
- "is_blocked": false,
- "rejection_comments": "Does not meet quality standards",
- "blocked_by": 1,
- "blocked_on": "2021-01-01T00:00:00Z",
- "blocked_reason": "The listing was blocked because it violated the terms of service",
- "reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
]
}{- "message": "Success",
- "status": "draft | pending | live | rejected | archived",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "title_en": "My Listing",
- "title_ar": "قطعة الأرض",
- "description_en": "This is a description of the listing",
- "description_ar": "هذا هو الوصف للقطعة الأرضية",
- "fields": {
- "field1_en": "value1",
- "field2_en": "value2",
- "field3_en": "value3",
- "field1_ar": "قيمة 1",
- "field2_ar": "قيمة 2",
- "field3_ar": "قيمة 3"
}, - "buy_rent": "buy",
- "price": 100000,
- "location": {
- "X": 10,
- "Y": 10
}, - "location_metadata": {
- "addressComponents": [
- {
- "longName": "Pallikaranai",
- "shortName": "Pallikaranai",
- "types": [
- "sublocality_level_1"
]
}
], - "formattedAddress": "39/19, Mgr Anna Nagar, Pallikaranai, Chennai, Tamil Nadu 600100, India",
- "geometry": {
- "bounds": {
- "northeast": {
- "lat": 12.9352009,
- "lng": 80.2161949
}, - "southwest": {
- "lat": 12.9350658,
- "lng": 80.2161143
}
}, - "location": {
- "lat": 12.9351333,
- "lng": 80.2161546
}, - "locationType": "ROOFTOP",
- "viewport": {
- "northeast": {
- "lat": 12.9364823,
- "lng": 80.2175036
}, - "southwest": {
- "lat": 12.9337844,
- "lng": 80.2148056
}
}
}, - "navigationPoints": [
- {
- "location": {
- "lat": 12.9351256,
- "lng": 80.2161342
}
}
], - "placeId": "ChIJ64jF2U5cUjoREq5OqC3PXXo",
- "types": [
- "street_address"
]
}, - "category_id": 1,
- "sub_category_id": 1,
- "child_category_id": 1,
- "city_id": 1,
- "portfolios": [
- {
- "title_en": "Portfolio Title",
- "title_ar": "عنوان المعرض",
- "description_en": "Portfolio Description",
- "description_ar": "وصف المعرض",
- "display_order": 1
}
], - "id": 1,
- "listing_uuid": "uuid-123-456-789",
- "posted_by": 1,
- "posted_at": "2021-01-01T00:00:00Z",
- "updated_at": "2021-01-01T00:00:00Z",
- "is_favorite": true,
- "is_active": true,
- "is_blocked": false,
- "rejection_comments": "Does not meet quality standards",
- "blocked_by": 1,
- "blocked_on": "2021-01-01T00:00:00Z",
- "blocked_reason": "The listing was blocked because it violated the terms of service",
- "reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
]
}| category_id | string The ID of the category |
| sub_category_id | string The ID of the sub category |
| child_category_id | string The ID of the child category |
| city_id | string The ID of the city |
| search | string Example: search=search The search term |
| sort | string Example: sort=asc The sort order |
| sort_by | string Example: sort_by=created_at The sort by |
| limit | integer Example: limit=10 The number of items per page |
| index | integer Example: index=0 The index |
| is_reported | boolean Example: is_reported=true Whether to get reported listings only |
| reported_status | string Example: reported_status=pending | resolved The status of the report |
| is_blocked | boolean Example: is_blocked=true Whether to get blocked listings only |
| status | string Example: status=draft | pending | live | rejected | archived The status of the listing |
{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "draft | pending | live | rejected | archived",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101,
- "title_en": "My Listing",
- "title_ar": "قطعة الأرض",
- "description_en": "This is a description of the listing",
- "description_ar": "هذا هو الوصف للقطعة الأرضية",
- "fields": {
- "field1_en": "value1",
- "field2_en": "value2",
- "field3_en": "value3",
- "field1_ar": "قيمة 1",
- "field2_ar": "قيمة 2",
- "field3_ar": "قيمة 3"
}, - "buy_rent": "buy",
- "price": 100000,
- "location": {
- "X": 10,
- "Y": 10
}, - "location_metadata": {
- "addressComponents": [
- {
- "longName": "Pallikaranai",
- "shortName": "Pallikaranai",
- "types": [
- "sublocality_level_1"
]
}
], - "formattedAddress": "39/19, Mgr Anna Nagar, Pallikaranai, Chennai, Tamil Nadu 600100, India",
- "geometry": {
- "bounds": {
- "northeast": {
- "lat": 12.9352009,
- "lng": 80.2161949
}, - "southwest": {
- "lat": 12.9350658,
- "lng": 80.2161143
}
}, - "location": {
- "lat": 12.9351333,
- "lng": 80.2161546
}, - "locationType": "ROOFTOP",
- "viewport": {
- "northeast": {
- "lat": 12.9364823,
- "lng": 80.2175036
}, - "southwest": {
- "lat": 12.9337844,
- "lng": 80.2148056
}
}
}, - "navigationPoints": [
- {
- "location": {
- "lat": 12.9351256,
- "lng": 80.2161342
}
}
], - "placeId": "ChIJ64jF2U5cUjoREq5OqC3PXXo",
- "types": [
- "street_address"
]
}, - "category_id": 1,
- "sub_category_id": 1,
- "child_category_id": 1,
- "city_id": 1,
- "portfolios": [
- {
- "title_en": "Portfolio Title",
- "title_ar": "عنوان المعرض",
- "description_en": "Portfolio Description",
- "description_ar": "وصف المعرض",
- "display_order": 1
}
], - "listing_uuid": "uuid-123-456-789",
- "posted_by": 1,
- "posted_at": "2021-01-01T00:00:00Z",
- "updated_at": "2021-01-01T00:00:00Z",
- "is_favorite": true,
- "is_active": true,
- "is_blocked": false,
- "rejection_comments": "Does not meet quality standards",
- "blocked_by": 1,
- "blocked_on": "2021-01-01T00:00:00Z",
- "blocked_reason": "The listing was blocked because it violated the terms of service",
- "reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
]
}
]
}| category_id | string The ID of the category |
| sub_category_id | string The ID of the sub category |
| child_category_id | string The ID of the child category |
| city_id | string The ID of the city |
| search | string Example: search=search The search term |
| sort | string Example: sort=asc The sort order |
| sort_by | string Example: sort_by=created_at The sort by |
| limit | integer Example: limit=10 The number of items per page |
| index | integer Example: index=0 The index |
| status | string Example: status=draft | pending | live | rejected | archived The status of the listing |
| is_blocked | boolean Example: is_blocked=true Whether to get blocked listings only |
{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": [
- {
- "title_en": "My Listing",
- "title_ar": "قطعة الأرض",
- "description_en": "This is a description of the listing",
- "description_ar": "هذا هو الوصف للقطعة الأرضية",
- "fields": {
- "field1_en": "value1",
- "field2_en": "value2",
- "field3_en": "value3",
- "field1_ar": "قيمة 1",
- "field2_ar": "قيمة 2",
- "field3_ar": "قيمة 3"
}, - "buy_rent": "buy",
- "price": 100000,
- "location": {
- "X": 10,
- "Y": 10
}, - "location_metadata": {
- "addressComponents": [
- {
- "longName": "Pallikaranai",
- "shortName": "Pallikaranai",
- "types": [
- "sublocality_level_1"
]
}
], - "formattedAddress": "39/19, Mgr Anna Nagar, Pallikaranai, Chennai, Tamil Nadu 600100, India",
- "geometry": {
- "bounds": {
- "northeast": {
- "lat": 12.9352009,
- "lng": 80.2161949
}, - "southwest": {
- "lat": 12.9350658,
- "lng": 80.2161143
}
}, - "location": {
- "lat": 12.9351333,
- "lng": 80.2161546
}, - "locationType": "ROOFTOP",
- "viewport": {
- "northeast": {
- "lat": 12.9364823,
- "lng": 80.2175036
}, - "southwest": {
- "lat": 12.9337844,
- "lng": 80.2148056
}
}
}, - "navigationPoints": [
- {
- "location": {
- "lat": 12.9351256,
- "lng": 80.2161342
}
}
], - "placeId": "ChIJ64jF2U5cUjoREq5OqC3PXXo",
- "types": [
- "street_address"
]
}, - "category_id": 1,
- "sub_category_id": 1,
- "child_category_id": 1,
- "city_id": 1,
- "status": "draft | pending | live | rejected | archived",
- "portfolios": [
- {
- "title_en": "Portfolio Title",
- "title_ar": "عنوان المعرض",
- "description_en": "Portfolio Description",
- "description_ar": "وصف المعرض",
- "display_order": 1
}
], - "id": 1,
- "listing_uuid": "uuid-123-456-789",
- "posted_by": 1,
- "posted_at": "2021-01-01T00:00:00Z",
- "updated_at": "2021-01-01T00:00:00Z",
- "is_favorite": true,
- "is_active": true,
- "is_blocked": false,
- "rejection_comments": "Does not meet quality standards",
- "blocked_by": 1,
- "blocked_on": "2021-01-01T00:00:00Z",
- "blocked_reason": "The listing was blocked because it violated the terms of service",
- "reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
]
}
]
}{- "message": "Success",
- "status": "draft | pending | live | rejected | archived",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "title_en": "My Listing",
- "title_ar": "قطعة الأرض",
- "description_en": "This is a description of the listing",
- "description_ar": "هذا هو الوصف للقطعة الأرضية",
- "fields": {
- "field1_en": "value1",
- "field2_en": "value2",
- "field3_en": "value3",
- "field1_ar": "قيمة 1",
- "field2_ar": "قيمة 2",
- "field3_ar": "قيمة 3"
}, - "buy_rent": "buy",
- "price": 100000,
- "location": {
- "X": 10,
- "Y": 10
}, - "location_metadata": {
- "addressComponents": [
- {
- "longName": "Pallikaranai",
- "shortName": "Pallikaranai",
- "types": [
- "sublocality_level_1"
]
}
], - "formattedAddress": "39/19, Mgr Anna Nagar, Pallikaranai, Chennai, Tamil Nadu 600100, India",
- "geometry": {
- "bounds": {
- "northeast": {
- "lat": 12.9352009,
- "lng": 80.2161949
}, - "southwest": {
- "lat": 12.9350658,
- "lng": 80.2161143
}
}, - "location": {
- "lat": 12.9351333,
- "lng": 80.2161546
}, - "locationType": "ROOFTOP",
- "viewport": {
- "northeast": {
- "lat": 12.9364823,
- "lng": 80.2175036
}, - "southwest": {
- "lat": 12.9337844,
- "lng": 80.2148056
}
}
}, - "navigationPoints": [
- {
- "location": {
- "lat": 12.9351256,
- "lng": 80.2161342
}
}
], - "placeId": "ChIJ64jF2U5cUjoREq5OqC3PXXo",
- "types": [
- "street_address"
]
}, - "category_id": 1,
- "sub_category_id": 1,
- "child_category_id": 1,
- "city_id": 1,
- "portfolios": [
- {
- "title_en": "Portfolio Title",
- "title_ar": "عنوان المعرض",
- "description_en": "Portfolio Description",
- "description_ar": "وصف المعرض",
- "display_order": 1
}
], - "id": 1,
- "listing_uuid": "uuid-123-456-789",
- "posted_by": 1,
- "posted_at": "2021-01-01T00:00:00Z",
- "updated_at": "2021-01-01T00:00:00Z",
- "is_favorite": true,
- "is_active": true,
- "is_blocked": false,
- "rejection_comments": "Does not meet quality standards",
- "blocked_by": 1,
- "blocked_on": "2021-01-01T00:00:00Z",
- "blocked_reason": "The listing was blocked because it violated the terms of service",
- "reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
]
}| title_en required | string The title of the listing in English |
| title_ar | string The title of the listing in Arabic |
| description_en | string The description of the listing in English |
| description_ar | string The description of the listing in Arabic |
| fields | object The custom fields key value of the listing |
| buy_rent | string The buy or rent of the listing |
| price | number The price of the listing |
object The location of the listing (X(longitude), Y(latitude)) | |
object (location-metadata) | |
| category_id required | integer The category ID of the listing |
| sub_category_id required | integer The sub category ID of the listing |
| child_category_id | integer The child category ID of the listing (optional) |
| city_id required | integer The city ID of the listing |
| status required | string Enum: "draft" "pending" "live" "rejected" "archived" The status of the listing |
| images | Array of strings [ 0 .. 5 ] items The images of the listing [url1, url2, url3, url4, url5] |
Array of objects (Portfolio-Basic) The portfolios of the listing |
{- "title_en": "My Listing",
- "title_ar": "قطعة الأرض",
- "description_en": "This is a description of the listing",
- "description_ar": "هذا هو الوصف للقطعة الأرضية",
- "fields": {
- "field1_en": "value1",
- "field2_en": "value2",
- "field3_en": "value3",
- "field1_ar": "قيمة 1",
- "field2_ar": "قيمة 2",
- "field3_ar": "قيمة 3"
}, - "buy_rent": "buy",
- "price": 100000,
- "location": {
- "X": 10,
- "Y": 10
}, - "location_metadata": {
- "addressComponents": [
- {
- "longName": "Pallikaranai",
- "shortName": "Pallikaranai",
- "types": [
- "sublocality_level_1"
]
}
], - "formattedAddress": "39/19, Mgr Anna Nagar, Pallikaranai, Chennai, Tamil Nadu 600100, India",
- "geometry": {
- "bounds": {
- "northeast": {
- "lat": 12.9352009,
- "lng": 80.2161949
}, - "southwest": {
- "lat": 12.9350658,
- "lng": 80.2161143
}
}, - "location": {
- "lat": 12.9351333,
- "lng": 80.2161546
}, - "locationType": "ROOFTOP",
- "viewport": {
- "northeast": {
- "lat": 12.9364823,
- "lng": 80.2175036
}, - "southwest": {
- "lat": 12.9337844,
- "lng": 80.2148056
}
}
}, - "navigationPoints": [
- {
- "location": {
- "lat": 12.9351256,
- "lng": 80.2161342
}
}
], - "placeId": "ChIJ64jF2U5cUjoREq5OqC3PXXo",
- "types": [
- "street_address"
]
}, - "category_id": 1,
- "sub_category_id": 1,
- "child_category_id": 1,
- "city_id": 1,
- "status": "draft",
- "portfolios": [
- {
- "title_en": "Portfolio Title",
- "title_ar": "عنوان المعرض",
- "description_en": "Portfolio Description",
- "description_ar": "وصف المعرض",
- "display_order": 1,
- "id": 1
}
]
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "title_en": "My Listing",
- "title_ar": "قطعة الأرض",
- "description_en": "This is a description of the listing",
- "description_ar": "هذا هو الوصف للقطعة الأرضية",
- "fields": {
- "field1_en": "value1",
- "field2_en": "value2",
- "field3_en": "value3",
- "field1_ar": "قيمة 1",
- "field2_ar": "قيمة 2",
- "field3_ar": "قيمة 3"
}, - "buy_rent": "buy",
- "price": 100000,
- "location": {
- "X": 10,
- "Y": 10
}, - "location_metadata": {
- "addressComponents": [
- {
- "longName": "Pallikaranai",
- "shortName": "Pallikaranai",
- "types": [
- "sublocality_level_1"
]
}
], - "formattedAddress": "39/19, Mgr Anna Nagar, Pallikaranai, Chennai, Tamil Nadu 600100, India",
- "geometry": {
- "bounds": {
- "northeast": {
- "lat": 12.9352009,
- "lng": 80.2161949
}, - "southwest": {
- "lat": 12.9350658,
- "lng": 80.2161143
}
}, - "location": {
- "lat": 12.9351333,
- "lng": 80.2161546
}, - "locationType": "ROOFTOP",
- "viewport": {
- "northeast": {
- "lat": 12.9364823,
- "lng": 80.2175036
}, - "southwest": {
- "lat": 12.9337844,
- "lng": 80.2148056
}
}
}, - "navigationPoints": [
- {
- "location": {
- "lat": 12.9351256,
- "lng": 80.2161342
}
}
], - "placeId": "ChIJ64jF2U5cUjoREq5OqC3PXXo",
- "types": [
- "street_address"
]
}, - "category_id": 1,
- "sub_category_id": 1,
- "child_category_id": 1,
- "city_id": 1,
- "status": "draft | pending | live | rejected | archived",
- "portfolios": [
- {
- "title_en": "Portfolio Title",
- "title_ar": "عنوان المعرض",
- "description_en": "Portfolio Description",
- "description_ar": "وصف المعرض",
- "display_order": 1
}
], - "id": 1,
- "listing_uuid": "uuid-123-456-789",
- "posted_by": 1,
- "posted_at": "2021-01-01T00:00:00Z",
- "updated_at": "2021-01-01T00:00:00Z",
- "is_favorite": true,
- "is_active": true,
- "is_blocked": false,
- "rejection_comments": "Does not meet quality standards",
- "blocked_by": 1,
- "blocked_on": "2021-01-01T00:00:00Z",
- "blocked_reason": "The listing was blocked because it violated the terms of service",
- "reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
]
}
}| index | integer The index |
| limit | integer The limit |
| sort | string The sort order |
| sort_by | string The sort by |
| search | string The search term |
Array of objects The filters | |
| category_id | integer The category ID of the listing |
| sub_category_id | integer The sub category ID of the listing |
| child_category_id | integer The child category ID of the listing |
| city_id | integer The city ID of the listing |
| is_favorite | boolean Whether the listing is favorite |
object The location of the user (X(longitude), Y(latitude)) | |
| distance_in_km | number The distance in kilometers |
| top_favorites | integer Number of months to count favorites for top listing |
| check_favorite | boolean Include IsFavorite flag without filtering |
{- "index": 0,
- "limit": 30,
- "sort": "asc",
- "sort_by": "created_at",
- "search": "search",
- "filters": [
- {
- "fieldName": "is_active",
- "operator": "=",
- "fieldValue": true
}
], - "category_id": 1,
- "sub_category_id": 1,
- "child_category_id": 1,
- "city_id": 1,
- "is_favorite": true,
- "location": {
- "X": 10,
- "Y": 10
}, - "distance_in_km": 100,
- "top_favorites": 3,
- "check_favorite": true
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": [
- {
- "title_en": "My Listing",
- "title_ar": "قطعة الأرض",
- "description_en": "This is a description of the listing",
- "description_ar": "هذا هو الوصف للقطعة الأرضية",
- "fields": {
- "field1_en": "value1",
- "field2_en": "value2",
- "field3_en": "value3",
- "field1_ar": "قيمة 1",
- "field2_ar": "قيمة 2",
- "field3_ar": "قيمة 3"
}, - "buy_rent": "buy",
- "price": 100000,
- "location": {
- "X": 10,
- "Y": 10
}, - "location_metadata": {
- "addressComponents": [
- {
- "longName": "Pallikaranai",
- "shortName": "Pallikaranai",
- "types": [
- "sublocality_level_1"
]
}
], - "formattedAddress": "39/19, Mgr Anna Nagar, Pallikaranai, Chennai, Tamil Nadu 600100, India",
- "geometry": {
- "bounds": {
- "northeast": {
- "lat": 12.9352009,
- "lng": 80.2161949
}, - "southwest": {
- "lat": 12.9350658,
- "lng": 80.2161143
}
}, - "location": {
- "lat": 12.9351333,
- "lng": 80.2161546
}, - "locationType": "ROOFTOP",
- "viewport": {
- "northeast": {
- "lat": 12.9364823,
- "lng": 80.2175036
}, - "southwest": {
- "lat": 12.9337844,
- "lng": 80.2148056
}
}
}, - "navigationPoints": [
- {
- "location": {
- "lat": 12.9351256,
- "lng": 80.2161342
}
}
], - "placeId": "ChIJ64jF2U5cUjoREq5OqC3PXXo",
- "types": [
- "street_address"
]
}, - "category_id": 1,
- "sub_category_id": 1,
- "child_category_id": 1,
- "city_id": 1,
- "status": "draft | pending | live | rejected | archived",
- "portfolios": [
- {
- "title_en": "Portfolio Title",
- "title_ar": "عنوان المعرض",
- "description_en": "Portfolio Description",
- "description_ar": "وصف المعرض",
- "display_order": 1
}
], - "id": 1,
- "listing_uuid": "uuid-123-456-789",
- "posted_by": 1,
- "posted_at": "2021-01-01T00:00:00Z",
- "updated_at": "2021-01-01T00:00:00Z",
- "is_favorite": true,
- "is_active": true,
- "is_blocked": false,
- "rejection_comments": "Does not meet quality standards",
- "blocked_by": 1,
- "blocked_on": "2021-01-01T00:00:00Z",
- "blocked_reason": "The listing was blocked because it violated the terms of service",
- "reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
]
}
]
}| id required | string The ID of the listing |
| favorite | boolean Whether to favorite the listing |
{- "favorite": true
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}| id required | string The ID of the listing |
| rating | number [ 1 .. 5 ] The rating of the listing |
{- "rating": 5
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "title_en": "My Listing",
- "title_ar": "قطعة الأرض",
- "description_en": "This is a description of the listing",
- "description_ar": "هذا هو الوصف للقطعة الأرضية",
- "fields": {
- "field1_en": "value1",
- "field2_en": "value2",
- "field3_en": "value3",
- "field1_ar": "قيمة 1",
- "field2_ar": "قيمة 2",
- "field3_ar": "قيمة 3"
}, - "buy_rent": "buy",
- "price": 100000,
- "location": {
- "X": 10,
- "Y": 10
}, - "location_metadata": {
- "addressComponents": [
- {
- "longName": "Pallikaranai",
- "shortName": "Pallikaranai",
- "types": [
- "sublocality_level_1"
]
}
], - "formattedAddress": "39/19, Mgr Anna Nagar, Pallikaranai, Chennai, Tamil Nadu 600100, India",
- "geometry": {
- "bounds": {
- "northeast": {
- "lat": 12.9352009,
- "lng": 80.2161949
}, - "southwest": {
- "lat": 12.9350658,
- "lng": 80.2161143
}
}, - "location": {
- "lat": 12.9351333,
- "lng": 80.2161546
}, - "locationType": "ROOFTOP",
- "viewport": {
- "northeast": {
- "lat": 12.9364823,
- "lng": 80.2175036
}, - "southwest": {
- "lat": 12.9337844,
- "lng": 80.2148056
}
}
}, - "navigationPoints": [
- {
- "location": {
- "lat": 12.9351256,
- "lng": 80.2161342
}
}
], - "placeId": "ChIJ64jF2U5cUjoREq5OqC3PXXo",
- "types": [
- "street_address"
]
}, - "category_id": 1,
- "sub_category_id": 1,
- "child_category_id": 1,
- "city_id": 1,
- "status": "draft | pending | live | rejected | archived",
- "portfolios": [
- {
- "title_en": "Portfolio Title",
- "title_ar": "عنوان المعرض",
- "description_en": "Portfolio Description",
- "description_ar": "وصف المعرض",
- "display_order": 1
}
], - "id": 1,
- "listing_uuid": "uuid-123-456-789",
- "posted_by": 1,
- "posted_at": "2021-01-01T00:00:00Z",
- "updated_at": "2021-01-01T00:00:00Z",
- "is_favorite": true,
- "is_active": true,
- "is_blocked": false,
- "rejection_comments": "Does not meet quality standards",
- "blocked_by": 1,
- "blocked_on": "2021-01-01T00:00:00Z",
- "blocked_reason": "The listing was blocked because it violated the terms of service",
- "reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
]
}
}| id required | string The ID of the listing |
| id required | integer <int64> Report ID |
| listing_id | integer <int64> Listing ID (for listing reports) |
| user_id | integer <int64> User ID (for user reports) |
| status required | string Enum: "pending" "resolved" "closed" Report status |
| report_reason required | string Reason for the report |
| reported_at required | string <date-time> When the report was made |
| responded_at | string <date-time> When the report was responded to |
| reported_by_user_id required | integer <int64> ID of user who made the report |
| responded_by_user_id | integer <int64> ID of user who responded to the report |
{- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}| id required | string The ID of the listing |
| blocked_reason | string The reason the listing was blocked |
{- "blocked_reason": "The listing was blocked because it violated the terms of service"
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "title_en": "My Listing",
- "title_ar": "قطعة الأرض",
- "description_en": "This is a description of the listing",
- "description_ar": "هذا هو الوصف للقطعة الأرضية",
- "fields": {
- "field1_en": "value1",
- "field2_en": "value2",
- "field3_en": "value3",
- "field1_ar": "قيمة 1",
- "field2_ar": "قيمة 2",
- "field3_ar": "قيمة 3"
}, - "buy_rent": "buy",
- "price": 100000,
- "location": {
- "X": 10,
- "Y": 10
}, - "location_metadata": {
- "addressComponents": [
- {
- "longName": "Pallikaranai",
- "shortName": "Pallikaranai",
- "types": [
- "sublocality_level_1"
]
}
], - "formattedAddress": "39/19, Mgr Anna Nagar, Pallikaranai, Chennai, Tamil Nadu 600100, India",
- "geometry": {
- "bounds": {
- "northeast": {
- "lat": 12.9352009,
- "lng": 80.2161949
}, - "southwest": {
- "lat": 12.9350658,
- "lng": 80.2161143
}
}, - "location": {
- "lat": 12.9351333,
- "lng": 80.2161546
}, - "locationType": "ROOFTOP",
- "viewport": {
- "northeast": {
- "lat": 12.9364823,
- "lng": 80.2175036
}, - "southwest": {
- "lat": 12.9337844,
- "lng": 80.2148056
}
}
}, - "navigationPoints": [
- {
- "location": {
- "lat": 12.9351256,
- "lng": 80.2161342
}
}
], - "placeId": "ChIJ64jF2U5cUjoREq5OqC3PXXo",
- "types": [
- "street_address"
]
}, - "category_id": 1,
- "sub_category_id": 1,
- "child_category_id": 1,
- "city_id": 1,
- "status": "draft | pending | live | rejected | archived",
- "portfolios": [
- {
- "title_en": "Portfolio Title",
- "title_ar": "عنوان المعرض",
- "description_en": "Portfolio Description",
- "description_ar": "وصف المعرض",
- "display_order": 1
}
], - "id": 1,
- "listing_uuid": "uuid-123-456-789",
- "posted_by": 1,
- "posted_at": "2021-01-01T00:00:00Z",
- "updated_at": "2021-01-01T00:00:00Z",
- "is_favorite": true,
- "is_active": true,
- "is_blocked": false,
- "rejection_comments": "Does not meet quality standards",
- "blocked_by": 1,
- "blocked_on": "2021-01-01T00:00:00Z",
- "blocked_reason": "The listing was blocked because it violated the terms of service",
- "reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
]
}
}| id required | string The ID of the listing |
| message required | string The message to send to the listing owner |
{- "message": "Hi! I'm very interested in this property. Could we schedule a viewing?"
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}| search | string Example: search=search The search term |
| sort | string Example: sort=asc The sort order |
| sort_by | string Example: sort_by=created_at The sort by |
| index | integer Example: index=0 The index |
| limit | integer Example: limit=10 The number of items per page |
| listing_id | string Example: listing_id=1234567890 The ID of the listing |
| status | string Example: status=ongoing | archived The status of the enquiry |
{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": [
- {
- "id": 1,
- "listing_id": 123,
- "listing_uuid": "uuid-123-456-789",
- "conversation_id": "123_456_789",
- "listed_by_user_id": 456,
- "enquired_by_user_id": 789,
- "status": "ongoing",
- "conversation_messages": [
- {
- "message": "Hi, I'm interested",
- "sentBy": 789,
- "sentAt": "2021-01-01T00:00:00Z"
}
], - "last_message_at": "2021-01-01T00:00:00.000Z",
- "created_at": "2021-01-01T00:00:00.000Z"
}
]
}| id required | string The ID of the listing |
| action | string The action to take on the listing |
| comments | string The comments of the action |
{- "action": "approve | reject",
- "comments": "The listing was approved because it was in good condition"
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}| limit | integer Example: limit=10 Number of items per page |
| index | integer Example: index=1 Page number |
{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "items": [
- {
- "id": 1,
- "city_en": "City",
- "city_ar": "مدينة"
}
], - "total_count": 0
}
}| limit | integer Example: limit=10 Number of items per page |
| index | integer Example: index=1 Page number |
{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "items": [
- {
- "id": 1,
- "category_en": "Category",
- "category_ar": "فئة",
- "is_active": true,
- "display_order": 1,
- "is_more": false,
}
], - "total_count": 0
}
}| id | integer The ID |
| category_en required | string The category in English |
| category_ar required | string The category in Arabic |
| is_active required | boolean The active status |
| display_order required | integer The display order |
| is_more required | boolean Whether the category should be shown in the more categories section |
| icon_img required | string or null The icon image URL |
{- "id": 1,
- "category_en": "Category",
- "category_ar": "فئة",
- "is_active": true,
- "display_order": 1,
- "is_more": false,
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "id": 1,
- "category_en": "Category",
- "category_ar": "فئة",
- "is_active": true,
- "display_order": 1,
- "is_more": false,
}
}| id required | integer The ID of the category |
| id | integer The ID |
| category_en required | string The category in English |
| category_ar required | string The category in Arabic |
| is_active required | boolean The active status |
| display_order required | integer The display order |
| is_more required | boolean Whether the category should be shown in the more categories section |
| icon_img required | string or null The icon image URL |
{- "id": 1,
- "category_en": "Category",
- "category_ar": "فئة",
- "is_active": true,
- "display_order": 1,
- "is_more": false,
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}| category_id | integer Filter by category ID |
| limit | integer Example: limit=10 Number of items per page |
| index | integer Example: index=1 Page number |
{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "items": [
- {
- "id": 1,
- "category_id": 1,
- "sub_category_en": "Sub Category",
- "sub_category_ar": "فئة",
- "is_active": true,
- "display_order": 1
}
], - "total_count": 0
}
}| id | integer The ID |
| category_id | integer The category ID |
| sub_category_en | string The sub category in English |
| sub_category_ar | string The sub category in Arabic |
| is_active | boolean The active status |
| display_order | integer The display order |
{- "id": 1,
- "category_id": 1,
- "sub_category_en": "Sub Category",
- "sub_category_ar": "فئة",
- "is_active": true,
- "display_order": 1
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "id": 1,
- "category_id": 1,
- "sub_category_en": "Sub Category",
- "sub_category_ar": "فئة",
- "is_active": true,
- "display_order": 1
}
}| id required | integer The ID of the sub-category |
| id | integer The ID |
| category_id | integer The category ID |
| sub_category_en | string The sub category in English |
| sub_category_ar | string The sub category in Arabic |
| is_active | boolean The active status |
| display_order | integer The display order |
{- "id": 1,
- "category_id": 1,
- "sub_category_en": "Sub Category",
- "sub_category_ar": "فئة",
- "is_active": true,
- "display_order": 1
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}| sub_category_id | integer Filter by sub-category ID |
| limit | integer Example: limit=10 Number of items per page |
| index | integer Example: index=1 Page number |
{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "items": [
- {
- "id": 0,
- "sub_category_id": 0,
- "child_category_en": "string",
- "child_category_ar": "string",
- "is_active": true,
- "display_order": 0
}
], - "total_count": 0
}
}| id | integer <int64> The unique identifier for the child category |
| sub_category_id required | integer <int64> The ID of the parent sub-category |
| child_category_en required | string The name of the child category in English |
| child_category_ar required | string The name of the child category in Arabic |
| is_active required | boolean Whether the child category is active |
| display_order required | integer The order in which to display the child category |
{- "id": 0,
- "sub_category_id": 0,
- "child_category_en": "string",
- "child_category_ar": "string",
- "is_active": true,
- "display_order": 0
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "id": 0,
- "sub_category_id": 0,
- "child_category_en": "string",
- "child_category_ar": "string",
- "is_active": true,
- "display_order": 0
}
}| id required | integer The ID of the child category |
| id | integer <int64> The unique identifier for the child category |
| sub_category_id required | integer <int64> The ID of the parent sub-category |
| child_category_en required | string The name of the child category in English |
| child_category_ar required | string The name of the child category in Arabic |
| is_active required | boolean Whether the child category is active |
| display_order required | integer The order in which to display the child category |
{- "id": 0,
- "sub_category_id": 0,
- "child_category_en": "string",
- "child_category_ar": "string",
- "is_active": true,
- "display_order": 0
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}| category_id | integer Filter by category ID |
| limit | integer Example: limit=10 Number of items per page |
| index | integer Example: index=1 Page number |
{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "items": [
- {
- "id": 1,
- "category_id": 1,
- "field_id": "field_1",
- "name_en": "Name",
- "name_ar": "الاسم",
- "type": "text",
- "is_bilingual_field": true,
- "is_required": true,
- "prefix_en": "kg",
- "prefix_ar": "كجم",
- "suffix_en": "kg",
- "suffix_ar": "كجم",
- "options_en": [
- "option1",
- "option2"
], - "options_ar": [
- "خيار1",
- "خيار2"
], - "is_active": true,
- "display_order": 1,
- "placeholder_en": "Enter value",
- "placeholder_ar": "أدخل القيمة",
- "is_common_field": false
}
], - "total_count": 0
}
}| id | integer The ID |
| category_id required | integer The category ID |
| field_id | string or null The field identifier |
| name_en | string or null The name in English |
| name_ar | string or null The name in Arabic |
| type required | string or null Enum: "text" "number" "boolean" "select" "multi-select" "date" "time" "datetime" "link" "email" "phone" "url" "file" "textarea" "radio" The field type |
| is_bilingual_field required | boolean Default: true Whether the field supports both languages |
| is_required required | boolean Default: false Whether the field is required |
| prefix_en | string or null The prefix in English |
| prefix_ar | string or null The prefix in Arabic |
| suffix_en | string or null The suffix in English |
| suffix_ar | string or null The suffix in Arabic |
| options_en | Array of strings or null The options in English |
| options_ar | Array of strings or null The options in Arabic |
| is_active required | boolean Default: true The active status |
| display_order required | integer The display order |
| placeholder_en | string or null The placeholder in English |
| placeholder_ar | string or null The placeholder in Arabic |
| is_common_field | boolean Default: false Whether this is a common field |
{- "id": 1,
- "category_id": 1,
- "field_id": "field_1",
- "name_en": "Name",
- "name_ar": "الاسم",
- "type": "text",
- "is_bilingual_field": true,
- "is_required": true,
- "prefix_en": "kg",
- "prefix_ar": "كجم",
- "suffix_en": "kg",
- "suffix_ar": "كجم",
- "options_en": [
- "option1",
- "option2"
], - "options_ar": [
- "خيار1",
- "خيار2"
], - "is_active": true,
- "display_order": 1,
- "placeholder_en": "Enter value",
- "placeholder_ar": "أدخل القيمة",
- "is_common_field": false
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "id": 1,
- "category_id": 1,
- "field_id": "field_1",
- "name_en": "Name",
- "name_ar": "الاسم",
- "type": "text",
- "is_bilingual_field": true,
- "is_required": true,
- "prefix_en": "kg",
- "prefix_ar": "كجم",
- "suffix_en": "kg",
- "suffix_ar": "كجم",
- "options_en": [
- "option1",
- "option2"
], - "options_ar": [
- "خيار1",
- "خيار2"
], - "is_active": true,
- "display_order": 1,
- "placeholder_en": "Enter value",
- "placeholder_ar": "أدخل القيمة",
- "is_common_field": false
}
}| id required | integer The ID of the field |
| op | string Enum: "add" "remove" "replace" "move" "copy" "test" The operation to perform |
| path | string A JSON-Pointer to the target location |
| value | object The value to use for the operation |
[- {
- "op": "add",
- "path": "string",
- "value": { }
}
]{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": [
- {
- "id": 1,
- "name_en": "FAQ Group",
- "name_ar": "مجموعة الأسئلة الشائعة",
- "is_active": true,
- "display_order": 0,
- "faqs": [
- {
- "id": 1,
- "question_en": "What is the purpose of this website?",
- "answer_en": "This website is designed to provide information about our services and products.",
- "question_ar": "ما هو غرض هذا الموقع؟",
- "answer_ar": "هذا الموقع مصمم لتوفير المعلومات عن خدماتنا ومنتجاتنا.",
- "faq_group_id": 1
}
]
}
]
}| name required | string Example: About_Us The name of the content (About_Us, Contact_Us, Terms_And_Conditions, Privacy_Policy, FAQ, FAQ_Group) |
{- "data": [
- {
- "id": 1,
- "question_en": "What is the purpose of this website?",
- "answer_en": "This website is designed to provide information about our services and products.",
- "question_ar": "ما هو غرض هذا الموقع؟",
- "answer_ar": "هذا الموقع مصمم لتوفير المعلومات عن خدماتنا ومنتجاتنا.",
- "faq_group_id": 1
}
], - "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}| name required | string Example: About_Us The name of the content |
Content update data in JSON format
{ }{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "first_name_en": "John",
- "last_name_en": "Doe",
- "first_name_ar": "جون",
- "last_name_ar": "دو",
- "email": "user@example.com",
- "mobile": 501234567,
- "gender": "male",
- "nationality": "Saudi Arabia",
- "dob": "2000-01-01T00:00:00.000Z",
- "business_name": "The Landscaper",
- "business_description": "Leading landscaping company",
- "is_verified": false,
- "is_email_verified": false,
- "is_admin": false,
- "created_at": "2021-01-01T00:00:00.000Z",
- "updated_at": "2021-01-01T00:00:00.000Z",
- "talkjs_id": "talkjs_user_123",
- "id": 1,
- "status": "active | inactive",
- "is_blocked": false,
- "blocked_reason": "Spamming",
- "blocked_by": 1,
- "reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
], - "submitted_reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
]
}
}| first_name_en | string The first name of the user in English |
| last_name_en | string The last name of the user in English |
| first_name_ar | string The first name of the user in Arabic |
| last_name_ar | string The last name of the user in Arabic |
string The email of the user | |
| mobile | string The mobile number of the user |
| gender | string The gender of the user |
| nationality | string The nationality of the user |
| dob | string <date-time> The date of birth of the user iso format YYYY-MM-DDTHH:MM.sssZ |
| profile_image | string The profile image of the user |
| business_name | string The business name of the user |
| business_description | string The business description of the user |
| is_verified | boolean Whether the user is verified |
| is_email_verified | boolean Whether the user's email is verified |
| is_admin | boolean Whether the user is an admin |
| created_at | string <date-time> When the user was created |
| updated_at | string <date-time> When the user was last updated |
| images | Array of strings Array of user images URLs |
| talkjs_id | string TalkJS user ID for chat integration |
{- "first_name_en": "John",
- "last_name_en": "Doe",
- "first_name_ar": "جون",
- "last_name_ar": "دو",
- "email": "user@example.com",
- "mobile": 501234567,
- "gender": "male",
- "nationality": "Saudi Arabia",
- "dob": "2000-01-01T00:00:00.000Z",
- "business_name": "The Landscaper",
- "business_description": "Leading landscaping company",
- "is_verified": false,
- "is_email_verified": false,
- "is_admin": false,
- "created_at": "2021-01-01T00:00:00.000Z",
- "updated_at": "2021-01-01T00:00:00.000Z",
- "talkjs_id": "talkjs_user_123"
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "first_name_en": "John",
- "last_name_en": "Doe",
- "first_name_ar": "جون",
- "last_name_ar": "دو",
- "email": "user@example.com",
- "mobile": 501234567,
- "gender": "male",
- "nationality": "Saudi Arabia",
- "dob": "2000-01-01T00:00:00.000Z",
- "business_name": "The Landscaper",
- "business_description": "Leading landscaping company",
- "is_verified": false,
- "is_email_verified": false,
- "is_admin": false,
- "created_at": "2021-01-01T00:00:00.000Z",
- "updated_at": "2021-01-01T00:00:00.000Z",
- "talkjs_id": "talkjs_user_123",
- "id": 1,
- "status": "active | inactive",
- "is_blocked": false,
- "blocked_reason": "Spamming",
- "blocked_by": 1,
- "reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
], - "submitted_reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
]
}
}| first_name_en | string The first name of the user in English |
| last_name_en | string The last name of the user in English |
| first_name_ar | string The first name of the user in Arabic |
| last_name_ar | string The last name of the user in Arabic |
string The email of the user | |
| mobile | string The mobile number of the user |
| gender | string The gender of the user |
| nationality | string The nationality of the user |
| dob | string <date-time> The date of birth of the user iso format YYYY-MM-DDTHH:MM.sssZ |
| profile_image | string The profile image of the user |
| business_name | string The business name of the user |
| business_description | string The business description of the user |
| is_verified | boolean Whether the user is verified |
| is_email_verified | boolean Whether the user's email is verified |
| is_admin | boolean Whether the user is an admin |
| created_at | string <date-time> When the user was created |
| updated_at | string <date-time> When the user was last updated |
| images | Array of strings Array of user images URLs |
| talkjs_id | string TalkJS user ID for chat integration |
| password | string The password of the user |
{- "first_name_en": "John",
- "last_name_en": "Doe",
- "first_name_ar": "جون",
- "last_name_ar": "دو",
- "email": "user@example.com",
- "mobile": 501234567,
- "gender": "male",
- "nationality": "Saudi Arabia",
- "dob": "2000-01-01T00:00:00.000Z",
- "business_name": "The Landscaper",
- "business_description": "Leading landscaping company",
- "is_verified": false,
- "is_email_verified": false,
- "is_admin": false,
- "created_at": "2021-01-01T00:00:00.000Z",
- "updated_at": "2021-01-01T00:00:00.000Z",
- "talkjs_id": "talkjs_user_123",
- "password": "password"
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "first_name_en": "John",
- "last_name_en": "Doe",
- "first_name_ar": "جون",
- "last_name_ar": "دو",
- "email": "user@example.com",
- "mobile": 501234567,
- "gender": "male",
- "nationality": "Saudi Arabia",
- "dob": "2000-01-01T00:00:00.000Z",
- "business_name": "The Landscaper",
- "business_description": "Leading landscaping company",
- "is_verified": false,
- "is_email_verified": false,
- "is_admin": false,
- "created_at": "2021-01-01T00:00:00.000Z",
- "updated_at": "2021-01-01T00:00:00.000Z",
- "talkjs_id": "talkjs_user_123",
- "id": 1,
- "status": "active | inactive",
- "is_blocked": false,
- "blocked_reason": "Spamming",
- "blocked_by": 1,
- "reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
], - "submitted_reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
], - "session_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
- "user_id": 123,
- "last_seen": "2021-01-01T00:00:00.000Z",
- "logged_in_at": "2021-01-01T00:00:00.000Z",
- "expires_at": "2021-01-01T02:00:00.000Z"
}
}string The email of the user | |
| password | string The password of the user |
{- "email": "user@example.com",
- "password": "password"
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "first_name_en": "John",
- "last_name_en": "Doe",
- "first_name_ar": "جون",
- "last_name_ar": "دو",
- "email": "user@example.com",
- "mobile": 501234567,
- "gender": "male",
- "nationality": "Saudi Arabia",
- "dob": "2000-01-01T00:00:00.000Z",
- "business_name": "The Landscaper",
- "business_description": "Leading landscaping company",
- "is_verified": false,
- "is_email_verified": false,
- "is_admin": false,
- "created_at": "2021-01-01T00:00:00.000Z",
- "updated_at": "2021-01-01T00:00:00.000Z",
- "talkjs_id": "talkjs_user_123",
- "id": 1,
- "status": "active | inactive",
- "is_blocked": false,
- "blocked_reason": "Spamming",
- "blocked_by": 1,
- "reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
], - "submitted_reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
], - "session_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
- "user_id": 123,
- "last_seen": "2021-01-01T00:00:00.000Z",
- "logged_in_at": "2021-01-01T00:00:00.000Z",
- "expires_at": "2021-01-01T02:00:00.000Z"
}
}| token | string The token to verify the email |
{- "token": "eyjhXXXX..."
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}| current_password | string The current password |
| new_password | string The new password |
{- "current_password": "password123",
- "new_password": "password123"
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}string The email address of the user |
{- "email": "user@example.com"
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}| token | string The token to reset the password |
| password | string The new password |
{- "token": "eyjhXXXX...",
- "password": "newpassword123"
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "first_name_en": "John",
- "last_name_en": "Doe",
- "first_name_ar": "جون",
- "last_name_ar": "دو",
- "email": "user@example.com",
- "mobile": 501234567,
- "gender": "male",
- "nationality": "Saudi Arabia",
- "dob": "2000-01-01T00:00:00.000Z",
- "business_name": "The Landscaper",
- "business_description": "Leading landscaping company",
- "is_verified": false,
- "is_email_verified": false,
- "is_admin": false,
- "created_at": "2021-01-01T00:00:00.000Z",
- "updated_at": "2021-01-01T00:00:00.000Z",
- "talkjs_id": "talkjs_user_123",
- "id": 1,
- "status": "active | inactive",
- "is_blocked": false,
- "blocked_reason": "Spamming",
- "blocked_by": 1,
- "reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
], - "submitted_reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
]
}
}| id required | integer <int64> The ID of the user |
| first_name_en | string The first name of the user in English |
| last_name_en | string The last name of the user in English |
| first_name_ar | string The first name of the user in Arabic |
| last_name_ar | string The last name of the user in Arabic |
string The email of the user | |
| mobile | string The mobile number of the user |
| gender | string The gender of the user |
| nationality | string The nationality of the user |
| dob | string <date-time> The date of birth of the user iso format YYYY-MM-DDTHH:MM.sssZ |
| profile_image | string The profile image of the user |
| business_name | string The business name of the user |
| business_description | string The business description of the user |
| is_verified | boolean Whether the user is verified |
| is_email_verified | boolean Whether the user's email is verified |
| is_admin | boolean Whether the user is an admin |
| created_at | string <date-time> When the user was created |
| updated_at | string <date-time> When the user was last updated |
| images | Array of strings Array of user images URLs |
| talkjs_id | string TalkJS user ID for chat integration |
| password | string The password of the user |
{- "first_name_en": "John",
- "last_name_en": "Doe",
- "first_name_ar": "جون",
- "last_name_ar": "دو",
- "email": "user@example.com",
- "mobile": 501234567,
- "gender": "male",
- "nationality": "Saudi Arabia",
- "dob": "2000-01-01T00:00:00.000Z",
- "business_name": "The Landscaper",
- "business_description": "Leading landscaping company",
- "is_verified": false,
- "is_email_verified": false,
- "is_admin": false,
- "created_at": "2021-01-01T00:00:00.000Z",
- "updated_at": "2021-01-01T00:00:00.000Z",
- "talkjs_id": "talkjs_user_123",
- "password": "password"
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}| Authorization | string The token to verify |
| token | string The token to verify |
{- "token": "eyjhXXXX..."
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "first_name_en": "John",
- "last_name_en": "Doe",
- "first_name_ar": "جون",
- "last_name_ar": "دو",
- "email": "user@example.com",
- "mobile": 501234567,
- "gender": "male",
- "nationality": "Saudi Arabia",
- "dob": "2000-01-01T00:00:00.000Z",
- "business_name": "The Landscaper",
- "business_description": "Leading landscaping company",
- "is_verified": false,
- "is_email_verified": false,
- "is_admin": false,
- "created_at": "2021-01-01T00:00:00.000Z",
- "updated_at": "2021-01-01T00:00:00.000Z",
- "talkjs_id": "talkjs_user_123",
- "id": 1,
- "status": "active | inactive",
- "is_blocked": false,
- "blocked_reason": "Spamming",
- "blocked_by": 1,
- "reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
], - "submitted_reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
]
}
}| search | string Example: search=search The search term |
| sort | string Example: sort=asc The sort order |
| sort_by | string Example: sort_by=created_at The sort by |
| limit | integer Example: limit=10 The number of items per page |
| index | integer Example: index=0 The index |
| status | string Example: status=active | inactive The status of the user |
| is_blocked | boolean Example: is_blocked=true | false The blocked status of the user |
| is_reported | boolean Example: is_reported=true | false The reported status of the user |
{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": [
- {
- "first_name_en": "John",
- "last_name_en": "Doe",
- "first_name_ar": "جون",
- "last_name_ar": "دو",
- "email": "user@example.com",
- "mobile": 501234567,
- "gender": "male",
- "nationality": "Saudi Arabia",
- "dob": "2000-01-01T00:00:00.000Z",
- "business_name": "The Landscaper",
- "business_description": "Leading landscaping company",
- "is_verified": false,
- "is_email_verified": false,
- "is_admin": false,
- "created_at": "2021-01-01T00:00:00.000Z",
- "updated_at": "2021-01-01T00:00:00.000Z",
- "talkjs_id": "talkjs_user_123",
- "id": 1,
- "status": "pending",
- "is_blocked": false,
- "blocked_reason": "Spamming",
- "blocked_by": 1,
- "reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
], - "submitted_reports": [
- {
- "id": 1,
- "listing_id": 123,
- "user_id": 456,
- "status": "pending",
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
], - "listing_id": 123,
- "user_id": 456,
- "report_reason": "Inappropriate content",
- "reported_at": "2021-01-01T00:00:00.000Z",
- "responded_at": "2021-01-02T00:00:00.000Z",
- "reported_by_user_id": 789,
- "responded_by_user_id": 101
}
], - "total": 100
}| id required | integer <int64> The ID of the user |
| report_reason | string The reason for reporting the user |
{- "report_reason": "Inappropriate content"
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}| id required | integer <int64> The ID of the user |
| blocked_reason | string The reason the user was blocked |
{- "blocked_reason": "The user was blocked because they violated the terms of service"
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": [
- {
- "id": 1,
- "user_id": 1,
- "type": "Enquiry",
- "ref_id": 1,
- "content": "New Enquiry",
- "is_read": false,
- "created_at": "2021-01-01T00:00:00.000Z",
- "from_user_id": 2,
- "meta_data": {
- "listingId": 123,
- "listingUuid": "uuid-123",
- "message": "I'm interested in your listing",
- "enquiryId": 1,
- "conversationId": "123_456_789"
}
}
]
}| id | integer The id of the notification |
| user_id | integer The id of the user receiving the notification |
| type | string The type of the notification |
| ref_id | integer The reference id (e.g., enquiry id, listing id) |
| content | string The content of the notification |
| is_read | boolean Whether the notification is read |
| created_at | string <date-time> The created at timestamp |
| from_user_id | integer The id of the user who triggered the notification |
| meta_data | object Additional metadata for the notification |
{- "id": 1,
- "user_id": 1,
- "type": "Enquiry",
- "ref_id": 1,
- "content": "New Enquiry",
- "is_read": false,
- "created_at": "2021-01-01T00:00:00.000Z",
- "from_user_id": 2,
- "meta_data": {
- "listingId": 123,
- "listingUuid": "uuid-123",
- "message": "I'm interested in your listing",
- "enquiryId": 1,
- "conversationId": "123_456_789"
}
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}| fcm_token | string Firebase Cloud Messaging token |
{- "fcm_token": "ey234sdfsdfsdf..."
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100
}| userId required | integer <int64> The ID of the user to rate |
| rating required | integer [ 1 .. 5 ] The rating value (1-5 stars) |
| comment | string Optional comment for the rating |
{- "rating": 4,
- "comment": "Great service and professional work!"
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "id": 1,
- "user_id": 123,
- "rated_by": 456,
- "rating": 4,
- "comment": "Great service and professional work!",
- "created_at": "2021-01-01T00:00:00.000Z",
- "rated_by_user": {
- "allOf": null
}
}
}| userId required | integer <int64> The ID of the user to rate |
{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": [
- {
- "id": 1,
- "user_id": 123,
- "rated_by": 456,
- "rating": 4,
- "comment": "Great service and professional work!",
- "created_at": "2021-01-01T00:00:00.000Z",
- "rated_by_user": {
- "allOf": null
}
}
]
}| userId required | integer <int64> The ID of the user to rate |
{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "id": 1,
- "user_id": 123,
- "rated_by": 456,
- "rating": 4,
- "comment": "Great service and professional work!",
- "created_at": "2021-01-01T00:00:00.000Z",
- "rated_by_user": {
- "allOf": null
}
}
}| recipient_user_id | string The ID of the receipent |
{- "recipient_user_id": 1
}{- "message": "Success",
- "status": "SUCCESS",
- "is_error": false,
- "error_message": "string",
- "total_count": 100,
- "data": {
- "conversation_id": "1_1",
- "participant_ids": [
- [
- "1",
- "2"
]
]
}
}