Docs
Create Procurement Group
POST /procurements/{procurementId}/groups
POST
/procurements/{procurementId}/groupsRequired Tokens
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <api-key> | Optional | Your API key. Pass it as the Bearer token on every request. |
| Event token | x-Event-Token | Optional | Run **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually. |
Adds a group to a procurement.
Event scoping: This endpoint does not include
{eventId} in the URL. The event is determined automatically from your x-Event-Token.Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| procurementId | Guid | Required | The procurement. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Required | Group name. |
| notes | string | Optional | Notes. |
Response
201 Created with the new group's id as a bare Guid.
Error Codes
| HTTP Status | Description |
|---|---|
| 400 | Invalid name. |
| 404 | Procurement not found. |