Docs
Pull Resource
POST /resources/pull
POST
/resources/pullRequired 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. |
| Organization token | x-Organization-Token | Optional | Set the `orgToken` variable to a token from the Organization API's **Authorize Organization**. It must be for the event's owning organization. |
Puts one org inventory resource on this event as a correlated copy, pulling its type first if needed. Idempotent: pulling an already-pulled resource returns the existing copy.
Requires
ResourceInventory.Read on the event's owning organization.Event scoping: This endpoint does not include
{eventId} in the URL. The event is determined automatically from your x-Event-Token.Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| orgResourceId | Guid | Required | An org resource id from **Get Org Pool Resources**. |
Response
201 Created with the event resource's id as a bare Guid.
Error Codes
| HTTP Status | Description |
|---|---|
| 400 | A Crew resource whose person isn't on the event. |
| 403 | Org token for another organization, or missing ResourceInventory.Read. |
| 404 | Org resource not found. |