POST api/person/watchscreen/{watchscreenID}/securities
Add securities to an existing watchscreen
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
watchscreenID |
Watchscreen ID |
string |
Required |
Body Parameters
List of security codes
WatchscreenCodesRequestName | Description | Type | Additional information |
---|---|---|---|
SecurityCodes |
List of ASX security codes |
Collection of string |
Required |
Request Formats
application/json, text/json
Sample:
{ "SecurityCodes": [ "BHP", "NAB" ] }
application/xml, text/xml
Sample:
<WatchscreenCodesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TPP.Contracts.Services.Person"> <SecurityCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>BHP</d2p1:string> <d2p1:string>NAB</d2p1:string> </SecurityCodes> </WatchscreenCodesRequest>
Response Information
Resource Description
HTTP status code. For HTTP 200 code, it will either be no content or a string containing any securities that fail to be added.
None.
Response Formats
Error Response Information
Resource Description
HTTP status code. For HTTP 200 code, it will either be no content or a string containing any securities that fail to be added.
stringError Response Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>