GET api/Roles?userId={userId}&accountId={accountId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId | string |
Required |
|
accountId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of RolesModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Description | string |
None. |
|
Id | integer |
None. |
|
Status | string |
None. |
|
CreatedBy | string |
None. |
|
CreateTimestamp | date |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedTimestamp | date |
None. |
|
DataStateFlag | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Name": "sample string 1", "Description": "sample string 2", "Id": 3, "Status": "sample string 4", "CreatedBy": "sample string 5", "CreateTimestamp": "2025-04-04T00:38:59.7164089+00:00", "ModifiedBy": "sample string 7", "ModifiedTimestamp": "2025-04-04T00:38:59.7164089+00:00", "DataStateFlag": "sample string 8" }, { "Name": "sample string 1", "Description": "sample string 2", "Id": 3, "Status": "sample string 4", "CreatedBy": "sample string 5", "CreateTimestamp": "2025-04-04T00:38:59.7164089+00:00", "ModifiedBy": "sample string 7", "ModifiedTimestamp": "2025-04-04T00:38:59.7164089+00:00", "DataStateFlag": "sample string 8" } ]
application/xml, text/xml
Sample:
<ArrayOfRolesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models"> <RolesModel> <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-04-04T00:38:59.7164089Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </CreateTimestamp> <CreatedBy>sample string 5</CreatedBy> <DataStateFlag>sample string 8</DataStateFlag> <Id>3</Id> <ModifiedBy>sample string 7</ModifiedBy> <ModifiedTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-04-04T00:38:59.7164089Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </ModifiedTimestamp> <Status>sample string 4</Status> <Description>sample string 2</Description> <Name>sample string 1</Name> </RolesModel> <RolesModel> <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-04-04T00:38:59.7164089Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </CreateTimestamp> <CreatedBy>sample string 5</CreatedBy> <DataStateFlag>sample string 8</DataStateFlag> <Id>3</Id> <ModifiedBy>sample string 7</ModifiedBy> <ModifiedTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2025-04-04T00:38:59.7164089Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </ModifiedTimestamp> <Status>sample string 4</Status> <Description>sample string 2</Description> <Name>sample string 1</Name> </RolesModel> </ArrayOfRolesModel>