Configure the REST Connector by uploading your OpenAPI spec, selecting endpoints, and setting up authentication.
Before starting, gather:
Navigate to Field Nation's Integration Broker:
Sandbox: ui-sandbox.fndev.net/integrations Production: app.fieldnation.com/integrations
Use your Field Nation buyer account credentials
Find "REST Connector" in the list of available connectors
Open the REST Connector configuration form
The OpenAPI spec enables automatic endpoint discovery and field mapping.
Supported Formats:
Where to Get It:
/swagger.json or /api-docs endpointValidate Before Upload:
# Using Swagger Editor (online or local)
https://editor.swagger.io/
# Or CLI tools
swagger-cli validate openapi.jsonIn the REST Connector configuration form
Choose your OpenAPI spec file (.json or .yaml/.yml)
Integration Broker parses and validates the specification
Green confirmation message: "OpenAPI specification uploaded successfully"
What Happens:
Select which API endpoints to use for each operation.
Purpose: Get field definitions and schema information
Required: Yes - enables field mapping UI
Example Endpoints:
GET /api/v1/tickets/metadataGET /api/v1/schema/ticketOPTIONS /api/v1/tickets (if returns schema)Configuration:
GET)Dropdown Contents:
GET /api/v1/metadata)Purpose: Retrieve single record by ID
Required: Yes - fetches data for inbound sync
Example Endpoints:
GET /api/v1/tickets/{id}GET /api/v1/records/{ticket_id}GET /api/v1/workorders/{wo_id}Configuration:
GETID Parameter:
/tickets/{id} or /tickets?id={id}Purpose: Create new records in external system
Required: Yes - core functionality
Example Endpoints:
POST /api/v1/ticketsPOST /api/v1/workorders/createPUT /api/v1/records (if PUT creates)Configuration:
POST (sometimes PUT)Request Body:
Purpose: Update existing records
Required: Recommended (enables bidirectional sync)
Example Endpoints:
PUT /api/v1/tickets/{id}PATCH /api/v1/tickets/{id}POST /api/v1/tickets/{id}/updateConfiguration:
PUT, PATCH, or POSTPUT vs PATCH:
PUT: Full record replacementPATCH: Partial update (only changed fields)Purpose: Upload files/documents to records
Required: Optional - only if file sync needed
Example Endpoints:
POST /api/v1/tickets/{id}/attachmentsPOST /api/v1/files/uploadPUT /api/v1/records/{id}/documentsConfiguration:
POSTFile Handling:
REST Connector supports Basic Authentication only.
Format: username:password
Examples:
api_user:secure_password_123
integration@company.com:MyP@ssw0rd!
client_12345:abc123xyz789Configuration:
username:passwordAuthorization: Basic base64(username:password)Verify REST Connector can communicate with your API.
Button near authentication section
Success: ✅ Green confirmation
Failure: ❌ Error message
Discover available fields for mapping.
Button in field mapping section
Available fields appear in dropdown menus:
Field Discovery Includes:
Map data between Field Nation and your external system.
Map external system fields to Field Nation work order fields:
Example:
External Field → Field Nation Field
──────────────────────────────────
ticket_title → title
ticket_description → description
priority_level → priority (with Array Map)
customer_name → location.company.name
scheduled_date → schedule.start (with Date Convert)Map Field Nation fields to external system updates:
Example:
Field Nation Field → External Field
────────────────────────────────────
status.name → ticket_status (with Array Map)
assignee.user.email → technician_email
completion_notes → resolution_notes
approved_amount → final_costComplete field mapping guide →
Use standard transformation actions:
Sync: Direct copy
{
"source": "external_field",
"target": "fn_field",
"action": "sync"
}Array Map: Status mapping
{
"source": "status",
"target": "fn_status",
"action": "array_map",
"mappings": [
{ "compare": "open", "value": "1" },
{ "compare": "in_progress", "value": "2" },
{ "compare": "completed", "value": "5" }
]
}Date Convert: Date formatting
{
"source": "scheduled_date",
"target": "schedule.start",
"action": "date_convert",
"input_format": "YYYY-MM-DD",
"output_format": "YYYY-MM-DD HH:mm:ss"
}Verify all settings:
Click "Save" to persist settings
Create a test work order in Field Nation:
Watch first few synchronizations:
Last updated on