GuidesAPI Reference
API Reference

Creates a subscription

Creates a subscription between the source catalog/layer and target catalog/layer.

Body Params

A subscription configuration object.

string
required
length between 3 and 46

The ID to use when referring to this subscription programmatically.

string
length between 0 and 10000

A detailed description of the subscription.

string
required

The HERE Resource Name (HRN) of the subscription source catalog.

string
required

The ID of the subscription source layer.

string
required

The HERE Resource Name (HRN) of the subscription destination catalog.

string
required

The ID of the subscription destination layer.

interactiveMapSubscription
object
required

Interactive map subscription.

Headers
string
required

x-idempotency-key is the unique value generated by the client to create a subscription request. Any additional retry requests must have the same x-idempotency-key header value and the same body content as the first subscription request. If the retry request body content is different, then the server will return a 409 status code. It is recommended to use UUID v4 for x-idempotency-key value. Minimum length: 10, maximum length: 255.

Responses

400

Bad Request - indicates that your request failed fast validation due to an issue, such as syntax or logical errors.

401

Unauthorized

403

Forbidden

409

Conflict - indicates that:

  • a subscription token with the same x-idempotency-key but different subscription already exists or is in the process of being created,
  • or a subscription with the same source, destination, and type already exists.
Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json