POST api/Strata/Asset/GetSteamTrapsBySpec

Get Steam traps by spec, SteamTrapSpec Parameter is optional if not passed it will default to last 7 days

Request Information

URI Parameters

None.

Body Parameters

SteamTrapSpec
NameDescriptionTypeAdditional information
SearchReportingCurrencyID

integer

None.

GetReadings

boolean

None.

SearchUtilityID

integer

None.

SearchSystemID

integer

None.

SearchAssetTypeID

Collection of integer

None.

SearchAssetTemplateID

integer

None.

SearchAssetID

integer

None.

SearchAssetStatusID

Collection of integer

None.

SearchManufacturerID

Collection of integer

None.

SearchDataTypeID

integer

None.

SearchOrderBy

integer

None.

SearchOnlyWithGPSCoordinates

boolean

None.

SearchDateStart

date

None.

SearchDateEnd

date

None.

SearchTimeFrame

integer

None.

EndDateOffSetHours

integer

None.

SnapToNearestHour

boolean

None.

_firstLoad

boolean

None.

SearchString

string

None.

SearchRegionID

integer

None.

SearchCompanyID

integer

None.

SearchSiteID

integer

None.

SearchDeptID

Collection of integer

None.

SearchSiteFinancialMonth

integer

None.

SearchSiteStartDayOfWeek

integer

None.

SearchSiteShiftStart

integer

None.

SearchSiteTimezone

string

None.

SearchSiteTimezoneToday

string

None.

Layout

integer

None.

Override

boolean

None.

GetData

boolean

None.

ixPage

integer

None.

ixPageSize

integer

None.

_isAlreadyPaged

boolean

None.

_totalCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SearchReportingCurrencyID": 1,
  "GetReadings": true,
  "SearchUtilityID": 3,
  "SearchSystemID": 4,
  "SearchAssetTypeID": [
    1,
    2
  ],
  "SearchAssetTemplateID": 5,
  "SearchAssetID": 6,
  "SearchAssetStatusID": [
    1,
    2
  ],
  "SearchManufacturerID": [
    1,
    2
  ],
  "SearchDataTypeID": 7,
  "SearchOrderBy": 8,
  "SearchOnlyWithGPSCoordinates": true,
  "SearchDateStart": "2026-01-10T21:07:34.315575+00:00",
  "SearchDateEnd": "2026-01-10T21:07:34.315575+00:00",
  "SearchTimeFrame": 12,
  "EndDateOffSetHours": 13,
  "SnapToNearestHour": true,
  "_firstLoad": true,
  "SearchString": "sample string 16",
  "SearchRegionID": 17,
  "SearchCompanyID": 18,
  "SearchSiteID": 19,
  "SearchDeptID": [
    1,
    2
  ],
  "SearchSiteFinancialMonth": 20,
  "SearchSiteStartDayOfWeek": 21,
  "SearchSiteShiftStart": 22,
  "SearchSiteTimezone": "sample string 23",
  "SearchSiteTimezoneToday": "sample string 24",
  "Layout": 25,
  "Override": true,
  "GetData": true,
  "ixPage": 28,
  "ixPageSize": 29,
  "_isAlreadyPaged": true,
  "_totalCount": 31
}

application/xml, text/xml

Sample:
<SteamTrapSpec xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Strata.Data">
  <_isAlreadyPaged>true</_isAlreadyPaged>
  <_totalCount>31</_totalCount>
  <ixPage>28</ixPage>
  <ixPageSize>29</ixPageSize>
  <GetData>true</GetData>
  <Layout>25</Layout>
  <Override>true</Override>
  <SearchCompanyID>18</SearchCompanyID>
  <SearchDeptID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SearchDeptID>
  <SearchRegionID>17</SearchRegionID>
  <SearchSiteFinancialMonth>20</SearchSiteFinancialMonth>
  <SearchSiteID>19</SearchSiteID>
  <SearchSiteShiftStart>22</SearchSiteShiftStart>
  <SearchSiteStartDayOfWeek>21</SearchSiteStartDayOfWeek>
  <SearchSiteTimezone>sample string 23</SearchSiteTimezone>
  <SearchSiteTimezoneToday>sample string 24</SearchSiteTimezoneToday>
  <SearchString>sample string 16</SearchString>
  <_firstLoad>true</_firstLoad>
  <EndDateOffSetHours>13</EndDateOffSetHours>
  <SearchDateEnd>2026-01-10T21:07:34.315575+00:00</SearchDateEnd>
  <SearchDateStart>2026-01-10T21:07:34.315575+00:00</SearchDateStart>
  <SearchTimeFrame>12</SearchTimeFrame>
  <SnapToNearestHour>true</SnapToNearestHour>
  <SearchAssetID>6</SearchAssetID>
  <SearchAssetStatusID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SearchAssetStatusID>
  <SearchAssetTemplateID>5</SearchAssetTemplateID>
  <SearchAssetTypeID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SearchAssetTypeID>
  <SearchDataTypeID>7</SearchDataTypeID>
  <SearchManufacturerID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SearchManufacturerID>
  <SearchOnlyWithGPSCoordinates>true</SearchOnlyWithGPSCoordinates>
  <SearchOrderBy>8</SearchOrderBy>
  <SearchSystemID>4</SearchSystemID>
  <SearchUtilityID>3</SearchUtilityID>
  <GetReadings>true</GetReadings>
  <SearchReportingCurrencyID>1</SearchReportingCurrencyID>
</SteamTrapSpec>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Json Data

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.