{
  "opencollection": "1.0.0",
  "info": {
    "name": "Services.AutoTrading Account Values Support - Cases API",
    "version": "2.4.138+710c760591"
  },
  "items": [
    {
      "info": {
        "name": "Support - Cases",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create note under a case",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://gateway.saxobank.com/sim/openapi/cs/v1/partner/support/cases/:CaseId/note",
            "params": [
              {
                "name": "CaseId",
                "value": "SAX-567846-K5W7Q6",
                "type": "path",
                "description": "The case ID"
              }
            ],
            "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 note under a particular case that matches the case id"
        },
        {
          "info": {
            "name": "Create internal comment under a case",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://gateway.saxobank.com/sim/openapi/cs/v1/partner/support/cases/:CaseId/internalcomment",
            "params": [
              {
                "name": "CaseId",
                "value": "SAX-567846-K5W7Q6",
                "type": "path",
                "description": "The case ID"
              }
            ],
            "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 an internal comment under a particular case that matches the case id"
        },
        {
          "info": {
            "name": "Close a specific support case",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://gateway.saxobank.com/sim/openapi/cs/v1/partner/support/cases/:CaseId/caseclose",
            "params": [
              {
                "name": "CaseId",
                "value": "SAX-567846-K5W7Q6",
                "type": "path",
                "description": "The case ID"
              }
            ],
            "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": "Request to close a particular case that matches the case id"
        },
        {
          "info": {
            "name": "Get a specific support case",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.saxobank.com/sim/openapi/cs/v1/partner/support/cases/:CaseId",
            "params": [
              {
                "name": "CaseId",
                "value": "SAX-567846-K5W7Q6",
                "type": "path",
                "description": "The case ID"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://sim.logonvalidation.net/authorize",
              "accessTokenUrl": "https://sim.logonvalidation.net/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Gets a particular case that matches the case id"
        },
        {
          "info": {
            "name": "Update support case",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://gateway.saxobank.com/sim/openapi/cs/v1/partner/support/cases/:CaseId",
            "params": [
              {
                "name": "CaseId",
                "value": "SAX-567846-K5W7Q6",
                "type": "path",
                "description": "The case ID"
              }
            ],
            "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 a particular case that matches with the case id"
        },
        {
          "info": {
            "name": "Get a list of all support cases",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.saxobank.com/sim/openapi/cs/v1/partner/support/cases",
            "params": [
              {
                "name": "$top",
                "value": "1",
                "type": "query",
                "description": "The number of entries to return from the beginning of the collection"
              },
              {
                "name": "FromDateTime",
                "value": "2019-01-01T00:00:00.0000000+00:00",
                "type": "query",
                "description": "Includes cases with latest activity time greater than or equal to FromDateTime"
              },
              {
                "name": "Status",
                "value": "InProgress",
                "type": "query",
                "description": "Status: If specified will only return entries with the specified case status"
              },
              {
                "name": "ToDateTime",
                "value": "2019-04-04T00:00:00.0000000+00:00",
                "type": "query",
                "description": "Includes cases with latest activity time less than or equal to ToDateTime"
              }
            ],
            "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 a list of support cases of clients under the logged-in IB"
        },
        {
          "info": {
            "name": "Facilitates an IB to create a new case on behalf of its client",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://gateway.saxobank.com/sim/openapi/cs/v1/partner/support/cases",
            "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": "Facilitates an IB to create a new case on behalf of its client"
        }
      ]
    }
  ],
  "bundled": true
}