Create a location and replace its Company Attributes with the payload
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
locationPayload
- object
- required
Fields to create the location. Uses the location schema; at minimum name is required.
locationPayloadobject
- customAttributesPayload
- array of objects
- required
List of Company Attributes to attach to the location. If the field is omitted, the location will be created without company attributes. If you provide an empty array ([]) the location will be created with no attributes.
customAttributesPayload*
- ADD object
``201
Created Successfully
``400 default error response
Updated about 2 months ago
ShellNodeRubyPHPPython
``
xxxxxxxxxx
--url https://services.fountain.com/api/serviceworkforce/processes/locations/custom_attributes \
--header 'accept: application/json' \
--header 'content-type: application/json'```
### Click `Try It!` to start a request and see the response here! Or choose an example:
- **application/json**
``400
---
### Updated about 2 months ago
* * *
---