Retrieve PRM Tasks By Code
    • 25 Sep 2024
    • 3 Minutes to read
    • Dark
      Light

    Retrieve PRM Tasks By Code

    • Dark
      Light

    Article summary

    Get
    /prm-rest-api/rest/1/prmtask

    Query Standards

    Finder

    Following row finders are available for data filtering and optimizing request performance.

    • Select By Date
    • By UUID

    Select By Date

    Recommended finder parameters. Refer to Query Parameters for example.

    ParameterDescriptionSample
    AuditDateCreate or Update Date Time Filter2015-01-01

    By UUID

    This is an optional finder for querying a specific PRM Task by row ID.

    ParameterDescriptionSample
    /VUUIDThe VUuid attribute is the Unique row ID/prm-rest-api/rest/1/prmtask/E7C9D2CBC8D12E6CE05316821FAC2D6C
    Security
    HTTP
    Type basic

    Basic authentication

    Query parameters
    finder
    string
    ExampleselectByDate; AuditDate=2015-01-01
    limit
    integer
    Example500
    offset
    integer
    Example0
    totalResults
    boolean
    Exampletrue
    orderBy
    string
    ExampleTaskVUuid:desc
    Responses
    200

    OK

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourcecollection+json
    {
      "items": [
        {
          "TaskCode": "01",
          "TaskPtgtType": "CL",
          "TaskTitle": "A 250 Hr Service",
          "TaskDescription": "CHG ENG OIL            GALS    15W40      BLUE       3.5 GAL\n           SAE 15W40             BLUE             3.5 GAL\n           INSPECT FOR LEAKS WHEN COMPLETED\n           REMOVE CRANKCASE VENT TUBE & CLEAN, REINSTALL\n\nCHG ENG OIL FILTER\n          J.D. RE504836 OR NAPA 7750S",
          "TaskMteamCode": "FIELD",
          "TaskVendorCode": null,
          "TaskEstimatedHours": 0,
          "TaskActiveFlag": "1",
          "TaskGroupTaskFlag": "0",
          "TaskCmpoComponentCode": null,
          "TaskWiccLabCompCode": null,
          "TaskWiccLabCode": null,
          "TaskWiccMatCompCode": null,
          "TaskWiccMatCode": null,
          "TaskWiccConCompCode": null,
          "TaskWiccConCode": null,
          "TaskWiccEqCompCode": null,
          "TaskWiccEqCode": null,
          "TaskWiccOthCompCode": null,
          "TaskWiccOthCode": null,
          "TaskDateCreated": "2015-05-27T03:08:54Z",
          "TaskCreatedBy": "UIG",
          "TaskDateModified": "2015-05-27T03:08:54Z",
          "TaskModifiedBy": "UIG",
          "TaskClass1": "PLANNED",
          "TaskClass2": null,
          "TaskClass3": null,
          "TaskClass4": null,
          "TaskSrcCompCode": null,
          "TaskJobCode": null,
          "TaskPhsCode": null,
          "TaskDeptCode": null,
          "TaskTypeCode": "CRM",
          "TaskBillingPricePerUnit": null,
          "TaskBillingPricePerUnitWm": null,
          "TaskRelationColumn": 1,
          "TaskEntry3Code": "MAINT",
          "TaskUpdateOnlyEqpFlag": "N",
          "DiscriminatorCode": null,
          "TaskTenantId": "VF389BTEQP11127",
          "TaskIuCreateDate": "2015-05-27T03:08:54Z",
          "TaskIuUpdateDate": null,
          "TaskVUuid": "E7C9D2CBC8D02E6CE05316821FAC2D6C",
          "links": [
            {
              "rel": "self",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/prm-rest-api/rest/1/prmtask/E7C9D2CBC8D02E6CE05316821FAC2D6C",
              "name": "prmtask",
              "kind": "item"
            },
            {
              "rel": "canonical",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/prm-rest-api/rest/1/prmtask/E7C9D2CBC8D02E6CE05316821FAC2D6C",
              "name": "prmtask",
              "kind": "item"
            }
          ]
        },
        {
          "TaskCode": "02",
          "TaskPtgtType": "CL",
          "TaskTitle": "B 500 Hr Service",
          "TaskDescription": "CHG. HYDRAULIC FILTER\n               SMCS Code: CT308274\n\nCOOLING SYSTEM FLUSH\n               SMCS Code: 1350-044",
          "TaskMteamCode": "FIELD",
          "TaskVendorCode": null,
          "TaskEstimatedHours": 0,
          "TaskActiveFlag": "1",
          "TaskGroupTaskFlag": "0",
          "TaskCmpoComponentCode": null,
          "TaskWiccLabCompCode": null,
          "TaskWiccLabCode": null,
          "TaskWiccMatCompCode": null,
          "TaskWiccMatCode": null,
          "TaskWiccConCompCode": null,
          "TaskWiccConCode": null,
          "TaskWiccEqCompCode": null,
          "TaskWiccEqCode": null,
          "TaskWiccOthCompCode": null,
          "TaskWiccOthCode": null,
          "TaskDateCreated": "2015-05-27T03:15:40Z",
          "TaskCreatedBy": "UIG",
          "TaskDateModified": "2015-05-27T03:36:55Z",
          "TaskModifiedBy": "UIG",
          "TaskClass1": "PLANNED",
          "TaskClass2": null,
          "TaskClass3": null,
          "TaskClass4": null,
          "TaskSrcCompCode": null,
          "TaskJobCode": null,
          "TaskPhsCode": null,
          "TaskDeptCode": null,
          "TaskTypeCode": "CRM",
          "TaskBillingPricePerUnit": null,
          "TaskBillingPricePerUnitWm": null,
          "TaskRelationColumn": 1,
          "TaskEntry3Code": "MAINT",
          "TaskUpdateOnlyEqpFlag": "N",
          "DiscriminatorCode": null,
          "TaskTenantId": "VF389BTEQP11127",
          "TaskIuCreateDate": "2015-05-27T03:15:40Z",
          "TaskIuUpdateDate": "2015-05-27T03:36:55Z",
          "TaskVUuid": "E7C9D2CBC8D12E6CE05316821FAC2D6C",
          "links": [
            {
              "rel": "self",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/prm-rest-api/rest/1/prmtask/E7C9D2CBC8D12E6CE05316821FAC2D6C",
              "name": "prmtask",
              "kind": "item"
            },
            {
              "rel": "canonical",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/prm-rest-api/rest/1/prmtask/E7C9D2CBC8D12E6CE05316821FAC2D6C",
              "name": "prmtask",
              "kind": "item"
            }
          ]
        },
        {
          "TaskCode": "03",
          "TaskPtgtType": "CL",
          "TaskTitle": "C 1000 Hr Service",
          "TaskDescription": "BELTS - Inspect / Adjust / Replace\n              SMCS Code: 1357-025\nHG ENG OIL            GALS    15W40      BLUE       3.5 GAL\n           SAE 15W40             BLUE             3.5 GAL\n           INSPECT FOR LEAKS WHEN COMPLETED",
          "TaskMteamCode": "FIELD",
          "TaskVendorCode": null,
          "TaskEstimatedHours": 0,
          "TaskActiveFlag": "1",
          "TaskGroupTaskFlag": "0",
          "TaskCmpoComponentCode": null,
          "TaskWiccLabCompCode": null,
          "TaskWiccLabCode": null,
          "TaskWiccMatCompCode": null,
          "TaskWiccMatCode": null,
          "TaskWiccConCompCode": null,
          "TaskWiccConCode": null,
          "TaskWiccEqCompCode": null,
          "TaskWiccEqCode": null,
          "TaskWiccOthCompCode": null,
          "TaskWiccOthCode": null,
          "TaskDateCreated": "2015-05-27T03:20:09Z",
          "TaskCreatedBy": "UIG",
          "TaskDateModified": "2015-05-27T03:38:21Z",
          "TaskModifiedBy": "UIG",
          "TaskClass1": "PLANNED",
          "TaskClass2": null,
          "TaskClass3": null,
          "TaskClass4": null,
          "TaskSrcCompCode": null,
          "TaskJobCode": null,
          "TaskPhsCode": null,
          "TaskDeptCode": null,
          "TaskTypeCode": "CRM",
          "TaskBillingPricePerUnit": null,
          "TaskBillingPricePerUnitWm": null,
          "TaskRelationColumn": 1,
          "TaskEntry3Code": "MAINT",
          "TaskUpdateOnlyEqpFlag": "N",
          "DiscriminatorCode": null,
          "TaskTenantId": "VF389BTEQP11127",
          "TaskIuCreateDate": "2015-05-27T03:20:09Z",
          "TaskIuUpdateDate": "2015-05-27T03:38:21Z",
          "TaskVUuid": "E7C9D2CBC8D22E6CE05316821FAC2D6C",
          "links": [
            {
              "rel": "self",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/prm-rest-api/rest/1/prmtask/E7C9D2CBC8D22E6CE05316821FAC2D6C",
              "name": "prmtask",
              "kind": "item"
            },
            {
              "rel": "canonical",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/prm-rest-api/rest/1/prmtask/E7C9D2CBC8D22E6CE05316821FAC2D6C",
              "name": "prmtask",
              "kind": "item"
            }
          ]
        },
        {
          "TaskCode": "04",
          "TaskPtgtType": "CL",
          "TaskTitle": "D 2000 Hr Service",
          "TaskDescription": "CRANKSHAFT CALIBRATION\n\nENGINE MOUNTS - Check\n\nENGINE VALVE LASH - Inspect / Adjust\n\nGENERATOR SET VIBRATION - Test/Record",
          "TaskMteamCode": "FIELD",
          "TaskVendorCode": null,
          "TaskEstimatedHours": 0,
          "TaskActiveFlag": "1",
          "TaskGroupTaskFlag": "0",
          "TaskCmpoComponentCode": null,
          "TaskWiccLabCompCode": null,
          "TaskWiccLabCode": null,
          "TaskWiccMatCompCode": null,
          "TaskWiccMatCode": null,
          "TaskWiccConCompCode": null,
          "TaskWiccConCode": null,
          "TaskWiccEqCompCode": null,
          "TaskWiccEqCode": null,
          "TaskWiccOthCompCode": null,
          "TaskWiccOthCode": null,
          "TaskDateCreated": "2015-05-27T03:47:18Z",
          "TaskCreatedBy": "UIG",
          "TaskDateModified": "2015-05-27T04:28:14Z",
          "TaskModifiedBy": "UIG",
          "TaskClass1": "PLANNED",
          "TaskClass2": null,
          "TaskClass3": null,
          "TaskClass4": null,
          "TaskSrcCompCode": null,
          "TaskJobCode": null,
          "TaskPhsCode": null,
          "TaskDeptCode": null,
          "TaskTypeCode": "CRM",
          "TaskBillingPricePerUnit": null,
          "TaskBillingPricePerUnitWm": null,
          "TaskRelationColumn": 1,
          "TaskEntry3Code": "MAINT",
          "TaskUpdateOnlyEqpFlag": "N",
          "DiscriminatorCode": null,
          "TaskTenantId": "VF389BTEQP11127",
          "TaskIuCreateDate": "2015-05-27T03:47:18Z",
          "TaskIuUpdateDate": "2015-05-27T04:28:14Z",
          "TaskVUuid": "E7C9D2CBC8D32E6CE05316821FAC2D6C",
          "links": [
            {
              "rel": "self",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/prm-rest-api/rest/1/prmtask/E7C9D2CBC8D32E6CE05316821FAC2D6C",
              "name": "prmtask",
              "kind": "item"
            },
            {
              "rel": "canonical",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/prm-rest-api/rest/1/prmtask/E7C9D2CBC8D32E6CE05316821FAC2D6C",
              "name": "prmtask",
              "kind": "item"
            }
          ]
        },
        {
          "TaskCode": "01",
          "TaskPtgtType": "CL",
          "TaskTitle": "A 250 Hr Service",
          "TaskDescription": "CHG ENG OIL            GALS    15W40      BLUE       3.5 GAL\n           SAE 15W40             BLUE             3.5 GAL\n           INSPECT FOR LEAKS WHEN COMPLETED",
          "TaskMteamCode": "FIELD",
          "TaskVendorCode": null,
          "TaskEstimatedHours": 0,
          "TaskActiveFlag": "1",
          "TaskGroupTaskFlag": "0",
          "TaskCmpoComponentCode": null,
          "TaskWiccLabCompCode": null,
          "TaskWiccLabCode": null,
          "TaskWiccMatCompCode": null,
          "TaskWiccMatCode": null,
          "TaskWiccConCompCode": null,
          "TaskWiccConCode": null,
          "TaskWiccEqCompCode": null,
          "TaskWiccEqCode": null,
          "TaskWiccOthCompCode": null,
          "TaskWiccOthCode": null,
          "TaskDateCreated": "2015-05-27T04:07:48Z",
          "TaskCreatedBy": "UIG",
          "TaskDateModified": "2015-05-27T04:09:04Z",
          "TaskModifiedBy": "UIG",
          "TaskClass1": "PLANNED",
          "TaskClass2": null,
          "TaskClass3": null,
          "TaskClass4": null,
          "TaskSrcCompCode": null,
          "TaskJobCode": null,
          "TaskPhsCode": null,
          "TaskDeptCode": null,
          "TaskTypeCode": "CRM",
          "TaskBillingPricePerUnit": null,
          "TaskBillingPricePerUnitWm": null,
          "TaskRelationColumn": 1,
          "TaskEntry3Code": "MAINT",
          "TaskUpdateOnlyEqpFlag": "N",
          "DiscriminatorCode": null,
          "TaskTenantId": "VF389BTEQP11127",
          "TaskIuCreateDate": "2015-05-27T04:07:48Z",
          "TaskIuUpdateDate": "2015-05-27T04:09:04Z",
          "TaskVUuid": "E7C9D2CBC8D42E6CE05316821FAC2D6C",
          "links": [
            {
              "rel": "self",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/prm-rest-api/rest/1/prmtask/E7C9D2CBC8D42E6CE05316821FAC2D6C",
              "name": "prmtask",
              "kind": "item"
            },
            {
              "rel": "canonical",
              "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/prm-rest-api/rest/1/prmtask/E7C9D2CBC8D42E6CE05316821FAC2D6C",
              "name": "prmtask",
              "kind": "item"
            }
          ]
        }
      ],
      "count": 5,
      "hasMore": true,
      "limit": 5,
      "offset": 0,
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/prm-rest-api/rest/1/prmtask",
          "name": "prmtask",
          "kind": "collection"
        }
      ]
    }
    object