+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Push Device Subscription (POST)

Creates a new subscription for a tag.


Description

Given the deviceId and the tag name, the request creates a new subscription which subscribes the device to the tag specified


Method

POST


Path

/apps/applicationId/subscriptions


Example


Path Parameters


Header Parameters

Some header parameters are optional.


Consumes

application/json


Produces

application/json


Payload

The details of the device and the tag name to which it has to subscribe.


JSON Example


Payload Properties

The payload has the following properties:


Response

The details of the device subscription that is updated.


JSON Example


Response Properties

The response has the following properties:


Errors

400

401

404

405

406

500

Parent topic: REST API for the MobileFirst Server push service