Create locations using CSV file

post/locations/v1/locations/locations-csv-upload

Create locations using a CSV file and store the associated information.

SecurityBearer
Request
Request Body schema: multipart/form-data
Array
Location Name(Required)
required
string

The name of the location to be created.

Street Address(Required)
required
string

The street address of the location to be created.

City(Required)
required
string

The city of the location to be created.

State/Province(Required)
required
string

The state of the location to be created.

Country(Required)
required
string

The country of the location to be created.

Zip/Postal Code(Required)
required
string

The postal code of the location to be created.

Primary Contact Email(Required)
required
string

The email of the primary contact.

Tag 1 Name (optional)
string

Tag name associated with the location.

Tag 1 Value (optional)
string

Tag value for the tag name associated with the location.

Responses
202

OK

400

Bad request

404

Not found

500

Internal server error

Request samples
Response samples
application/json
{
  • "status": "INITIALIZED",
  • "startedAt": "string",
  • "endedAt": "string",
  • "progressPercent": 0,
  • "suggestedPollingIntervalSeconds": 0,
  • "timeoutMinutes": 0,
  • "result": {
    },
  • "id": "string",
  • "type": "locations/asyncOperation"
}