logo

Mobiclocks & CMiC Integration Design Document

Purpose: This document describes the integration between Mobiclocks and CMiC ERP. It is intended for CMiC's partner program and technical review teams.

Mobiclocks integrates with CMiC to synchronize project data (Job Sites, Cost Codes, and Cost Types) into Mobiclocks. This enables construction companies to manage field time tracking against live project data from CMiC, eliminating manual data entry and keeping both systems in sync.

Integration Architecture

Mobiclocks
Back-Office Web App
Admins
Sync & Import Engine
  • Manual sync triggers
  • Scheduled auto-sync
Data Store
  • Job Sites
  • Cost Codes
  • Cost Types
HTTPS   |   Session Cookie Auth
Davit:
CMiC ERP REST API
https://{company}.cmic.com/api/v1/
GET/jcjobJob Sites
GET/jcjobcostcodesCost Codes (per Job Site)
GET/jcmastercategoriesCost Types
GET/jcjobcostcatcodesCost Code Categories & Budgets

Integration Flow

1
Connection Setup
An administrator enters CMiC API credentials (host, username, password) in Mobiclocks. Mobiclocks authenticates with CMiC using Basic Auth and stores the session token for all future requests. Sessions are automatically refreshed when they expire.
2
Data Sync from CMiC
Mobiclocks pulls project data from CMiC across three categories: Job Sites (active projects), Cost Codes (attached to each job), and Cost Types (master categories such as Labor and Subcontractor).
3
Selective Import into Mobiclocks
Administrators browse the synced data and selectively import Job Sites and Cost Codes into Mobiclocks. Only imported data is visible to field workers for time entry.
4
Ongoing Sync
Mobiclocks keeps data current via scheduled auto-sync (configurable interval) and on-demand manual sync triggered by an administrator.
5
Archive Management
Inactive job sites and cost codes can be archived in Mobiclocks without deletion, preserving historical time entry records.

CMiC APIs Consumed by Mobiclocks

Mobiclocks calls the following CMiC REST API endpoints. All requests are read-only (GET). Pagination is handled automatically using limit / offset parameters.

EndpointMethodFields RequestedPurpose
{base-url}/ GET Authenticate using Basic Auth (username + password). CMiC returns a session cookie used for all subsequent API calls. Session is automatically refreshed on expiry.
{base-url}/jcjob GET Job UUID, Job Code, Job Name, Status Code Retrieve the list of projects / job sites from CMiC
{base-url}/jcjobcostcodes GET Cost Code UUID, Code, Name, Projected Qty, Work Measure Code Retrieve cost codes associated with a specific job site
{base-url}/jcmastercategories GET Category UUID, Code, Name Retrieve master cost type categories
{base-url}/jcjobcostcatcodes GET Job Code, Phase Code, Category Code, Budget Amount, Budget Units Retrieve budget and category associations per job site cost code

Mobiclocks Integration Management Capabilities

Davit:

The following capabilities are available to administrators within Mobiclocks for managing the CMiC integration.

Connection & Settings

CapabilityDescription
Connect to CMiCSet up or update CMiC API credentials (host, username, password)
View Connection StatusCheck current connection configuration and status
Configure Auto-SyncSet sync interval and enable/disable automatic background sync
Configure Sync FiltersFilter which cost types are included during sync

Job Sites

CapabilityDescription
Sync Job SitesPull latest job sites from CMiC on demand
Browse Job SitesView all job sites available from CMiC before importing
Import Job SitesAdd selected job sites into Mobiclocks for field use
View Imported Job SitesSee which job sites are currently active in Mobiclocks
Archive / UnarchiveDeactivate or reactivate job sites without data loss

Cost Codes (per Job Site)

CapabilityDescription
Sync Cost CodesPull latest cost codes for a specific job site from CMiC
Browse Cost CodesView all available cost codes for a job site
View Cost TypesSee cost types applicable to a job site
Import Cost CodesAdd selected cost codes into Mobiclocks
Archive / UnarchiveDeactivate or reactivate cost codes without data loss

Cost Types

CapabilityDescription
Sync Cost TypesPull latest cost types from CMiC
Browse Cost TypesView all synced cost types
Activate / DeactivateControl which cost types are available for use in Mobiclocks

Security & Data Handling

chat