Downtime_SplitRecord (Put)
- Last UpdatedNov 13, 2025
- 1 minute read
| Put | Downtime_SplitRecord |
Resource Path:/api/v1/downtime
Updates the original record details with the specified points to split at, based on the defined module, location, and setId of the request.
| Name | Description | Data Type |
|---|---|---|
| requestOrigin | Optional. Prevents infinite loops in requests by determining the original caller. | string |
The request body is of type SplitRecordRequest.
The response body is of type Array[SplitRecordResult].
Request
PUT 'https://localhost:9003/api/v1/downtime?requestOrigin=testorigin' \
--header 'Content-Type: application/json' \
--data-raw '{
"Module":"Downtime",
"Location": "SiteFolder.WorkCenter2.WorkCellItem.DowntimeReportingPoint",
"SetId": "1",
"SplitRecords":[{
"SplitDateTimeUtc":"2020-01-07T05:52:55Z"
},
{
"SplitDateTimeUtc":"2020-01-21T05:52:55Z"
} ]
}
'Response
[
{
"SetId": 48,
"StartDateTimeUtc": "2020-01-05T07:58:59Z",
"EndDateTimeUtc": "2020-01-07T05:52:55Z"
},
{
"SetId": 49,
"StartDateTimeUtc": "2020-01-07T05:52:55Z",
"EndDateTimeUtc": "2020-01-21T05:52:55Z"
},
{
"SetId": 50,
"StartDateTimeUtc": "2020-01-21T05:52:55Z",
"EndDateTimeUtc": "2020-01-25T07:58:59Z"
}
]For each split record, specify a UTC date time to split at. Specify fields as key-value pairs to update multiple fields on each split record.
The original and split records include the request origin provided in the request.