Registers a device token.

Request

POST https://api.yourpayroll.co.uk/api/v2/ess/devicetoken/register

Request body

The request body takes a complete DeviceTokenModel resource, containing the following writable properties:

{
    "platform": "string",
    "token": "string"
}

Properties

Name Type Description
platform string MobilePlatform

Possible values are:

  • iOS
  • Android
token string String

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK