Retrieve Equipment Classes By Code
- 26 Sep 2024
- 3 Minutes to read
- Print
- DarkLight
Retrieve Equipment Classes By Code
- Updated on 26 Sep 2024
- 3 Minutes to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Get
/em-rest-api/rest/1/emeqpclass
Query Standards
Finder
Following row finders are available for data filtering and optimizing request performance.
- Find by Code
- Find by Date
- By UUID
Select by Code
Recommended finder parameters. Refer to Query Parameters for example.
Parameter | Description | Sample |
---|---|---|
eqpClassCode | Equipment Class Code | 1001 |
Select by Date
This is an optional finder for querying Equipment Classes by Audit Date.
Parameter | Description | Sample |
---|---|---|
AuditDate | create or update date time filter | 2022-12-20 |
By UUID
This is an optional finder for querying a specific Equipment Class by row ID.
Parameter | Description | Sample |
---|---|---|
/VUUID | The VUuid attribute is the Unique row ID | /em-rest-api/rest/1/emeqpclass/1001 |
Security
HTTP
Type basic
Basic authentication
Query parameters
finder
string
ExamplefindByCode;eqpClassCode=1001
limit
integer
Example500
offset
integer
Example0
totalResults
boolean
Exampletrue
orderBy
string
ExampleEmecEqpclassCode:desc
Responses
200
OK
Headers
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourcecollection+json
example-0
Successful Response - Finder - findByDate
{
"items": [
{
"EmecEqpclassCode": "1000",
"EmecName": "Excavators",
"EmecCtrlEqpclassCode": null,
"EmecCtrlEqpclassName": null,
"EmecInhTaskAccFlag": "N",
"EmecPhsCode": null,
"EmecPhsName": " ",
"EmecTradeCode": null,
"EmecTradeName": null,
"EmecPyNhRateCode": null,
"EmecPyOtRateCode": null,
"EmecPyDotRateCode": null,
"EmecPyOthRateCode": null,
"EmecTruckerClass": null,
"EmecMobRate": null,
"EmecEqpclassHier": "1000 ",
"EmecRpAvailblFlag": "N",
"EmecExclDiscountsFlag": null,
"EmecExclReplValueFlag": null,
"EmecInclInValueCapFlag": null,
"EmecIuCreateDate": "2015-05-11T02:33:13Z",
"EmecIuUpdateDate": "2015-05-27T02:56:01Z",
"links": [
{
"rel": "self",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/em-rest-api/rest/1/emeqpclass/1000",
"name": "emeqpclass",
"kind": "item"
},
{
"rel": "canonical",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/em-rest-api/rest/1/emeqpclass/1000",
"name": "emeqpclass",
"kind": "item"
}
]
},
{
"EmecEqpclassCode": "COMPUTERS",
"EmecName": "Computer Hardware",
"EmecCtrlEqpclassCode": null,
"EmecCtrlEqpclassName": null,
"EmecInhTaskAccFlag": "N",
"EmecPhsCode": null,
"EmecPhsName": " ",
"EmecTradeCode": null,
"EmecTradeName": null,
"EmecPyNhRateCode": null,
"EmecPyOtRateCode": null,
"EmecPyDotRateCode": null,
"EmecPyOthRateCode": null,
"EmecTruckerClass": null,
"EmecMobRate": null,
"EmecEqpclassHier": "COMPUTERS ",
"EmecRpAvailblFlag": "N",
"EmecExclDiscountsFlag": null,
"EmecExclReplValueFlag": null,
"EmecInclInValueCapFlag": null,
"EmecIuCreateDate": "2015-05-11T02:33:13Z",
"EmecIuUpdateDate": null,
"links": [
{
"rel": "self",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/em-rest-api/rest/1/emeqpclass/COMPUTERS",
"name": "emeqpclass",
"kind": "item"
},
{
"rel": "canonical",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/em-rest-api/rest/1/emeqpclass/COMPUTERS",
"name": "emeqpclass",
"kind": "item"
}
]
},
{
"EmecEqpclassCode": "CONCRETE",
"EmecName": "Concrete Equipment",
"EmecCtrlEqpclassCode": null,
"EmecCtrlEqpclassName": null,
"EmecInhTaskAccFlag": "N",
"EmecPhsCode": null,
"EmecPhsName": " ",
"EmecTradeCode": null,
"EmecTradeName": null,
"EmecPyNhRateCode": null,
"EmecPyOtRateCode": null,
"EmecPyDotRateCode": null,
"EmecPyOthRateCode": null,
"EmecTruckerClass": null,
"EmecMobRate": null,
"EmecEqpclassHier": "CONCRETE ",
"EmecRpAvailblFlag": "N",
"EmecExclDiscountsFlag": null,
"EmecExclReplValueFlag": null,
"EmecInclInValueCapFlag": null,
"EmecIuCreateDate": "2015-05-11T02:33:13Z",
"EmecIuUpdateDate": null,
"links": [
{
"rel": "self",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/em-rest-api/rest/1/emeqpclass/CONCRETE",
"name": "emeqpclass",
"kind": "item"
},
{
"rel": "canonical",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/em-rest-api/rest/1/emeqpclass/CONCRETE",
"name": "emeqpclass",
"kind": "item"
}
]
},
{
"EmecEqpclassCode": "COOK",
"EmecName": "Cooking and Holding",
"EmecCtrlEqpclassCode": null,
"EmecCtrlEqpclassName": null,
"EmecInhTaskAccFlag": "N",
"EmecPhsCode": null,
"EmecPhsName": " ",
"EmecTradeCode": null,
"EmecTradeName": null,
"EmecPyNhRateCode": null,
"EmecPyOtRateCode": null,
"EmecPyDotRateCode": null,
"EmecPyOthRateCode": null,
"EmecTruckerClass": null,
"EmecMobRate": null,
"EmecEqpclassHier": "COOK ",
"EmecRpAvailblFlag": "N",
"EmecExclDiscountsFlag": null,
"EmecExclReplValueFlag": null,
"EmecInclInValueCapFlag": null,
"EmecIuCreateDate": "2015-05-11T02:33:13Z",
"EmecIuUpdateDate": null,
"links": [
{
"rel": "self",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/em-rest-api/rest/1/emeqpclass/COOK",
"name": "emeqpclass",
"kind": "item"
},
{
"rel": "canonical",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/em-rest-api/rest/1/emeqpclass/COOK",
"name": "emeqpclass",
"kind": "item"
}
]
},
{
"EmecEqpclassCode": "CRANES",
"EmecName": "Cranes",
"EmecCtrlEqpclassCode": null,
"EmecCtrlEqpclassName": null,
"EmecInhTaskAccFlag": "N",
"EmecPhsCode": null,
"EmecPhsName": " ",
"EmecTradeCode": null,
"EmecTradeName": null,
"EmecPyNhRateCode": null,
"EmecPyOtRateCode": null,
"EmecPyDotRateCode": null,
"EmecPyOthRateCode": null,
"EmecTruckerClass": null,
"EmecMobRate": null,
"EmecEqpclassHier": "CRANES ",
"EmecRpAvailblFlag": "N",
"EmecExclDiscountsFlag": null,
"EmecExclReplValueFlag": null,
"EmecInclInValueCapFlag": null,
"EmecIuCreateDate": "2015-05-11T02:33:13Z",
"EmecIuUpdateDate": null,
"links": [
{
"rel": "self",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/em-rest-api/rest/1/emeqpclass/CRANES",
"name": "emeqpclass",
"kind": "item"
},
{
"rel": "canonical",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/em-rest-api/rest/1/emeqpclass/CRANES",
"name": "emeqpclass",
"kind": "item"
}
]
}
],
"count": 5,
"hasMore": true,
"limit": 5,
"offset": 0,
"links": [
{
"rel": "self",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/em-rest-api/rest/1/emeqpclass",
"name": "emeqpclass",
"kind": "collection"
}
]
}
example-1
Successful Response - Finder - findByCode
{
"items": [
{
"EmecEqpclassCode": "1001",
"EmecName": "Excavators - CAT",
"EmecCtrlEqpclassCode": "1000",
"EmecCtrlEqpclassName": "Excavators",
"EmecInhTaskAccFlag": "Y",
"EmecPhsCode": null,
"EmecPhsName": " ",
"EmecTradeCode": null,
"EmecTradeName": null,
"EmecPyNhRateCode": null,
"EmecPyOtRateCode": null,
"EmecPyDotRateCode": null,
"EmecPyOthRateCode": null,
"EmecTruckerClass": null,
"EmecMobRate": null,
"EmecEqpclassHier": "1001 ",
"EmecRpAvailblFlag": "N",
"EmecExclDiscountsFlag": null,
"EmecExclReplValueFlag": null,
"EmecInclInValueCapFlag": null,
"EmecIuCreateDate": "2015-05-11T02:33:13Z",
"EmecIuUpdateDate": "2015-05-11T02:35:49Z",
"links": [
{
"rel": "self",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/em-rest-api/rest/1/emeqpclass/1001",
"name": "emeqpclass",
"kind": "item"
},
{
"rel": "canonical",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/em-rest-api/rest/1/emeqpclass/1001",
"name": "emeqpclass",
"kind": "item"
}
]
}
],
"count": 1,
"hasMore": false,
"limit": 5,
"offset": 0,
"links": [
{
"rel": "self",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/em-rest-api/rest/1/emeqpclass",
"name": "emeqpclass",
"kind": "collection"
}
]
}
object