| GET | /dm_exec_sessions | Retrieves a results of the query SELECT * FROM sys.dm_exec_sessions |
|---|
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /dm_exec_sessions HTTP/1.1 Host: apitrain.galipo.com.au Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
[{"host_name":"String","program_name":"String","client_interface_name":"String","login_name":"String","nt_domain":"String","nt_user_name":"String","status":"String"}]