GET api/bfg/v1/watchlists/items?personId={personId}
Watch items for a person (<c>SH_GetWatchItemsByPersonID</c>).
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| personId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of WatchItemResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PersonID | integer |
None. |
|
| WatchScreenID | integer |
None. |
|
| Name | string |
None. |
|
| SecurityCode | string |
None. |
|
| ExchangeCode | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PersonID": 1,
"WatchScreenID": 2,
"Name": "sample string 3",
"SecurityCode": "sample string 4",
"ExchangeCode": "sample string 5"
},
{
"PersonID": 1,
"WatchScreenID": 2,
"Name": "sample string 3",
"SecurityCode": "sample string 4",
"ExchangeCode": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfWatchItemResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TPP.B2B.Webservices2.Contracts2.BFG.Watchlist">
<WatchItemResponse>
<ExchangeCode>sample string 5</ExchangeCode>
<Name>sample string 3</Name>
<PersonID>1</PersonID>
<SecurityCode>sample string 4</SecurityCode>
<WatchScreenID>2</WatchScreenID>
</WatchItemResponse>
<WatchItemResponse>
<ExchangeCode>sample string 5</ExchangeCode>
<Name>sample string 3</Name>
<PersonID>1</PersonID>
<SecurityCode>sample string 4</SecurityCode>
<WatchScreenID>2</WatchScreenID>
</WatchItemResponse>
</ArrayOfWatchItemResponse>