Create a Equipment Timesheet
    • 25 Sep 2024
    • 3 Minutes to read
    • Dark
      Light

    Create a Equipment Timesheet

    • Dark
      Light

    Article summary

    Post
    /em-rest-api/rest/1/emtrantiment

    Create Equipment Timesheets

    UI Location: ASSET MANAGEMENT - Equipment Costing - Transactions - Time Entry

    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    Body parameters
    object
    Example{ "EmtrDistTypeCode": "J", "EmtrAmt": 20, "EmtrBillAmt": 0, "EmtrCalledFromAppCode": "EM", "EmtrCompCode": "001", "EmtrDsrcCompCode": "001", "EmtrEqpCode": "100024", "EmtrEqpQty": 1, "EmtrPostFlag": "Y", "EmtrQty": 1, "EmtrRate": 10, "EmtrRefDate": "2023-06-08", "EmtrTrancodeCode": "WORK", "EmtrJobCode": "0345", "EmtrCatCode": "BD", "EmtrPhsCode": "00", "EmtrUserField1": "001", "EmtrUserField2": "0345", "EmtrUserField3": "00010", "EmtrUserField4": "BD", "EmtrUmCode": "HR", "EmtrVUuid": "" }
    EmtrUmCode
    string Required

    Unit Code

    EmtrUserField4
    string Required

    User Field 4

    EmtrTrancodeCode
    string Required

    Trancode Code

    EmtrUserField3
    string Required

    User Field 3

    EmtrDistTypeCode
    string Required

    Dist Type Code

    EmtrBillAmt
    integer Required

    Bill Amount

    EmtrCalledFromAppCode
    string Required

    Called From App Code

    EmtrCatCode
    string Required

    Category Code

    EmtrUserField2
    string Required

    User Field 2

    EmtrAmt
    integer Required

    Amount

    EmtrPostFlag
    string Required

    Post Flag

    EmtrUserField1
    string Required

    User Field 1

    EmtrJobCode
    string Required

    Job Code

    EmtrCompCode
    string Required

    Company Code

    EmtrEqpQty
    integer Required

    Equipment Quantity

    EmtrRate
    integer Required

    Rate

    EmtrPhsCode
    string Required

    Phase Code

    EmtrQty
    integer Required

    Qantity

    EmtrEqpCode
    string Required

    Equipment Code

    EmtrVUuid
    string Required

    Row ID. Leave Empty

    EmtrDsrcCompCode
    string Required

    Destination Company Code

    EmtrRefDate
    string Required

    Reference Date

    Responses
    201

    Created

    Headers
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceitem+json
    example-0

    Create

    {
      "EmtrAmt": 20,
      "EmtrBchNum": 4461946,
      "EmtrBillAmt": 0,
      "EmtrBillRate": null,
      "EmtrBulkEqpFlag": null,
      "EmtrCalledFromAppCode": "EM",
      "EmtrCatCode": "A",
      "EmtrCatName": null,
      "EmtrCompCode": "001",
      "EmtrCompName": null,
      "EmtrComponCode": null,
      "EmtrComponName": null,
      "EmtrCurrActuallocCode": null,
      "EmtrDesc": null,
      "EmtrDistAccCode": null,
      "EmtrDistDeptCode": null,
      "EmtrDistExpCode": null,
      "EmtrDistTypeCode": "J",
      "EmtrDistWitmLineNumber": null,
      "EmtrDistWorkorder": null,
      "EmtrDsrcCode": null,
      "EmtrDsrcCompCode": "001",
      "EmtrEqpCode": "013065",
      "EmtrEqpName": null,
      "EmtrEqpQty": 1,
      "EmtrIuCreateDate": null,
      "EmtrIuUpdateDate": null,
      "EmtrJobCode": "00-0001",
      "EmtrJobName": null,
      "EmtrNum": null,
      "EmtrPhsCode": "00",
      "EmtrPhsName": null,
      "EmtrPmCode": null,
      "EmtrPostDate": null,
      "EmtrPostFlag": "Y",
      "EmtrPyCrewCode": null,
      "EmtrQty": 1,
      "EmtrRate": 10,
      "EmtrRateExistsFlag": null,
      "EmtrRefCode": null,
      "EmtrRefDate": "2023-06-08",
      "EmtrRefDesc": null,
      "EmtrSrcCode": null,
      "EmtrSrcCompCode": null,
      "EmtrSrcDesc": null,
      "EmtrTacSetupFlag": null,
      "EmtrTrancodeCode": "WORK",
      "EmtrTrancodeName": null,
      "EmtrUmCode": "HR",
      "EmtrUserField1": "001",
      "EmtrUserField1Name": null,
      "EmtrUserField2": "00-0001",
      "EmtrUserField2Name": null,
      "EmtrUserField3": "0102-01-02T12:00:00Z",
      "EmtrUserField3Name": null,
      "EmtrUserField4": "A",
      "EmtrUserField4Name": null,
      "EmtrUserField5": null,
      "EmtrUserField5Name": null,
      "EmtrUserField6": null,
      "EmtrUserField6Name": null,
      "EmtrUserField7": null,
      "EmtrUserField7Name": null,
      "EmtrUserField8": null,
      "EmtrUserField8Name": null,
      "EmtrUserFieldEdtFlag5": null,
      "EmtrUserFieldEdtFlag6": null,
      "EmtrUserFieldEdtFlag7": null,
      "EmtrUserFieldEdtFlag8": null,
      "EmtrVUuid": "0297195C8E175965E06316821FACABFF",
      "EmtrWbsSetupFlag": null,
      "EmtrWbsvCode1": null,
      "EmtrWbsvCode10": null,
      "EmtrWbsvCode11": null,
      "EmtrWbsvCode12": null,
      "EmtrWbsvCode2": null,
      "EmtrWbsvCode3": null,
      "EmtrWbsvCode4": null,
      "EmtrWbsvCode5": null,
      "EmtrWbsvCode6": null,
      "EmtrWbsvCode7": null,
      "EmtrWbsvCode8": null,
      "EmtrWbsvCode9": null,
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/em-rest-api/rest/1/emtrantiment/0297195C8E175965E06316821FACABFF",
          "name": "emtrantiment",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/em-rest-api/rest/1/emtrantiment/0297195C8E175965E06316821FACABFF",
          "name": "emtrantiment",
          "kind": "item"
        }
      ]
    }
    example-1

    Create

    {
      "EmtrAmt": 20,
      "EmtrBchNum": 8487019,
      "EmtrBillAmt": 0,
      "EmtrBillRate": null,
      "EmtrBulkEqpFlag": null,
      "EmtrCalledFromAppCode": "EM",
      "EmtrCatCode": "BD",
      "EmtrCatName": null,
      "EmtrCompCode": "001",
      "EmtrCompName": null,
      "EmtrComponCode": null,
      "EmtrComponName": null,
      "EmtrCurrActuallocCode": null,
      "EmtrDesc": null,
      "EmtrDistAccCode": null,
      "EmtrDistDeptCode": null,
      "EmtrDistExpCode": null,
      "EmtrDistTypeCode": "J",
      "EmtrDistWitmLineNumber": null,
      "EmtrDistWorkorder": null,
      "EmtrDsrcCode": null,
      "EmtrDsrcCompCode": "001",
      "EmtrEqpCode": "013065",
      "EmtrEqpName": null,
      "EmtrEqpQty": 1,
      "EmtrIuCreateDate": null,
      "EmtrIuUpdateDate": null,
      "EmtrJobCode": "0345",
      "EmtrJobName": null,
      "EmtrNum": null,
      "EmtrPhsCode": "00",
      "EmtrPhsName": null,
      "EmtrPmCode": null,
      "EmtrPostDate": null,
      "EmtrPostFlag": "Y",
      "EmtrPyCrewCode": null,
      "EmtrQty": 1,
      "EmtrRate": 10,
      "EmtrRateExistsFlag": null,
      "EmtrRefCode": null,
      "EmtrRefDate": "2023-06-08",
      "EmtrRefDesc": null,
      "EmtrSrcCode": null,
      "EmtrSrcCompCode": null,
      "EmtrSrcDesc": null,
      "EmtrTacSetupFlag": null,
      "EmtrTrancodeCode": "WORK",
      "EmtrTrancodeName": null,
      "EmtrUmCode": "HR",
      "EmtrUserField1": "001",
      "EmtrUserField1Name": null,
      "EmtrUserField2": "0345",
      "EmtrUserField2Name": null,
      "EmtrUserField3": "00010",
      "EmtrUserField3Name": null,
      "EmtrUserField4": "BD",
      "EmtrUserField4Name": null,
      "EmtrUserField5": null,
      "EmtrUserField5Name": null,
      "EmtrUserField6": null,
      "EmtrUserField6Name": null,
      "EmtrUserField7": null,
      "EmtrUserField7Name": null,
      "EmtrUserField8": null,
      "EmtrUserField8Name": null,
      "EmtrUserFieldEdtFlag5": null,
      "EmtrUserFieldEdtFlag6": null,
      "EmtrUserFieldEdtFlag7": null,
      "EmtrUserFieldEdtFlag8": null,
      "EmtrVUuid": "0297EF59115D6AC9E06316821FAC1C4D",
      "EmtrWbsSetupFlag": null,
      "EmtrWbsvCode1": null,
      "EmtrWbsvCode10": null,
      "EmtrWbsvCode11": null,
      "EmtrWbsvCode12": null,
      "EmtrWbsvCode2": null,
      "EmtrWbsvCode3": null,
      "EmtrWbsvCode4": null,
      "EmtrWbsvCode5": null,
      "EmtrWbsvCode6": null,
      "EmtrWbsvCode7": null,
      "EmtrWbsvCode8": null,
      "EmtrWbsvCode9": null,
      "links": [
        {
          "rel": "self",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestupg/em-rest-api/rest/1/emtrantiment/0297EF59115D6AC9E06316821FAC1C4D",
          "name": "emtrantiment",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://mobtest.cmiccloudr12.com:80/cmictestupg/em-rest-api/rest/1/emtrantiment/0297EF59115D6AC9E06316821FAC1C4D",
          "name": "emtrantiment",
          "kind": "item"
        }
      ]
    }
    example-2

    Create

    {
      "EmtrAmt": 20,
      "EmtrBchNum": 8565243,
      "EmtrBillAmt": 0,
      "EmtrBillRate": null,
      "EmtrBulkEqpFlag": null,
      "EmtrCalledFromAppCode": "EM",
      "EmtrCatCode": "BD",
      "EmtrCatName": null,
      "EmtrCompCode": "001",
      "EmtrCompName": null,
      "EmtrComponCode": null,
      "EmtrComponName": null,
      "EmtrCurrActuallocCode": null,
      "EmtrDesc": null,
      "EmtrDistAccCode": null,
      "EmtrDistDeptCode": null,
      "EmtrDistExpCode": null,
      "EmtrDistTypeCode": "J",
      "EmtrDistWitmLineNumber": null,
      "EmtrDistWorkorder": null,
      "EmtrDsrcCode": null,
      "EmtrDsrcCompCode": "001",
      "EmtrEqpCode": "100024",
      "EmtrEqpName": null,
      "EmtrEqpQty": 1,
      "EmtrIuCreateDate": null,
      "EmtrIuUpdateDate": null,
      "EmtrJobCode": "0345",
      "EmtrJobName": null,
      "EmtrNum": null,
      "EmtrPhsCode": "00",
      "EmtrPhsName": null,
      "EmtrPmCode": null,
      "EmtrPostDate": null,
      "EmtrPostFlag": "Y",
      "EmtrPyCrewCode": null,
      "EmtrQty": 1,
      "EmtrRate": 10,
      "EmtrRateExistsFlag": null,
      "EmtrRefCode": null,
      "EmtrRefDate": "2023-06-08",
      "EmtrRefDesc": null,
      "EmtrSrcCode": null,
      "EmtrSrcCompCode": null,
      "EmtrSrcDesc": null,
      "EmtrTacSetupFlag": null,
      "EmtrTrancodeCode": "WORK",
      "EmtrTrancodeName": null,
      "EmtrUmCode": "HR",
      "EmtrUserField1": "001",
      "EmtrUserField1Name": null,
      "EmtrUserField2": "0345",
      "EmtrUserField2Name": null,
      "EmtrUserField3": "00010",
      "EmtrUserField3Name": null,
      "EmtrUserField4": "BD",
      "EmtrUserField4Name": null,
      "EmtrUserField5": null,
      "EmtrUserField5Name": null,
      "EmtrUserField6": null,
      "EmtrUserField6Name": null,
      "EmtrUserField7": null,
      "EmtrUserField7Name": null,
      "EmtrUserField8": null,
      "EmtrUserField8Name": null,
      "EmtrUserFieldEdtFlag5": null,
      "EmtrUserFieldEdtFlag6": null,
      "EmtrUserFieldEdtFlag7": null,
      "EmtrUserFieldEdtFlag8": null,
      "EmtrVUuid": "0297957CFA938DB8E063B08610AC3894",
      "EmtrWbsSetupFlag": null,
      "EmtrWbsvCode1": null,
      "EmtrWbsvCode10": null,
      "EmtrWbsvCode11": null,
      "EmtrWbsvCode12": null,
      "EmtrWbsvCode2": null,
      "EmtrWbsvCode3": null,
      "EmtrWbsvCode4": null,
      "EmtrWbsvCode5": null,
      "EmtrWbsvCode6": null,
      "EmtrWbsvCode7": null,
      "EmtrWbsvCode8": null,
      "EmtrWbsvCode9": null,
      "links": [
        {
          "rel": "self",
          "href": "http://mobile.cmiccloudr12.com:80/cmicprod/em-rest-api/rest/1/emtrantiment/0297957CFA938DB8E063B08610AC3894",
          "name": "emtrantiment",
          "kind": "item"
        },
        {
          "rel": "canonical",
          "href": "http://mobile.cmiccloudr12.com:80/cmicprod/em-rest-api/rest/1/emtrantiment/0297957CFA938DB8E063B08610AC3894",
          "name": "emtrantiment",
          "kind": "item"
        }
      ]
    }
    object