Update Locations
put
/location
Send a request to this endpoint to update one or more location. For each JSON object provided in the request body, an application object with a matching ID value will be updated to reflect the JSON contents.
Request
Header Parameters
-
Authorization(required):
OAuth token
Supported Media Types
- application/json
A list of location objects.
Root Schema : List<Location>
Type:
array
Title:
Show Source
List<Location>
-
Array of:
object Location
Title:
Location
Location Entity
Nested Schema : Location
Type:
object
Title:
Location
Location Entity
Show Source
-
AddressLine1: string
The first line of the address with street number and street name.
-
AddressLine2: string
The second line of the address with street number and street name.
-
City: string
The city name of the address.
-
Country: string
The country of the address.
-
CountryCode: string
The country code of the address.
-
CreateDate: string
(date-time)
The creation date of the Location.
-
CreateUser: string
The name of the user that created this location.
-
LastUpdateDate: string
(date-time)
The date this location was last updated.
-
LastUpdateUser: string
The name of the user that last updated this location.
-
Latitude(required): number
(double)
The latitude of the address.
-
Longitude(required): number
(double)
The longitude of the address.
-
Municipality: string
The municipality name of the address.
-
Name(required): string
The name of the location.
-
ObjectId: integer
(int32)
The unique ID of the location.
-
PostalCode: string
The postal code of the address.
-
State: string
The state name of the address.
-
StateCode: string
The state abbreviation of the address.
Response
Supported Media Types
- application/json
200 Response
OK.
Root Schema : schema
Type:
boolean
400 Response
Bad Request.
401 Response
Unauthorized.
403 Response
Forbidden.
404 Response
Not Found.
405 Response
Invalid Input.
500 Response
Internal Server Error.