Note: This page has not yet been converted to the new developer portal format. Please use Swagger to test this API.
DynamicLocations
The dynamicLocation collection
is used to collect locations by uploading the CSV file via API.
GET /dynamicLocations/{organizationId}/{uploadBatchId}
Description
Retrieve the specified uploadBatch within an organization and uploadBatchId.
Return type
[uploadBatch] [instance].
Parameters
Name | Type | Optional? | Description |
---|---|---|---|
organizationId | url | n | The ID of the organization. |
uploadBatchId | url | n | The ID of the uploadBatch to return. |
uploadBatch Data Model
POST /dynamicLocations/{organizationId}
Description
Upload a CSV for batch processing.
Return type
[update]
Parameters
Name | Type | Optional? | Description |
---|---|---|---|
organizationId | url | n | The ID of the organization. |
file | body | n | A CSV contains dynamic locations to be uploaded. |
uploadBatchType | query | y | Type of upload to perform,; the default is Update. |
Example
Curl -X POST -H "Authorization:
Basic c2ltb25saXZlNDUxdXNvcmdhZG1pbjoxcWF6IVFBWg==" -F
"file=@D:\sample\dynamic_locations.csv"
https://://api.everbridge.net/rest/dynamicLocations/892807736723532?uploadBatchType=Update
The string “c2ltb25saXZlNDUxdXNvcmdhZG1pbjoxcWF6IVFBWg==” is a
Base64 encoded string for “username:password”. Here is an online tool for converting your
credentials into a Base64 encoded string: https://://www.base64encode.org/
Response: