POST api/roles
Request Information
URI Parameters
None.
Body Parameters
roleName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
create_time | date |
None. |
|
modify_time | date |
None. |
|
modify_by | integer |
None. |
|
rs_id | signed byte |
None. |
|
title | string |
None. |
|
title_th | string |
None. |
|
detail | string |
None. |
|
isactive | signed byte |
None. |
|
no | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "create_time": "2024-12-10T09:07:30.9372027+07:00", "modify_time": "2024-12-10T09:07:30.9372027+07:00", "modify_by": 1, "rs_id": 64, "title": "sample string 3", "title_th": "sample string 4", "detail": "sample string 5", "isactive": 64, "no": 7 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
roleName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
create_time | date |
None. |
|
modify_time | date |
None. |
|
modify_by | integer |
None. |
|
rs_id | signed byte |
None. |
|
title | string |
None. |
|
title_th | string |
None. |
|
detail | string |
None. |
|
isactive | signed byte |
None. |
|
no | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "create_time": "2024-12-10T09:07:30.9372027+07:00", "modify_time": "2024-12-10T09:07:30.9372027+07:00", "modify_by": 1, "rs_id": 64, "title": "sample string 3", "title_th": "sample string 4", "detail": "sample string 5", "isactive": 64, "no": 7 }