create one or multiple locations
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Location Schema
- name (string, required)
- description (string)
- companyUuid (uuid)
- street_address (string)
- address_2 (string)
- city (string)
- state_code (string)
- postal_code (string)
- country_code (string)
Country Codes
2-letter ISO country code
enum
US, UA, AD, AF, AG, AI, AL, AM, AO, AQ, AR, AS, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FM, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GT, GU, GT, GW, GY, HK, HM, HN, HR, HT, HU, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NT, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PT, PW, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TZ, UA, UG, UM, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW
- locationNotes (string)
- timezone (string)
- language (string)
External Location
- externalLocation (object)
- geolocation (object)
- brandUuid (uuid | null)
- isRemote (boolean)
- ownerUuid (uuid | null)
- locationGroupUuid (uuid | null)
Response Codes
- 201 One or many location documents created. Wrapped in a JsonAPI root response.
- 409 Default error response
- 500 Default error response
Curl Example
curl --request POST \
--url https://services.fountain.com/api/serviceworkforce/locations \
--header 'accept: application/json' \
--header 'content-type: application/json'
Response Codes
201409500
Updated: about 2 months ago.