Docs
Assign Resource To Group
PUT /procurement-resources/{resourceId}/group
PUT
/procurement-resources/{resourceId}/groupRequired 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. |
Moves a need into a group on its procurement, or out of every group.
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 |
|---|---|---|---|
| resourceId | Guid | Required | The need (procurement resource). |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| groupId | Guid? | Optional | A group on the need's procurement. Null ungroups. |
Response
200 OK. No response body.
Error Codes
| HTTP Status | Description |
|---|---|
| 404 | Need or group not found. |