< API Reference
PUT
/watchlist/{id}
None
Update watchlist

Example URI

https://sandbox.livevol.com/api/v1/watchlist/8c38cfe4-7476-470b-8171-357a1b2e3dba

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Watchlist Id

globally unique identifier

Required

Body Parameters

UpdateWatchlistParams

NameDescriptionTypeAdditional information
name

A watchlist name

string

Max length: 32

The value of this field is case sensitive

description

A watchlist description

string

Max length: 255

The value of this field is case sensitive

Request Formats

application/json, text/json

Sample:
{
  "name": "customWL1",
  "description": "My Custom Watchlist"
}

application/xml, text/xml

Sample:
<watchlist xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <description>My Custom Watchlist</description>
  <name>customWL1</name>
</watchlist>

Response Information

Resource Description

WatchlistResult

NameDescriptionTypeAdditional information
id

Watchlist Id

globally unique identifier

None.

name

A watchlist name

string

None.

description

A watchlist description

string

None.

symbols

Symbols collection in current watchlist

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "0de3b7d8-2f1d-4fbc-b88d-95bbbed34f59",
  "name": "default",
  "description": "",
  "symbols": [
    "AAPL",
    "MSFT"
  ]
}

application/xml, text/xml

Sample:
<watchlist xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <description></description>
  <id>0de3b7d8-2f1d-4fbc-b88d-95bbbed34f59</id>
  <name>default</name>
  <symbols>
    <symbol>AAPL</symbol>
    <symbol>MSFT</symbol>
  </symbols>
</watchlist>