Ramp: Department schemas
4 Ramp schemas with complete fields and constraints.
← Department operations · All schemas
Create a department — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
name | string | Required within parent | Name of the department. |
Fetch a department — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
id | string | Required within parent | Unique identifier for the department. Format: uuid |
name | string | Required within parent | Name of the department. |
List departments — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
data | array | Required within parent | Resources returned in this page. |
data[] | Model | Each item | Expand Fetch a department — response body |
page | Model | Required within parent | Expand List bills — response body — page Pagination details for this response. |
Referenced models: Fetch a department — response body, List bills — response body — page
Update a department — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
name | string | Required within parent | Name of the department. |