| Name | Signature | Description |
|---|
| BulkGetLocationDetails | LocationDetails1[] BulkGetLocationDetails(Uri[] locationUris) | Retrieves a set of locations' details. |
| BulkGetLocations | LocationReference1[] BulkGetLocations(Uri[] locationUris) | Bulk get locations from their URI. If a URI is not found, it will be omitted from the results. |
| BulkGetLocations2 | BulkGetLocationsResult1[] BulkGetLocations2(Uri[] locationUris) | Bulk get locations from their URI |
| BulkGetLocationScheduleForUsers | BulkGetLocationScheduleResult1[] BulkGetLocationScheduleForUsers(Uri[] userUris) | Bulk Get location assignment schedule for the specified users |
| BulkGetLocationsInPolicyDataAccessScope | LocationBulkGetResult1[] BulkGetLocationsInPolicyDataAccessScope(Uri[] locationUris, Uri policyUri) | Retrieves a set of locations, filtered to those which are accessible in the given policy. Locations which are not accessible are not returned. Contextual ancestors are included in the result. |
| CreateEditDraft | Uri CreateEditDraft(Uri locationUri) | Create a draft of an existing location. |
| CreateLocationDeleteBatch | Uri CreateLocationDeleteBatch(LocationTargetParameter2[] locations, Uri locationBulkDeleteOptionUri) | Create a batch operation for bulk deleting locations by target |
| CreateLocationHierarchyOrApplyModifications | LocationHierarchyModificationResult1[] CreateLocationHierarchyOrApplyModifications(LocationHierarchyModificationParameter1[] hierarchy, Uri modificationOptionUri, String unitOfWorkId) | Create new locations or apply modification to existing locations |
| CreateLocationMoveBatch | Uri CreateLocationMoveBatch(LocationTargetParameter2 sourceLocation, LocationTargetParameter2 destinationLocation) | Create a batch operation for moving location from source to destination location |
| CreateLocationOrApplyModification | LocationReference1 CreateLocationOrApplyModification(LocationTargetParameter2 location, LocationModificationsParameter1 modifications, String unitOfWorkId) | Operation CreateLocationOrApplyModification |
| CreateNewDraft | Uri CreateNewDraft(Uri parentLocationUri) | Create a new location draft. |
| Delete | void Delete(Uri locationUri) | Delete a location. A location can only be deleted if it has no users assigned to it (past, present, or future). |
| Disable | void Disable(Uri locationUri) | Disables the location so it can no longer have any additional users assigned to it. |
| Enable | void Enable(Uri locationUri) | Enable the location so it can have additional users assigned to it. |
| GetAllLocations | LocationReference1[] GetAllLocations() | Retrieves all locations. |
| GetEnabledLocations | LocationReference1[] GetEnabledLocations() | Retrieves all enabled locations |
| GetJsonKeyValueForLocation | JsonKeyValue1 GetJsonKeyValueForLocation(LocationTargetParameter1 location, String jsonKey) | get location json key value for key |
| GetLocationDeleteBatchResults | LocationDeleteBatchResults1 GetLocationDeleteBatchResults(Uri locationDeleteBatchUri) | Retrieve results of a completed LocationDeleteBatch operation. Returns null if the batch has not completed. |
| GetLocationDetails | LocationDetails1 GetLocationDetails(Uri locationUri) | Retrieves a single location's details. |
| GetLocationMoveBatchResults | MoveLocationBatchResults1 GetLocationMoveBatchResults(Uri locationMoveBatchUri) | Retrieve results of a completed MoveLocationBatch operation. Returns null if the batch has not completed. |
| GetLocationScheduleForUser | LocationScheduleEntryDetails1[] GetLocationScheduleForUser(Uri userUri) | Get the location assignment schedule for the specified user |
| GetLocationsSystemSettings | LocationSystemSettingsDetails1 GetLocationsSystemSettings() | Gets all settings for the system-wide locations feature, including language settings for all supported languages. |
| GetLocationsSystemSettingsLanguageDetails | LocationSystemSettingsLanguageDetails1 GetLocationsSystemSettingsLanguageDetails() | Retrieves the language settings for the current user's language. |
| GetPageOfAvailableLocationsByTextSearch | LocationSearchResult1[] GetPageOfAvailableLocationsByTextSearch(Int32 page, Int32 pageSize, LocationTextSearchParameter1 textSearch) | Searches for locations matching a given text search parameter which users can be assigned to |
| GetPageOfLocationsInPolicyDataAccessScope | LocationSearchResult1[] GetPageOfLocationsInPolicyDataAccessScope(Int32 pageIndex, Int32 pageSize, Uri policyUri, LocationSearchParameter1 locationSearch) | Get a page of locations which are accessable for the given policy |
| MoveLocation | void MoveLocation(LocationTargetParameter2 location, LocationTargetParameter2 target) | Move Location group from its current location to the target location. |
| PublishDraft | LocationReference1 PublishDraft(Uri draftUri) | Publish the location draft into a persisted location. |
| PutJsonKeyValueForLocation | void PutJsonKeyValueForLocation(LocationTargetParameter1 location, JsonKeyValue1 jsonKeyValue) | Put location json key value |
| PutLocationScheduleForUser | void PutLocationScheduleForUser(Uri userUri, LocationScheduleEntryParameter1[] scheduleEntries) | Put the entire location assignment schedule for the specified user |
| PutLocationsSystemSettings | void PutLocationsSystemSettings(Boolean isEnabled, LocationSystemSettingsLanguageParameter1[] languageSettings) | Puts all settings for the system-wide locations feature, any supported languages not specified will be reverted to their default settings. |
| UpdateCode | void UpdateCode(Uri locationUri, String code) | Modify the code of a location. |
| UpdateDescription | void UpdateDescription(Uri locationUri, String description) | Modify the description of a location. |
| UpdateName | void UpdateName(Uri locationUri, String name) | Modify the name of a location. |