Retrieve Equipment Classes By Code
    • 25 Sep 2024
    • 3 Minutes to read
    • Dark
      Light

    Retrieve Equipment Classes By Code

    • Dark
      Light

    Article summary

    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.

    ParameterDescriptionSample
    eqpClassCodeEquipment Class Code1001

    Select by Date

    This is an optional finder for querying Equipment Classes by Audit Date.

    ParameterDescriptionSample
    AuditDatecreate or update date time filter2022-12-20

    By UUID

    This is an optional finder for querying a specific Equipment Class by row ID.

    ParameterDescriptionSample
    /VUUIDThe 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