GET api/Administration/UserOrganizationLocations/GetByOrganizationID/{id} Administration All Services
Get All UserOrganizationLocations for the provided OrganizationID
Request Information
Headers
Fields | Type | M/O/C | Definition |
AccountLoginName | String(50) | Mandatory | Login name of an account used for logging into Galaxy application to perform the service call |
AccountPassword | String(50) | Mandatory | Password of an account used for logging into Galaxy application to perform the service call |
SourceSystemID | String(50) | Mandatory | Name or ID of application or system that initiated the call. |
DomainID | String(50) | Mandatory | Name or ID of the domain that the call is being made to. (Value will be 1, if the site only has one domain) |
Accept | String | Optional | Format in which client expects the response: [application/json] (default), [application/xml] |
ContentType | String | Optional | Format in which client is sending the request: [application/json] (default), [application/xml] |
Parameters
Name | Description | Additional information | Type |
---|---|---|---|
id | OrganizationID |
Define this parameter in the request URI. |
Int32 |
Return Type
Return type | UserOrganizationLocationsDTO[] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Response Information
Response body formats
application/json, text/json
Sample:
[ { "UserOrganizationLocationID": 1, "OrganizationID": 2, "OrganizationName": "sample string 3", "LocationID": 4, "LocationName": "sample string 5", "UserID": 6, "UserName": "sample string 7", "CreatedBy": 8, "CreatedDate": "2025-07-01T14:43:42.4719848+00:00", "UpdatedBy": 10, "UpdatedDate": "2025-07-01T14:43:42.4719848+00:00" }, { "UserOrganizationLocationID": 1, "OrganizationID": 2, "OrganizationName": "sample string 3", "LocationID": 4, "LocationName": "sample string 5", "UserID": 6, "UserName": "sample string 7", "CreatedBy": 8, "CreatedDate": "2025-07-01T14:43:42.4719848+00:00", "UpdatedBy": 10, "UpdatedDate": "2025-07-01T14:43:42.4719848+00:00" }, { "UserOrganizationLocationID": 1, "OrganizationID": 2, "OrganizationName": "sample string 3", "LocationID": 4, "LocationName": "sample string 5", "UserID": 6, "UserName": "sample string 7", "CreatedBy": 8, "CreatedDate": "2025-07-01T14:43:42.4719848+00:00", "UpdatedBy": 10, "UpdatedDate": "2025-07-01T14:43:42.4719848+00:00" } ]
application/xml, text/xml
Sample:
<ArrayOfUserOrganizationLocationsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LMS.API.Service.Models.Administration"> <UserOrganizationLocationsDTO> <LocationID>4</LocationID> <LocationName>sample string 5</LocationName> <OrganizationID>2</OrganizationID> <OrganizationName>sample string 3</OrganizationName> <UserID>6</UserID> <UserName>sample string 7</UserName> <UserOrganizationLocationID>1</UserOrganizationLocationID> </UserOrganizationLocationsDTO> <UserOrganizationLocationsDTO> <LocationID>4</LocationID> <LocationName>sample string 5</LocationName> <OrganizationID>2</OrganizationID> <OrganizationName>sample string 3</OrganizationName> <UserID>6</UserID> <UserName>sample string 7</UserName> <UserOrganizationLocationID>1</UserOrganizationLocationID> </UserOrganizationLocationsDTO> <UserOrganizationLocationsDTO> <LocationID>4</LocationID> <LocationName>sample string 5</LocationName> <OrganizationID>2</OrganizationID> <OrganizationName>sample string 3</OrganizationName> <UserID>6</UserID> <UserName>sample string 7</UserName> <UserOrganizationLocationID>1</UserOrganizationLocationID> </UserOrganizationLocationsDTO> </ArrayOfUserOrganizationLocationsDTO>