Update Schedule
PUT/v1/product/:product_id/schedule/:schedule_id
Update an schedule
Request
Path Parameters
product_id uuidrequired
The product ID
schedule_id uuidrequired
The schedule ID
- application/json
Body
required
name Name (string)
Name of the event
description Description (string)
Description of the event
start_datetime date-timerequired
Start datetime of the event
created_by_account_id uuid
ID of the account that created the event
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
last_modified_account_id uuid
Account ID of the user who last modified the resource
last_modified_timestamp date-time
Timestamp of when the resource was last modified
created_timestamp date-time
Timestamp of when this resource was created
name Name (string)
Name of the event
description Description (string)
Description of the event
start_datetime date-timerequired
Start datetime of the event
created_by_account_id uuid
ID of the account that created the event
schedule_id uuidrequired
Unique identifier for the event
{
"last_modified_account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_timestamp": "2024-07-29T15:51:28.071Z",
"created_timestamp": "2024-07-29T15:51:28.071Z",
"name": "string",
"description": "string",
"start_datetime": "2024-07-29T15:51:28.071Z",
"created_by_account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"schedule_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...