Overview

🔍 View API Spec

The Standard Order Experience API serves as a centralized integration layer for managing device and inventory orders across multiple enterprise clients. It provides a unified interface for order processing, status updates, and workflow orchestration between client systems and backend order management platforms.

Key Capabilities

📝 Order Creation

Accept and process orders with comprehensive validation and intelligent routing to DIMS or LCAM backends

🔄 Status Updates

Real-time order status updates from backend systems propagated to client applications

🔀 Client Routing

Intelligent routing with client-specific data transformations and business rules

đŸ›Ąī¸ Error Handling

Comprehensive error handling with automatic retry mechanisms for graceful recovery

Use Cases

  • Multi-Client Integration: Single API endpoint serving multiple client organizations
  • Order Lifecycle Management: End-to-end order tracking from creation through fulfillment
  • System Orchestration: Seamless integration between client portals and backend systems
  • Real-Time Status Updates: Bi-directional communication for order status changes

Architecture

The API follows the MuleSoft API-Led Connectivity approach as an Experience Layer, abstracting client-specific complexities and providing a consistent interface.

graph LR A["đŸ–Ĩī¸ Client Systems"] B["📡 Standard Order API"] C["🔍 APIKit Router"] D["🔀 Client Routing"] E["🔄 Data Transform"] F["âš™ī¸ DIMS"] G["âš™ī¸ LCAM"] A -->|HTTPS| B B --> C C --> D D --> E E --> F E --> G F -->|Updates| B G -->|Updates| B B -->|Response| A style A fill:#f0f9ff,stroke:#000099,stroke-width:2px style B fill:#fce7f3,stroke:#c12e6b,stroke-width:2px style C fill:#fce7f3,stroke:#c12e6b,stroke-width:2px style D fill:#fce7f3,stroke:#c12e6b,stroke-width:2px style E fill:#fce7f3,stroke:#c12e6b,stroke-width:2px style F fill:#fed7aa,stroke:#f98b1c,stroke-width:2px style G fill:#fed7aa,stroke:#f98b1c,stroke-width:2px

Environment URLs

Environment Base URL
QC (Quality Control) https://muleqc.diam.compucom.com/api/standard-order/
Production https://muleprod.diam.compucom.com/api/standard-order/

Authentication

The API supports two authentication methods to accommodate different client requirements and security policies.

Basic Authentication

Traditional username and password authentication where credentials are base64-encoded in the Authorization header.

Use Case: Suitable for server-to-server integrations with secure credential storage.
Authorization: Basic <base64-encoded-credentials>

Supported Endpoints: POST /order, POST /orderUpdate

OAuth 2.0

Token-based authentication with automatic token refresh. Provides enhanced security with time-limited access tokens.

Use Case: Recommended for client applications, web portals, and integrations requiring enhanced security.
Authorization: Bearer <oauth-access-token>

Supported Endpoints: POST /v2/order, POST /orderUpdate

📋 Important: For username, password, client_id, and client_secret, contact the Compucom MuleSoft Team.

API Endpoints

The API exposes three main endpoints for order creation and status management:

📤 POST /order

POST Basic Auth

Synchronous order creation with immediate validation and confirmation.

Response: 201 Created | Time: ~2-5 seconds

curl -X POST \ https://muleqc.diam.compucom.com/api/standard-order/order \ -H "Content-Type: application/json" \ -H "Authorization: Basic YXBpX3VzZXI6YXBpX3Bhc3N3b3Jk" \ -d '{ "order": [{ "parentCustomerNumber": "799249461", "entryDate": "08/26/20", "requestedDate": "08/26/20", "customerPONumber": "PO-2020-08-001", "shipCustomerName": "John Doe", "shipAddress1": "123 Main St", "shipCity": "New York", "shipState": "NY", "shipZipCode": "10001", "shipCountry": "US", "orderDetails": [ { "orderLine": 1, "quantityOrdered": 1, "price": 100.00, "itemNumber": "ITEM001", "description": "Test Product" } ] }] }'

✓ Success Response (201 Created)

{ "status": "Success", "salesRefNumber": "M0047665" }

📤 POST /v2/order

POST OAuth 2.0

Same as /order but with OAuth 2.0 authentication for enhanced security.

Response: 201 Created | Maintained for API versioning

curl -X POST \ https://muleqc.diam.compucom.com/api/standard-order/v2/order \ -H "Content-Type: application/json" \ -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." \ -d '{ "order": [{ "parentCustomerNumber": "799249461", "entryDate": "08/26/20", "requestedDate": "08/26/20", ... }] }' # Same request body structure as /order endpoint above

🔄 POST /orderUpdate

POST Basic Auth / OAuth 2.0

Bi-directional status updates from backend systems to client applications.

Response: 200 OK | Retries: 3 with exponential backoff

Receives order status, shipment tracking, invoice details, and serial numbers from DIMS or LCAM backends.

📋 Note: View detailed request/response examples in the API Specification.

Error Handling & Retry Logic

  • Automatic Retry: Failed requests are automatically retried up to 3 times with exponential backoff (1s, 2s, 4s intervals)
  • Connectivity Issues: Automatic recovery for network failures
  • OAuth Token Refresh: Automatic token refresh for expired credentials
  • Timeout Handling: 30-second timeout per attempt with automatic retry
Error Response Example:
{ "status": "Error", "message": "Missing required field: parentCustomerNumber" }

Support & Resources