Skip to main content
Version: Beta

WatchlistMutation.create

Enterprise
description

Create a watchlist with the given name and a list of AS ID.

create(
name: String!
companyIds: [String!]!
shared: Boolean!
userId: Int
isFavourite: Boolean
type: WatchlistType
source: String
): Watchlist!

Arguments

create.name ● String! non-null scalar graph-ql-types

Name of the watchlist

create.companyIds ● [String!]! non-null scalar graph-ql-types

List of company Ids. The company id could be AS ID, ticker code or ISIN.

create.shared ● Boolean! non-null scalar graph-ql-types

share watchlist with other users

create.userId ● Int scalar graph-ql-types

Owner of the watchlist, specify if you want to create this watchlist for someone else. Only available for watchlist admins.

create.isFavourite ● Boolean scalar graph-ql-types

Watchlist favourite status. If true, then user has marked this watchlist as his favourite

create.type ● WatchlistType enum graph-ql-types

Type of the watchlist: USER, SYSTEM_GENERATED, etc

create.source ● String scalar graph-ql-types

Source of the watchlist creation: WATCHLIST, COPRO, etc

Type

Watchlist object graph-ql-types

Loading...