push-notification

Create Or Update Push Notification

Changed on

Create or update a device token for push notifications. If device_id already exists for the user_id, it will update the existing record. Otherwise, it will create a new record.

post/push-notification/create-update/{user_id}/

Request

  • Base URL
    https://api.myticketpartner.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.myticketpartner.com/push-notification/create-update/{user_id}/
  • Auth
    OAuth 2
    Password
    Token URL: /auth/login/access/token

Path parameters

user_idinteger required

Request body

device_idstring nullable
fcm_tokenstring nullable
platformstring nullable
versionstring nullable

Example request

{
  "device_id": "device-uuid-12345",
  "fcm_token": "fcm-token-string",
  "platform": "iOS",
  "version": "1.0.0"
}

Response

Successful Response

unknown required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status