POST api/UserRole
Request Information
URI Parameters
None.
Body Parameters
UserRoleDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| UserID | integer |
None. |
|
| RoleID | integer |
None. |
|
| UpdateTime | date |
None. |
|
| UpdateUserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"UserID": 1,
"RoleID": 1,
"UpdateTime": "2026-05-02T18:08:26.9375575+08:00",
"UpdateUserID": 1
}
application/xml, text/xml
Sample:
<UserRoleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO"> <ID>1</ID> <RoleID>1</RoleID> <UpdateTime>2026-05-02T18:08:26.9375575+08:00</UpdateTime> <UpdateUserID>1</UpdateUserID> <UserID>1</UserID> </UserRoleDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.