Sessions

Upload a table

Use with the table.upload action to upload tables. Action parameters are specified in the JSON-Parameters HTTP header in JSON format. Data for the table is sent as the HTTP request data, and should match the format specified in the fileType parameter of the action.

put/cas/sessions/{sessionId}/actions/{actionName}

Request

  • Base URL: http://mock-cas.apifirst.unx.sas.com/cas
  • URL: http://mock-cas.apifirst.unx.sas.com/cas/cas/sessions/{sessionId}/actions/{actionName}
  • Auth: one of:
    • HTTP basic
    • OAuth 2 (implicit, authorization URL https://site-specific-url)

Headers

JSON-Parametersstring

Action parameters in JSON format.

Response

OK

statusinteger

Always returns 0. Use disposition.statusCode instead.

logstring

Concatenation of log entries into a single string.

changedResourcesChangedResources[]

A list of enumerated strings that represents state changes in the server that occurred while running the action. Clients can use these flags to distinguish what local resources must be refreshed (e.g. lists of caslibs) to reflect the current state of the server.

Example response

{
  "results": {
    "schema": [
      {
        "label": "Some column label",
        "type": "int"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.