Syntax

Syntax

Add security.

PUT /v{version}/users/{userId}/watchlists/{watchlistId}/securities

Description

Adds security to watchlist by security symbol and exchange.

Parameters

TypeNameDescriptionSchemaDefault

Header

Authorization required

Bearer type token string

string

Path

userId required

User identifier

integer (int32)

Path

version required

The requested API version

string

"1"

Path

watchlistId required

Watchlist identifier

integer (int32)

Body

body required

Security symbol and exchange

Responses

HTTP CodeDescriptionSchema

200

Changed watchlist with securities

401

Authorization has been denied for this request.

No Content

403

Application key is not defined or does not exist

No Content

409

Security was not found

No Content

422

Validation error occurred while processing entity

No Content

500

Internal server error

No Content

Consumes

  • application/json

  • text/json

Produces

  • application/json

  • text/json

Last updated