GET api/Role/GetAllRolesBySystemId?systemId={systemId}&roleTypeId={roleTypeId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
systemId | integer |
Required |
|
roleTypeId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ETRoleObjName | Description | Type | Additional information |
---|---|---|---|
RoleId | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
RoleTypeId | integer |
None. |
|
DefaultSystemId | integer |
None. |
|
IBy | integer |
None. |
|
UBy | integer |
None. |
|
IDt | date |
None. |
|
UDt | date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "RoleId": 1, "Name": "sample string 2", "Description": "sample string 3", "RoleTypeId": 1, "DefaultSystemId": 1, "IBy": 1, "UBy": 1, "IDt": "2024-11-21T12:24:50.080954+02:00", "UDt": "2024-11-21T12:24:50.080954+02:00" }, { "RoleId": 1, "Name": "sample string 2", "Description": "sample string 3", "RoleTypeId": 1, "DefaultSystemId": 1, "IBy": 1, "UBy": 1, "IDt": "2024-11-21T12:24:50.080954+02:00", "UDt": "2024-11-21T12:24:50.080954+02:00" } ]
application/xml, text/xml
Sample:
<ArrayOfETRoleObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EToolkitGlobal.Business"> <ETRoleObj> <IBy>1</IBy> <IDt>2024-11-21T12:24:50.080954+02:00</IDt> <UBy>1</UBy> <UDt>2024-11-21T12:24:50.080954+02:00</UDt> <DefaultSystemId>1</DefaultSystemId> <Description>sample string 3</Description> <Name>sample string 2</Name> <RoleId>1</RoleId> <RoleTypeId>1</RoleTypeId> </ETRoleObj> <ETRoleObj> <IBy>1</IBy> <IDt>2024-11-21T12:24:50.080954+02:00</IDt> <UBy>1</UBy> <UDt>2024-11-21T12:24:50.080954+02:00</UDt> <DefaultSystemId>1</DefaultSystemId> <Description>sample string 3</Description> <Name>sample string 2</Name> <RoleId>1</RoleId> <RoleTypeId>1</RoleTypeId> </ETRoleObj> </ArrayOfETRoleObj>