{ "opencollection": "1.0.0", "info": { "name": "Services.AutoTrading Account Values Sessions API", "version": "2.4.138+710c760591" }, "items": [ { "info": { "name": "Sessions", "type": "folder" }, "items": [ { "info": { "name": "Remove session capabilities subscription", "type": "http" }, "http": { "method": "DELETE", "url": "https://gateway.saxobank.com/sim/openapi/root/v1/sessions/events/subscriptions/:ContextId/:ReferenceId", "params": [ { "name": "ContextId", "value": "20180204125301453", "type": "path", "description": "The context id part of the streaming session (used to identify the subscription within a streaming session)." }, { "name": "ReferenceId", "value": "C04", "type": "path", "description": "The reference id that identifies the subscription (within a streaming session)." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://sim.logonvalidation.net/authorize", "accessTokenUrl": "https://sim.logonvalidation.net/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Removes the subscription identified by the specified reference id (and streaming context id)." }, { "info": { "name": "Create a session capabilities subscription", "type": "http" }, "http": { "method": "POST", "url": "https://gateway.saxobank.com/sim/openapi/root/v1/sessions/events/subscriptions", "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": "Sets up a new session capabilities subscription. The data stream will deliver updates from this point." }, { "info": { "name": "Obsolete Create a session capabilities subscription", "type": "http" }, "http": { "method": "POST", "url": "https://gateway.saxobank.com/sim/openapi/root/v1/sessions/events/subscriptions/active", "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": "Sets up a new session capabilities subscription. The data stream will deliver updates from this point." }, { "info": { "name": "Get the sessions capabilities.", "type": "http" }, "http": { "method": "GET", "url": "https://gateway.saxobank.com/sim/openapi/root/v1/sessions/capabilities", "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 the sessions capabilities." }, { "info": { "name": "Change the sessions capabilities.", "type": "http" }, "http": { "method": "PUT", "url": "https://gateway.saxobank.com/sim/openapi/root/v1/sessions/capabilities", "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": "Change sessions capabilities." }, { "info": { "name": "Change the sessions capabilities.", "type": "http" }, "http": { "method": "PATCH", "url": "https://gateway.saxobank.com/sim/openapi/root/v1/sessions/capabilities", "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": "Change sessions capabilities." } ] } ], "bundled": true }