GET api/mock/customers/{customerId}/devices/{assetId}/controlplans?pageNumber={pageNumber}&pageSize={pageSize}
Gets the control plans for asset.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId |
The customer identifier. |
integer |
Required |
| assetId |
The asset identifier. |
string |
Required |
| pageNumber |
The page number. |
integer |
Default value is 1 |
| pageSize |
Size of the page. |
integer |
Default value is 100 |
Body Parameters
None.
Response Information
Resource Description
Collection of ControlPlanResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| Action | ControlPlanTypes |
None. |
|
| Status | PlanStatus |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "23c4a1b5-c540-480c-a3ce-c080022f346f",
"StartDate": "2025-12-27T22:14:03.076131+00:00",
"EndDate": "2025-12-27T22:14:03.076131+00:00",
"Action": 0,
"Status": 0
},
{
"Id": "23c4a1b5-c540-480c-a3ce-c080022f346f",
"StartDate": "2025-12-27T22:14:03.076131+00:00",
"EndDate": "2025-12-27T22:14:03.076131+00:00",
"Action": 0,
"Status": 0
}
]
text/html
Sample:
[{"Id":"23c4a1b5-c540-480c-a3ce-c080022f346f","StartDate":"2025-12-27T22:14:03.076131+00:00","EndDate":"2025-12-27T22:14:03.076131+00:00","Action":0,"Status":0},{"Id":"23c4a1b5-c540-480c-a3ce-c080022f346f","StartDate":"2025-12-27T22:14:03.076131+00:00","EndDate":"2025-12-27T22:14:03.076131+00:00","Action":0,"Status":0}]