A valid request URL is required to generate request examples{
"status": "success",
"code": "<string>",
"data": {
"organizationId": 123,
"organizationsPerNight": 123,
"nightTimeZone": "<string>",
"earliestSelectableRunTimeUtc": "2023-11-07T05:31:56Z",
"unavailableNights": [
"<string>"
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}Get the nights the organization may still book for its D2 migration
Returns the nightly migration capacity currently in force plus the Copenhagen calendar dates (yyyy-MM-dd) inside the bookable horizon that are already full, so the scheduling wizard can prevent the round-trip. A “night” is a Europe/Copenhagen date, not a UTC day. This organization’s own booking is never reported as unavailable, so a reschedule within its own night stays possible. Convenience only — POST migration-requests and PUT migration-requests/ re-check capacity and answer 422 unprocessable_error.run_time_night_at_capacity regardless.
A valid request URL is required to generate request examples{
"status": "success",
"code": "<string>",
"data": {
"organizationId": 123,
"organizationsPerNight": 123,
"nightTimeZone": "<string>",
"earliestSelectableRunTimeUtc": "2023-11-07T05:31:56Z",
"unavailableNights": [
"<string>"
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "success",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}Path Parameters
Identifier of the organization to compute schedule availability for.
Response
OK
The coarse outcome of the request, indicating whether it succeeded or failed.
success, error The specific machine-readable outcome code, such as ok on success or the most specific error code on failure. Always lowercase on the wire.
The response payload, either a single object for a by-id read or an array for a bulk operation. Omitted from the body when there is no value.
Show child attributes
Show child attributes