GET api/Dashboard/GetRecentActivityWidget?accountId={accountId}&userId={userId}&roleId={roleId}&startDate={startDate}&endDate={endDate}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountId | integer |
Required |
|
userId | string |
Required |
|
roleId | integer |
Required |
|
startDate | string |
Required |
|
endDate | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of DashbaordRecentActivityModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Title | string |
None. |
|
InspectorName | string |
None. |
|
InspectionDate | date |
None. |
|
InspectionStartDate | date |
None. |
|
Score | string |
None. |
|
Location | string |
None. |
|
FollowUpCount | integer |
None. |
|
InspectionDuration | string |
None. |
|
InitialDuration | string |
None. |
|
InspectionType | string |
None. |
|
IsDurationCalculated | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Title": "sample string 2", "InspectorName": "sample string 3", "InspectionDate": "2025-01-29T00:38:21.4205814+00:00", "InspectionStartDate": "2025-01-29T00:38:21.4205814+00:00", "Score": "sample string 4", "Location": "sample string 5", "FollowUpCount": 6, "InspectionDuration": "sample string 7", "InitialDuration": "sample string 8", "InspectionType": "sample string 9", "IsDurationCalculated": true }, { "Id": 1, "Title": "sample string 2", "InspectorName": "sample string 3", "InspectionDate": "2025-01-29T00:38:21.4205814+00:00", "InspectionStartDate": "2025-01-29T00:38:21.4205814+00:00", "Score": "sample string 4", "Location": "sample string 5", "FollowUpCount": 6, "InspectionDuration": "sample string 7", "InitialDuration": "sample string 8", "InspectionType": "sample string 9", "IsDurationCalculated": true } ]
application/xml, text/xml
Sample:
<ArrayOfDashbaordRecentActivityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.InspectionsTemplates"> <DashbaordRecentActivityModel> <FollowUpCount>6</FollowUpCount> <Id>1</Id> <InitialDuration>sample string 8</InitialDuration> <InspectionDate>2025-01-29T00:38:21.4205814+00:00</InspectionDate> <InspectionDuration>sample string 7</InspectionDuration> <InspectionStartDate>2025-01-29T00:38:21.4205814+00:00</InspectionStartDate> <InspectionType>sample string 9</InspectionType> <InspectorName>sample string 3</InspectorName> <IsDurationCalculated>true</IsDurationCalculated> <Location>sample string 5</Location> <Score>sample string 4</Score> <Title>sample string 2</Title> </DashbaordRecentActivityModel> <DashbaordRecentActivityModel> <FollowUpCount>6</FollowUpCount> <Id>1</Id> <InitialDuration>sample string 8</InitialDuration> <InspectionDate>2025-01-29T00:38:21.4205814+00:00</InspectionDate> <InspectionDuration>sample string 7</InspectionDuration> <InspectionStartDate>2025-01-29T00:38:21.4205814+00:00</InspectionStartDate> <InspectionType>sample string 9</InspectionType> <InspectorName>sample string 3</InspectorName> <IsDurationCalculated>true</IsDurationCalculated> <Location>sample string 5</Location> <Score>sample string 4</Score> <Title>sample string 2</Title> </DashbaordRecentActivityModel> </ArrayOfDashbaordRecentActivityModel>