You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a GET route handler at /api/partners/[partnerId]/unallocatedItemRequests that returns all UnallocatedItemRequest records that belong to the specified partner.
Success Criteria
401 if no session
403 if not STAFF, ADMIN, or SUPER_ADMIN
GET /api/partners/[partnerId]/unallocatedItemRequests returns all UnallocatedItemRequest records that belong to the specified partner ID
The route handler is documented with a description of its function, parameters, and responses
There is a test file that covers the success criteria
The text was updated successfully, but these errors were encountered:
Description
Create a
GET
route handler at/api/partners/[partnerId]/unallocatedItemRequests
that returns allUnallocatedItemRequest
records that belong to the specified partner.Success Criteria
STAFF
,ADMIN
, orSUPER_ADMIN
GET /api/partners/[partnerId]/unallocatedItemRequests
returns allUnallocatedItemRequest
records that belong to the specified partner IDThe text was updated successfully, but these errors were encountered: