| GET | /Staff/Current | Retrieves the current user. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SessionID | form | string | No | |
| IPAddress | form | string | No | |
| Username | form | string | No | |
| StaffID | form | string | No | |
| LoginDateTime | form | DateTime | No | |
| DurationDays | form | int | No | |
| DurationHours | form | int | No | |
| DurationMinutes | form | int | No | |
| DurationSeconds | form | int | No | |
| RequestCount | form | long | No | |
| ConcurrentRequestCount | form | long | No | |
| MaxConcurrentRequestCount | form | long | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Staff/Current HTTP/1.1 Host: api.jiwa.com.au Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"SessionID":"String","IPAddress":"String","Username":"String","StaffID":"String"}