GET api/mock/customers/{customerId}/devices/{assetId}/controlplans?pageNumber={pageNumber}&pageSize={pageSize}

Gets the control plans for asset.

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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": "5efb5157-4d5b-4b33-9150-9765c13a57d2",
    "StartDate": "2025-05-19T20:40:34.2335982+00:00",
    "EndDate": "2025-05-19T20:40:34.2335982+00:00",
    "Action": 0,
    "Status": 0
  },
  {
    "Id": "5efb5157-4d5b-4b33-9150-9765c13a57d2",
    "StartDate": "2025-05-19T20:40:34.2335982+00:00",
    "EndDate": "2025-05-19T20:40:34.2335982+00:00",
    "Action": 0,
    "Status": 0
  }
]

text/html

Sample:
[{"Id":"5efb5157-4d5b-4b33-9150-9765c13a57d2","StartDate":"2025-05-19T20:40:34.2335982+00:00","EndDate":"2025-05-19T20:40:34.2335982+00:00","Action":0,"Status":0},{"Id":"5efb5157-4d5b-4b33-9150-9765c13a57d2","StartDate":"2025-05-19T20:40:34.2335982+00:00","EndDate":"2025-05-19T20:40:34.2335982+00:00","Action":0,"Status":0}]