Connection
Every request below is sent to this same server (relative paths — no CORS). The system credential is attached to every contracting and biometric call automatically.
Login (get contracting JWT)
POST /api/contracting/auth/token — the same TBGMS email/password a contractor's XAF login already uses.
Capture contract
One screen, one Save. Pick the grower and crop, build the line items, then Save — it captures the grower's fingerprint from the scanner, verifies it against Nexus, and creates the contract for you.
First time seeing this grower? Enroll their fingerprint before saving a contract.
Update contract
PUT /api/contracting/contracts/{id} — replaces line items on an OPEN contract.
Confirm contract
POST /api/contracting/contracts/{id}/confirm — finalizes an OPEN contract using a verification reference.
Cancel contract
DELETE /api/contracting/contracts/{id} — soft-cancel, only works while OPEN.
Get one contract
GET /api/contracting/contracts/{id}
List all contracts
GET /api/contracting/contracts — every contract belonging to the logged-in contractor.
Activity log
Every request/response made from this page, newest first. Expand a row to see the raw JSON.