Location

Location

Retrieve and manage location asset records.

FieldData Type
LocationIDString
DescriptionString
TypeString
PriorityInt32
StatusString
InServiceBoolean
DepartmentIDString
CostCenterIDString
LatitudeString
LongitudeString
AvailabilityString
NotesString
AssetNoString
OwnerIDString
OwnerFullNameString
Address1String
Address2String
CityString
StateString
CountryString
ZipCodeString
AreaDecimal
AreaUnitString
WorkOrderNotesString
PurchaseDateDateTime
StartupDateDateTime
PurchasePriceDecimal
POIDString
ServiceContractIDString
LifeDecimal
ReplacementCostDecimal
SalvageValueDecimal
RentalIDString
RentalEndDateDateTime
RentalPOIDString
WarrantyIDString
WarrantyPOIDString
WarrantyEndDateDateTime
ParentIDString
ParentClassString
IsActiveBoolean
DateCreatedDateTime
DateEditedDateTime
CreatedByString
EditedByString

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, and EditedBy are system-generated fields.
  • Include only the fields you want to send in the request body.
  • Use LocationID as the key field for location records.