POST v1/admin/mobileUsers/send/message-or-notification

ADMIN - Send message or notification for user uid list

Request Information

URI Parameters

None.

Body Parameters

SendMessageOrNotificationRequestModel
NameDescriptionTypeAdditional information
user_uid_list

Collection of string

None.

message

string

Required

message_type

string

None.

type

integer

Required

useFilteredUser

boolean

None.

filter_user_id

integer

None.

user_cell_number

string

None.

user_citizenship_number

string

None.

user_first_name

string

None.

company_uid

string

None.

user_vehicle_is_company_vehicle

boolean

None.

image_url

string

None.

user_company_id

Company UID of the active user

string

Required

Data type: Text

user_id

User ID (GUID)

string

Required

Data type: Text

user_signature

MD5 hash signature for the active user to validate the request

string

Required

Data type: Text

Request Format

application/json, text/json

Sample:
{
  "user_uid_list": [
    "sample string 1",
    "sample string 2"
  ],
  "message": "sample string 1",
  "message_type": "sample string 2",
  "type": 3,
  "useFilteredUser": true,
  "filter_user_id": 5,
  "user_cell_number": "sample string 6",
  "user_citizenship_number": "sample string 7",
  "user_first_name": "sample string 8",
  "company_uid": "sample string 9",
  "user_vehicle_is_company_vehicle": true,
  "image_url": "sample string 10",
  "user_company_id": "sample string 11",
  "user_id": "sample string 12",
  "user_signature": "sample string 13"
}

Response Information

Resource Description

ADMIN - Send message or notification for user uid list

BaseMetaResultModel
NameDescriptionTypeAdditional information
meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}