JITA request API design

The situation
You are the system analyst on the SecureGate JITA Rollout team at NimbusOps. The service must let contractor portals create privileged-access requests and poll their status. Auditors require all request and activation events to be kept for 180 days, and the API must integrate with SAML IdPs (Okta, Azure AD) and the Ops console for approvals.
Your task
- List the REST endpoints (method, path, purpose) for creating a JITA request and polling its status.
- Provide request/response field tables for create and status GET, listing type, required and validation.
- List HTTP error codes for both endpoints, including validation, auth, pending approval, not found and rate limit.
What this rest api design for a feature exercise trains for system analysts
Design endpoints, request/response fields, statuses and error cases for a concrete feature, consistent with an existing API. The setting is identity & access (iam) platform: users, roles, SSO, MFA, sessions, invitations, offboarding, audit.
Typical deliverables for this kind of task:
- endpoint list with methods and paths
- request/response field tables
- error cases and status codes
Junior level: one clear question, small inputs, 1-2 deliverables, no hidden traps beyond one edge case. Budget 10–40 minutes.