---
title: "getFixedSlotCapacity"
method: POST
path: "/service/v1/serviceResources/{resourceId}/capacity/fixed"
tags: ["Services v1"]
---

# getFixedSlotCapacity

`POST /service/v1/serviceResources/{resourceId}/capacity/fixed`

Provides capacity in fixed-size slots. 

**Usage Plan:**

| Rate (requests per second) | Burst |
| ---- | ---- |
| 5 | 20 |

The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).

## Path parameters

- `resourceId` string, required

## Query parameters

- `marketplaceIds` string[], required
- `nextPageToken` string

## Request body

- FixedSlotCapacityQuery — Request schema for the `getFixedSlotCapacity` operation. This schema is used to define the time range, capacity types and slot duration which are being queried.
  - `capacityTypes` CapacityType[] — An array of capacity types which are being requested. Default value is `[SCHEDULED_CAPACITY]`.
  - `slotDuration` number — Size in which slots are being requested. This value should be a multiple of 5 and fall in the range: 5 <= `slotDuration` <= 360.
  - `startDateTime` string, date-time, required — Start date time from which the capacity slots are being requested in ISO 8601 format.
  - `endDateTime` string, date-time, required — End date time up to which the capacity slots are being requested in ISO 8601 format.

## Response `200`

Success response.

- FixedSlotCapacity — Response schema for the `getFixedSlotCapacity` operation.
  - `resourceId` string — Resource Identifier.
  - `slotDuration` number — The duration of each slot which is returned. This value will be a multiple of 5 and fall in the following range: 5 <= `slotDuration` <= 360.
  - `capacities` FixedSlot[] — Array of capacity slots in fixed slot format.
    - `startDateTime` string, date-time — Start date time of slot in ISO 8601 format with precision of seconds.
    - `scheduledCapacity` integer — Scheduled capacity corresponding to the slot. This capacity represents the originally allocated capacity as per resource schedule.
    - `availableCapacity` integer — Available capacity corresponding to the slot. This capacity represents the capacity available for allocation to reservations.
    - `encumberedCapacity` integer — Encumbered capacity corresponding to the slot. This capacity represents the capacity allocated for Amazon Jobs/Appointments/Orders.
    - `reservedCapacity` integer — Reserved capacity corresponding to the slot. This capacity represents the capacity made unavailable due to events like Breaks/Leaves/Lunch.
  - `nextPageToken` string — Next page token, if there are more pages.

## Other responses

- `400` — Request has missing or invalid parameters and cannot be parsed.
- `401` — The request's Authorization header is not formatted correctly or does not contain a valid token.
- `403` — Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
- `404` — The resource specified does not exist.
- `413` — The request size exceeded the maximum accepted size.
- `415` — The request payload is in an unsupported format.
- `429` — The frequency of requests was greater than allowed.
- `500` — An unexpected condition occurred that prevented the server from fulfilling the request.
- `503` — Temporary overloading or maintenance of the server.

---

[API](https://skmtc.net/aws-samples/apis/a-content-management-v2020-11-01.md) · [All operations](https://skmtc.net/aws-samples/apis/a-content-management-v2020-11-01/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws-samples/a-content-management-v2020-11-01/revisions/815a5b6dbaa6/schema)
