{ "opencollection": "1.0.0", "info": { "name": "Services.AutoTrading Account Values Price Alerts API", "version": "2.4.138+710c760591" }, "items": [ { "info": { "name": "Price Alerts", "type": "folder" }, "items": [ { "info": { "name": "Get notification settings", "type": "http" }, "http": { "method": "GET", "url": "https://gateway.saxobank.com/sim/openapi/vas/v1/pricealerts/usersettings", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://sim.logonvalidation.net/authorize", "accessTokenUrl": "https://sim.logonvalidation.net/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns the current user's price alert notification settings" }, { "info": { "name": "Update notification settings", "type": "http" }, "http": { "method": "PUT", "url": "https://gateway.saxobank.com/sim/openapi/vas/v1/pricealerts/usersettings", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://sim.logonvalidation.net/authorize", "accessTokenUrl": "https://sim.logonvalidation.net/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Modifies the current user's price alert notification settings" }, { "info": { "name": "Delete price alert definitions", "type": "http" }, "http": { "method": "DELETE", "url": "https://gateway.saxobank.com/sim/openapi/vas/v1/pricealerts/definitions/:AlertDefinitionIds", "params": [ { "name": "AlertDefinitionIds", "value": "30834", "type": "path", "description": "A comma separated list of the price alert definition Ids to delete." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://sim.logonvalidation.net/authorize", "accessTokenUrl": "https://sim.logonvalidation.net/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Deletes the specified price alert definitions" }, { "info": { "name": "Get a price alert definition", "type": "http" }, "http": { "method": "GET", "url": "https://gateway.saxobank.com/sim/openapi/vas/v1/pricealerts/definitions/:AlertDefinitionId", "params": [ { "name": "AlertDefinitionId", "value": "30834", "type": "path", "description": "The id of the price alert definition." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://sim.logonvalidation.net/authorize", "accessTokenUrl": "https://sim.logonvalidation.net/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns a price alert definition if found" }, { "info": { "name": "Update a price alert definition", "type": "http" }, "http": { "method": "PUT", "url": "https://gateway.saxobank.com/sim/openapi/vas/v1/pricealerts/definitions/:AlertDefinitionId", "params": [ { "name": "AlertDefinitionId", "value": "30834", "type": "path", "description": "Alert definition id to update." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://sim.logonvalidation.net/authorize", "accessTokenUrl": "https://sim.logonvalidation.net/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Updates an existing price alert definition" }, { "info": { "name": "Get all price alert definitions", "type": "http" }, "http": { "method": "GET", "url": "https://gateway.saxobank.com/sim/openapi/vas/v1/pricealerts/definitions", "params": [ { "name": "$inlinecount", "value": "AllPages", "type": "query", "description": "Specifies that the response to the request should include a count of the number of entries in the collection" }, { "name": "$skip", "value": "1", "type": "query", "description": "The number of entries to skip from the beginning of the collection" }, { "name": "$top", "value": "1", "type": "query", "description": "The number of entries to return from the beginning of the collection" }, { "name": "State", "value": "", "type": "query", "description": "Optional state the price alert definitions should match. The values must be one of PriceAlertDefinitionState. The match is case insensitive." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://sim.logonvalidation.net/authorize", "accessTokenUrl": "https://sim.logonvalidation.net/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get an unsorted list of all the price alert definitions belonging to the current user where the state matches the specified value. The alerts might belong to different accounts, should the user have more than one\n\nHad to set the type of state to a string to make the routing work correctly." }, { "info": { "name": "Create a price alert definition", "type": "http" }, "http": { "method": "POST", "url": "https://gateway.saxobank.com/sim/openapi/vas/v1/pricealerts/definitions", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://sim.logonvalidation.net/authorize", "accessTokenUrl": "https://sim.logonvalidation.net/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Creates a new price alert definition. The created definition is returned with a couple of more properties, the price alert definition id being one of them\n\nAutomatically generates an ID for the newly added alert and composes its URI and returns that in the 'Location' header." } ] } ], "bundled": true }