Add Location Attribute

Adds a custom attribute to a saved location.

URLs

Environment Method URL
Sandbox https://api-sandbox.fndev.net/api/rest/v2/locations/location_id/attribute_name
Production https://api.fieldnation.com/api/rest/v2/locations/location_id/attribute_name

Path Parameters

Parameter Type Example Notes
attribute_name integer Service ID New Attribute Title. Can include spaces.

Query Parameters

Parameter Type Example Notes
access_token string abc123defg459hijk786lmn45 Required.

Body Parameters

Because the new attribute name is included in the path parameter, you only need to send the attribute value in the JSON request.

{
   "value":"00123A"
}

Response

Returns the Saved Location Object by ID. Refer to Saved Locations for parameter details and examples.

Errors

Standard HTTP and OAuth error codes.