POST v1/user/device

MOBILE - Register or Update is exists user mobile device UUID for push notification.

Request Information

URI Parameters

None.

Body Parameters

UserUpdateDeviceRequestModel
NameDescriptionTypeAdditional information
device_os

string

Required

Data type: Text

device_os_version

string

Required

Data type: Text

device_uuid

string

Required

Data type: Text

device_language_code

string

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:
{
  "device_os": "sample string 1",
  "device_os_version": "sample string 2",
  "device_uuid": "sample string 3",
  "device_language_code": "sample string 4",
  "user_id": "sample string 5",
  "user_signature": "sample string 6"
}

Response Information

Resource Description

MOBILE - Register or Update is exists user mobile device UUID for push notification.

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"
  }
}