FIELD CONNECT COMMERCIAL™ | CUSTOMER IT CONNECTOR KIT Scope: one authorized company and project; no secrets in this document. 1. INTAKE POST https://field-connect.floot.app/_api/commercial/integration-intake Authorization: Bearer Content-Type: application/json {"companyId":"","projectId":"","system":"","event":{"kind":"","externalId":"","sourceAt":"","data":{...}}} The integration screen supplies the JSON examples. Identical source versions are idempotent. Changed records require a new version ID. Do not stage unauthorized data. WorkMax: system workmax, kind labor. Normalize employeeCode, projectCode, costCode, workDate, whole minutes, approval. Use approved customer exports/API; no payroll approval or posting. Test the actual company mapping and existing Crew Connect export. ERP: system purchasing, kind released-po. Import only externally authorized released orders, with stable line UUIDs. Management reviews and posts through Material Control; no new external order is placed. RFQ quantities, delivery custody and receipt signatures remain controlled in Field Connect Commercial™. Teams metadata: system microsoft-teams, kind teams-channel. Fields team, channel, teamId, channelId, membershipType standard, webUrl (official Teams HTTPS URL), description. Review the source, select an internal project channel, and verify equivalent authorized audiences before linking. Teams text: system microsoft-teams, kind teams-message. Fields teamId, channelId, membershipType standard, messageId, author, body (plain text, max 3500), webUrl, optional replyTo. Stage only an approved mapping. Each reviewed snapshot can appear in the internal channel with source attribution. No private/shared channels, private chats, attachments, meetings, calling, automatic tenant-wide replication or deletion synchronization. 2. OUTBOUND POST https://field-connect.floot.app/_api/commercial/connector-dispatch Same scoped key; explicitly enable outbound in Connector Control. Claim: {"action":"claim","companyId":"","projectId":"","system":"microsoft-teams"} (or communications). Response item null or {id,claimToken,payload}. Keep the claim token secure. Use item.id for provider idempotency where supported. Never retry an uncertain send automatically. A claim is not delivery. Receipt: {"action":"receipt","companyId":"","projectId":"","system":"microsoft-teams","id":"","claimToken":"","state":"accepted","providerRef":"","note":"Provider accepted"} States accepted, delivered, failed. Accepted does not mean read or delivered. Pending deliveries can be cancelled in-app. Teams payload teams-post: teamId, channelId, body. Verify the allowed channel; post with the customer's authorized Microsoft identity. Only explicit approved posts are queued. SMS payload sms: to (verified number) and generic operational body. Use the customer's approved provider. Company SMS activation and individual verified opt-in required at claim. Handle STOP at provider immediately and relay opted-out status to Field Connect Commercial™. Existing native SMS is default if external route is off. A revoked enabled route blocks rather than silently switching. Pending items expire after 24 hours. No confidential details in the SMS body. Never log phone numbers or payloads. Inbound sms-status: messageId (outbox UUID or provider reference), status accepted/delivered/failed/opted-out, reference. Opt-out must match an authorized delivery; suppress at provider regardless. 3. TEAMS ADAPTER STARTER Save teams-connector.txt as teams-connector.py. Python 3 standard library. Supply FC_COMPANY_ID, FC_PROJECT_ID, FC_CONNECTOR_KEY, FC_TEAMS_ACCESS_TOKEN, FC_TEAMS_TEAM_ID and FC_TEAMS_CHANNEL_ID in the customer's secure runtime. No secrets in source. Default dry-run; --apply is an explicit action. metadata: stage channel; review/map in Field Connect Commercial™; messages: stage up to 50 recent root messages; dispatch: claim one approved post. The starter does not acquire/refresh tokens, import replies or synchronize edits/deletions. Test and extend for the agreed production policy. Customer IT must approve scopes and identity, including normal delegated ChannelMessage.Send for the posting endpoint; use authorized least-privileged read access. Never use migration permissions to post routine messages. Microsoft docs: https://learn.microsoft.com/en-us/graph/api/channel-list-messages https://learn.microsoft.com/en-us/graph/api/channel-post-messages https://learn.microsoft.com/en-us/microsoftteams/platform/graph-api/rsc/resource-specific-consent 4. PILOT ACCEPTANCE Authorize a test project, verify access boundaries, map employee/job/cost codes, import a released PO, reconcile a physical ticket, validate an opted-in SMS recipient and STOP, test one standard-channel import and explicit post, verify receipt evidence and key revocation. Keep customer payroll, procurement and retention policies authoritative. No live connector activation without customer IT approval.