| POST | /auth/keycloak |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AccessToken | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserId | form | string | No | |
| SessionId | form | string | No | |
| UserName | form | string | No | |
| DisplayName | form | string | No | |
| ReferrerUrl | form | string | No | |
| BearerToken | form | string | No | |
| ProfileUrl | form | string | No | |
| DepartmentId | form | int? | No | |
| Roles | form | List<string> | No | |
| Permissions | form | List<string> | No | |
| ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /auth/keycloak HTTP/1.1
Host: etc-api.vsmlab.vn
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"accessToken":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"userId":"String","sessionId":"String","userName":"String","displayName":"String","referrerUrl":"String","bearerToken":"String","profileUrl":"String","departmentId":0,"roles":["String"],"permissions":["String"],"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}