POST message/send_location
Request Information
URI Parameters
None.
Body Parameters
SendLocationViewModelName | Description | Type | Additional information |
---|---|---|---|
receiver_user_id | integer |
Required |
|
latitude | string |
Required |
|
longitude | string |
Required |
|
location | string |
Required |
|
path | string |
Required |
|
sender_user_name | string |
None. |
|
sender_head_image_path | string |
None. |
|
receiver_user_name | string |
None. |
|
receiver_head_image_path | string |
None. |
|
ext | string |
None. |
|
time_offset | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "receiver_user_id": 1, "latitude": "sample string 2", "longitude": "sample string 3", "location": "sample string 4", "path": "sample string 5", "sender_user_name": "sample string 6", "sender_head_image_path": "sample string 7", "receiver_user_name": "sample string 8", "receiver_head_image_path": "sample string 9", "ext": "sample string 10", "time_offset": 11 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataResponseOfMessageViewModelName | Description | Type | Additional information |
---|---|---|---|
code | integer |
None. |
|
message | string |
None. |
|
success | boolean |
None. |
|
data | MessageViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "message": "sample string 2", "success": true, "data": { "message_id": 1, "message_type_id": 2, "message_type_group_id": 3, "chat_type_id": 4, "sender_user_id": 5, "receiver_user_id": 6, "redirect_id": 7, "title": "sample string 8", "sub_title": "sample string 9", "ext": "sample string 10", "note": "sample string 11", "photo_path": "sample string 12", "photo_width": 13, "photo_height": 14, "photo_size": 15, "voice_path": "sample string 16", "voice_length": 17, "location_latitude": "sample string 18", "location_longitude": "sample string 19", "location_address": "sample string 20", "location_map_path": "sample string 21", "show_time": true, "date_created": "sample string 23", "sender_user_name": "sample string 24", "sender_head_image_path": "sample string 25", "target_user_name": "sample string 26", "target_head_image_path": "sample string 27", "time_offset": 28 } }