ข้อมูลพื้นฐานบุคลากร
GET Employee Info
Rate Limits
API Call |
---|
1,000 requests per hour per user/key |
Request headers: Application-Key
Header | HTTP request |
---|---|
Content-Type | application/json |
Application-Key | Access token |
Cannot Request Body : -
Example Response
Property | Type | Value |
---|---|---|
username | String | Username create by administration thammasat |
displayname_th | String | Display full name Thai |
displayname_en | String | Display full name Eng |
employee_type | String | employee categories in university |
organization | String | Full name organization |
department | String | Full name departmentg |
|
Status Codes
Codes | Description |
---|---|
200 OK | Success |
400 Bad Request | Problem with the request |
401 Unauthorized | Valid channel access token is not specified |
403 Forbidden | Not authorized to access the resource. Confirm that your account or plan is authorized to access the resource. |
Status Message
Codes | Status | Message |
---|---|---|
200 Ok | TRUE | Get Profile Employee Success |
400 Bad Request | FALSE | Username Invalid! |
400 Bad Request | FALSE | Request Query String a GET operation (HTTP method)!,"?username={Username}" |
403 Forbidden | FALSE | Application-Key Invalid! |
401 Unauthorized | FALSE | Application-Key header required. Must follow the scheme, "Application-Key: ACCESS TOKEN" |
Let's Go