TIMB·
For Livelihoods.
For Sustainability.

Contracting API Test Console

System: not set Contractor: not logged in

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.

Saved locally in this browser only (localStorage) — never sent anywhere except as request headers to this server.

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.

Not checked
Total: 0.00
First time only: the local scanner service uses a self-signed certificate. Open https://localhost:24087/SGIFPCapture directly in a new tab once and accept the security warning, then come back here — otherwise capture will fail with a connection error even though the scanner is working.

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.