{
  "opencollection": "1.0.0",
  "info": {
    "name": "Services.AutoTrading Account Values Users API",
    "version": "2.4.138+710c760591"
  },
  "items": [
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Request a password reset",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://gateway.saxobank.com/sim/openapi/cm/v1/users/resetpasswordrequest",
            "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": "Requests a password reset for a user"
        },
        {
          "info": {
            "name": "Get all entitlements",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.saxobank.com/sim/openapi/port/v1/users/me/entitlements",
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://sim.logonvalidation.net/authorize",
              "accessTokenUrl": "https://sim.logonvalidation.net/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "This operation retrieves a list of all client specific entitlements per exchanges for market data."
        },
        {
          "info": {
            "name": "Get all users under a particular owner",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.saxobank.com/sim/openapi/port/v1/users",
            "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": "ClientKey",
                "value": "493b43a5-fe85-4d1f-9071-dd4a9d4e42a4",
                "type": "query",
                "description": "Unique key identifying the owner. This is the ClientKey of the client under which the list of users belongs. Default: Logged-in user's client."
              },
              {
                "name": "IncludeSubUsers",
                "value": "true",
                "type": "query",
                "description": "Set to true if users of all underlying partners should be included in output."
              }
            ],
            "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 all users under a particular owner."
        },
        {
          "info": {
            "name": "Get the details about a user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.saxobank.com/sim/openapi/port/v1/users/:UserKey",
            "params": [
              {
                "name": "UserKey",
                "value": "5DG7K1P5cqYBZ77tl7Af4w==",
                "type": "path",
                "description": "The unique key for the user's client."
              }
            ],
            "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 details about a user"
        },
        {
          "info": {
            "name": "Get details about the logged in user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.saxobank.com/sim/openapi/port/v1/users/me",
            "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 details about the logged in user."
        },
        {
          "info": {
            "name": "Update user preferences",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://gateway.saxobank.com/sim/openapi/port/v1/users/me",
            "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": "Enables the user to update preferred language, culture and timezone."
        }
      ]
    }
  ],
  "bundled": true
}