Add a location to company
Add a location to company
access_token OAuth 2.0 Access Token
In: query
application/json
Location request body
TypeScript Definitions
Use the request body type in TypeScript.
curl -X POST "https://api-sandbox.fndev.net/api/rest/v2/locations" \ -H "Content-Type: application/json" \ -d '{ "name": "Headquarters", "type": "office", "address1": "100 Main St", "city": "New York", "state": "NY", "zip": 10001, "country": "USA", "display_name": "NYC HQ", "notes": "Main entrance on 5th Ave.", "client": 101, "group": "East Coast", "contact": { "name": "John Doe", "phone": "555-0199", "email": "jdoe@fieldnation.com" } }'{
"id": 123
}{
"status": 400,
"message": "Validation failed: field 'title' is required"
}{
"status": 500,
"message": "Operation successful."
}{
"status": 403,
"message": "You do not have permission to access this work order"
}{
"status": 500,
"message": "An unexpected error occurred. Please try again later or contact support."
}{
"status": 500,
"message": "Operation successful."
}application/json
application/json
application/json
application/json
application/json
application/json
Last updated on
Address line 1
Address line 2
City
State
Postal/ZIP code
Country
Name
Display name
Type
Notes
Client
Group
Contact