Location
Retrieve and manage location asset records.
| Field | Data Type |
|---|---|
| LocationID | String |
| Description | String |
| Type | String |
| Priority | Int32 |
| Status | String |
| InService | Boolean |
| DepartmentID | String |
| CostCenterID | String |
| Latitude | String |
| Longitude | String |
| Availability | String |
| Notes | String |
| AssetNo | String |
| OwnerID | String |
| OwnerFullName | String |
| Address1 | String |
| Address2 | String |
| City | String |
| State | String |
| Country | String |
| ZipCode | String |
| Area | Decimal |
| AreaUnit | String |
| WorkOrderNotes | String |
| PurchaseDate | DateTime |
| StartupDate | DateTime |
| PurchasePrice | Decimal |
| POID | String |
| ServiceContractID | String |
| Life | Decimal |
| ReplacementCost | Decimal |
| SalvageValue | Decimal |
| RentalID | String |
| RentalEndDate | DateTime |
| RentalPOID | String |
| WarrantyID | String |
| WarrantyPOID | String |
| WarrantyEndDate | DateTime |
| ParentID | String |
| ParentClass | String |
| IsActive | Boolean |
| DateCreated | DateTime |
| DateEdited | DateTime |
| CreatedBy | String |
| EditedBy | String |
Key: LocationID
Required property: LocationID
Endpoints
GET
URL: https://{site}.mvpplant.com/ODataApi/v1/Location
Description: Retrieve location asset records.
OData Query Examples
-
Select specific fields:
https://{site}.mvpplant.com/ODataApi/v1/Location?$select=LocationID,Description,Status -
Filter active locations:
https://{site}.mvpplant.com/ODataApi/v1/Location?$filter=IsActive eq true -
Sort by location ID:
https://{site}.mvpplant.com/ODataApi/v1/Location?$orderby=LocationID -
Return the first 10 records:
https://{site}.mvpplant.com/ODataApi/v1/Location?$top=10
Notes
DateCreated,DateEdited,CreatedBy, andEditedByare system-generated fields.- Include only the fields you want to send in the request body.
- Use
LocationIDas the key field for location records.
