Update Pickup Branch for local hold request

PUT /api/.../holds/{id}?action=pickupbranch

Update the hold request pickup branch ID.

Permissions

    CR_HoldRequests_Modify - 90: logged in branch

Request Information

Name Type Required Description
id Integer Yes ID of local hold request

Body of Request

Include the pickup branch ID field in the BODY of the request.

application/json, text/json
{
    PickupBranchID: 83
}

Response Information

An HTTP return status code of 200 indicates success.

HTTP Response Codes

Code Description
200 OK. Success
400 FAILURE because pickup branch ID is not valid or the status of the hold request is not either ACTIVE, INACTIVE, PENDING, HELD, or LOCATED.
403 Permission exception.
404 FAILURE because hold request record was not found.
409 CONFLICT. Patron record is secured.