API Online
Procurement Management System API
Comprehensive API testing interface for government procurement management system. Test all endpoints with authentication, file uploads, and real-time responses.
justify-content: center; font-size: 1.5rem; color: white; font-weight: 600; box-shadow: var(--shadow-md); } .logo-text h1 { font-size: 1.75rem; font-weight: 700; background: var(--bg-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .logo-text p { font-size: 0.875rem; color: var(--text-muted); } .header-actions { display: flex; align-items: center; gap: 1.5rem; } .auth-section { display: flex; align-items: center; gap: 1rem; } .auth-form { display: flex; align-items: center; gap: 0.75rem; } .auth-input { padding: 0.625rem 1rem; border: 1px solid var(--border-color); border-radius: var(--radius-lg); font-size: 0.875rem; transition: var(--transition); background: var(--bg-primary); color: var(--text-primary); min-width: 140px; } .auth-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1); transform: scale(1.02); } .auth-status { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: var(--radius-lg); font-size: 0.875rem; font-weight: 500; box-shadow: var(--shadow-sm); } .auth-status.authenticated { background: rgb(16 185 129 / 0.1); color: var(--success); } .auth-status.unauthenticated { background: rgb(239 68 68 / 0.1); color: var(--error); } .auth-indicator { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } /* Main Content */ .main { flex: 1; max-width: 1440px; margin: 0 auto; padding: 2rem; display: grid; grid-template-columns: 300px 1fr; gap: 2rem; height: calc(100vh - 120px); overflow: hidden; } /* Sidebar */ .sidebar { background: var(--bg-card); border-radius: var(--radius-2xl); border: 1px solid var(--border-color); height: 100%; position: relative; box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; } .sidebar-header { padding: 2rem; border-bottom: 1px solid var(--border-light); background: var(--bg-gradient); color: white; flex-shrink: 0; } .sidebar-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; } .sidebar-content { padding: 1.5rem; flex: 1; overflow-y: auto; } .sidebar-content::-webkit-scrollbar { width: 6px; } .sidebar-content::-webkit-scrollbar-track { background: var(--bg-tertiary); border-radius: var(--radius-sm); } .sidebar-content::-webkit-scrollbar-thumb { background: var(--primary); border-radius: var(--radius-sm); } .endpoint-category { margin-bottom: 2rem; } .category-header { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 1rem; border-bottom: 1px solid var(--border-light); } .category-icon { font-size: 1rem; opacity: 0.8; } .endpoint-list { display: flex; flex-direction: column; gap: 0.5rem; } .endpoint-item { display: flex; align-items: center; padding: 1rem; border-radius: var(--radius-lg); cursor: pointer; transition: var(--transition); border: 1px solid transparent; text-decoration: none; color: var(--text-primary); position: relative; overflow: hidden; } .endpoint-item:hover { background: var(--bg-tertiary); border-color: var(--primary); transform: translateX(4px); box-shadow: var(--shadow-md); } .endpoint-item.active { background: rgb(59 130 246 / 0.1); border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-md); } .method-badge { display: inline-flex; align-items: center; justify-content: center; padding: 0.375rem 0.75rem; border-radius: var(--radius-md); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; min-width: 4rem; margin-right: 1rem; color: white; box-shadow: var(--shadow-sm); } .method-get { background: var(--success); } .method-post { background: var(--primary); } .method-put { background: var(--warning); } .method-delete { background: var(--error); } .endpoint-path { font-size: 0.875rem; font-weight: 500; font-family: 'SF Mono', Consolas, monospace; flex: 1; } /* Content Area */ .content-area { display: flex; flex-direction: column; gap: 2rem; height: 100%; overflow-y: auto; padding-right: 1rem; } .content-area::-webkit-scrollbar { width: 6px; } .content-area::-webkit-scrollbar-track { background: var(--bg-tertiary); border-radius: var(--radius-sm); } .content-area::-webkit-scrollbar-thumb { background: var(--primary); border-radius: var(--radius-sm); } .welcome-card { background: var(--bg-card); border-radius: var(--radius-2xl); border: 1px solid var(--border-color); padding: 3rem; text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; } .welcome-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--bg-gradient); } .welcome-icon { font-size: 4rem; margin-bottom: 1.5rem; background: var(--bg-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .welcome-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; background: var(--bg-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .welcome-description { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.8; } .endpoint-section { background: var(--bg-card); border-radius: var(--radius-2xl); border: 1px solid var(--border-color); box-shadow: var(--shadow-lg); overflow: hidden; display: none; } .endpoint-section.active { display: block; animation: slideIn 0.3s var(--animation-bounce); } @keyframes slideIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .endpoint-header { padding: 2rem; border-bottom: 1px solid var(--border-light); background: var(--bg-gradient); color: white; } .endpoint-title { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; } .endpoint-title h2 { font-size: 1.5rem; font-weight: 600; font-family: 'SF Mono', Consolas, monospace; } .endpoint-description { margin-bottom: 1.5rem; opacity: 0.9; } .endpoint-meta { display: flex; gap: 1.5rem; font-size: 0.875rem; } .meta-item { display: flex; align-items: center; gap: 0.5rem; opacity: 0.8; } .endpoint-actions { padding: 2rem; border-bottom: 1px solid var(--border-light); background: var(--bg-tertiary); } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 1.5rem; border: none; border-radius: var(--radius-lg); font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: var(--transition); text-decoration: none; white-space: nowrap; position: relative; overflow: hidden; } .btn-primary { background: var(--primary); color: white; box-shadow: var(--shadow-md); } .btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-xl); } .btn-secondary { background: var(--bg-tertiary); color: var(--text-primary); border: 1px solid var(--border-color); } .btn-secondary:hover { background: var(--bg-primary); border-color: var(--primary); transform: translateY(-1px); } .btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; } .loading-spinner { width: 1rem; height: 1rem; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Data Display */ .data-container { background: var(--bg-card); border-radius: var(--radius-2xl); border: 1px solid var(--border-color); box-shadow: var(--shadow-lg); overflow: hidden; margin-top: 2rem; } .data-header { padding: 1.5rem 2rem; border-bottom: 1px solid var(--border-light); background: var(--bg-tertiary); display: flex; align-items: center; justify-content: space-between; } .data-title { font-size: 1.25rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; } .data-count { padding: 0.25rem 0.75rem; background: var(--primary); color: white; border-radius: var(--radius-lg); font-size: 0.75rem; font-weight: 600; } .data-table { width: 100%; border-collapse: collapse; } .data-table th, .data-table td { padding: 1rem 1.5rem; text-align: left; border-bottom: 1px solid var(--border-light); } .data-table th { background: var(--bg-tertiary); font-weight: 600; color: var(--text-primary); position: sticky; top: 0; z-index: 10; } .data-table tr:hover { background: var(--bg-tertiary); } .data-table tr:last-child td { border-bottom: none; } .data-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 1.5rem; padding: 2rem; } .data-card { background: var(--bg-tertiary); border-radius: var(--radius-xl); padding: 1.5rem; border: 1px solid var(--border-color); transition: var(--transition); } .data-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } .data-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; } .data-card-title { font-weight: 600; color: var(--text-primary); } .data-card-meta { font-size: 0.75rem; color: var(--text-muted); } .data-card-content { display: flex; flex-direction: column; gap: 0.5rem; } .data-field { display: flex; justify-content: space-between; align-items: center; } .data-field-label { font-size: 0.875rem; color: var(--text-muted); } .data-field-value { font-weight: 500; color: var(--text-primary); } .status-badge { padding: 0.25rem 0.75rem; border-radius: var(--radius-lg); font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; } .status-active { background: rgb(16 185 129 / 0.1); color: var(--success); } .status-inactive { background: rgb(239 68 68 / 0.1); color: var(--error); } .status-pending { background: rgb(245 158 11 / 0.1); color: var(--warning); } .status-completed { background: rgb(59 130 246 / 0.1); color: var(--primary); } .empty-state { text-align: center; padding: 3rem; color: var(--text-muted); } .empty-state-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; } .toast { position: fixed; top: 2rem; right: 2rem; padding: 1rem 1.5rem; border-radius: var(--radius-lg); font-size: 0.875rem; font-weight: 500; color: white; z-index: 100; box-shadow: var(--shadow-xl); opacity: 0; transform: translateX(100%); transition: all 0.3s var(--animation-bounce); } .toast.show { opacity: 1; transform: translateX(0); } .toast.success { background: var(--success); } .toast.error { background: var(--error); } .toast.info { background: var(--info); } .toast.warning { background: var(--warning); } /* Responsive Design */ @media (max-width: 768px) { .main { grid-template-columns: 1fr; gap: 1rem; padding: 1rem; height: calc(100vh - 140px); } .sidebar { position: relative; order: 2; height: 40vh; } .content-area { height: 60vh; } .header-content { flex-direction: column; gap: 1rem; align-items: stretch; } .auth-form { flex-direction: column; } .data-grid { grid-template-columns: 1fr; } }
Not authenticated

Procurement Management System

Welcome to the modern API interface for the Procurement Management System. Explore and test all endpoints with our intuitive interface.

GET

/users

Get all users in the system

Authentication Required
Response Time: ~100ms
GET

/departments

Get all departments

Authentication Required
Response Time: ~80ms
GET

/bidders

Get all bidders

Authentication Required
Response Time: ~90ms
GET

/procurement/projects

Get all procurement projects

Authentication Required
Response Time: ~120ms
GET

/procurement/purchase-requests

Get all purchase requests

Authentication Required
Response Time: ~110ms
GET

/contracts

Get all contracts

Authentication Required
Response Time: ~95ms
GET

/reports

Get system reports

Authentication Required
Response Time: ~150ms