POST api/UserInRoles/AddUserInRoles
Request Information
URI Parameters
None.
Body Parameters
UserInRolesName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
RoleId | integer |
None. |
|
UserId | integer |
None. |
|
UserType | string |
None. |
|
UserName | string |
None. |
|
Password | string |
None. |
|
Date | date |
None. |
|
CreatedBy | string |
None. |
|
CreatedDate | date |
None. |
|
UpdatedBy | string |
None. |
|
UpdatedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "RoleId": 2, "UserId": 3, "UserType": "sample string 4", "UserName": "sample string 5", "Password": "sample string 6", "Date": "2024-12-01T09:33:18.517585+05:30", "CreatedBy": "sample string 8", "CreatedDate": "2024-12-01T09:33:18.517585+05:30", "UpdatedBy": "sample string 10", "UpdatedDate": "2024-12-01T09:33:18.517585+05:30" }
application/octet-stream
Sample:
{"$id":"1","Id":1,"RoleId":2,"UserId":3,"UserType":"sample string 4","UserName":"sample string 5","Password":"sample string 6","Date":"2024-12-01T09:33:18.517585+05:30","CreatedBy":"sample string 8","CreatedDate":"2024-12-01T09:33:18.517585+05:30","UpdatedBy":"sample string 10","UpdatedDate":"2024-12-01T09:33:18.517585+05:30"}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream
Sample:
Sample not available.