Docs

Assign Resource To Group

PUT /procurement-resources/{resourceId}/group

PUT/procurement-resources/{resourceId}/group

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **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

FieldTypeRequiredDescription
resourceIdGuidRequiredThe need (procurement resource).

Request Body

FieldTypeRequiredDescription
groupIdGuid?OptionalA group on the need's procurement. Null ungroups.

Response

200 OK. No response body.

Error Codes

HTTP StatusDescription
404Need or group not found.