Create a New Registered Pay Request Imaging Document
    • 15 Dec 2025
    • 2 Minutes to read
    • Dark
      Light

    Create a New Registered Pay Request Imaging Document

    • Dark
      Light

    Article summary

    Post
    /ecm-rest-api/jersey/v1/UploadData/UploadRegPayRequest

    Overview

    This endpoint provides the ability to upload a document along with flysheet data to create a Registered Pay Request with allocated detail lines.

    Notes

    • Endpoint name is /ecm-rest-api/jersey/v1/UploadData/uploadRegPayRequest
    • srcUuid and docTypeUuid identify the corresponding source and document type to which the document will be uploaded
    • Payload also contains a header section (headerFlysheet, headerData) and a detail section (detailFlysheet, detailData) to support the different flysheet data components to be inserted
    • The pay request invoice is made against a subcontract (linked via the contract code field)

    UI Navigation

    Enterprise Content Management > Imaging > Flysheet

    Reference Article

    Pay Request – Create Subcontract Tied to Pay Request

    Imaging – Imaging Control

    Commonly Used Body Parameters

    CMiC UI FieldnameObjectNameDescriptionTypeData LengthExample
    CompanyheaderDataApri_Comp_CodeThis is the company code associated with the pay request invoice. Must be a valid CMiC Company Code.string8001
    VendorheaderDataApri_Ven_CodeThis is the vendor code associated with the pay request invoice. Must be a valid vendor code in CMiC.string10MICR01
    Invoice Job CodeheaderDataApri_Job_CodeThis is the job code associated with the pay request invoice. Must be a valid job code in CMiC.string10017401
    Contract CodeheaderDataApri_Cont_CodeThis is the contract code associated with the pay request invoice. Must be a valid contract code in CMiC.string20ZZ-WMT001
    Invoice Registry Group CodeheaderDataApri_Group_CodeInvoice registration groups are used to group the access, entry and approval of invoices entered through the Register Invoices screen. Must be a valid Invoice Registry Group Code in CMiC.string10CMIC
    Invoice NumberheaderDataApri_Inv_CodeThis is the invoice number associated with this invoice. This number appears on the vendors’ invoice and it is not the same as the voucher number.string20TESTINV988
    Invoice Header DateheaderDataApri_Inv_DateThis is the date the invoice was issued/created.datetimeYYYY/MM/DD2025/03/31
    DescriptionheaderDataApri_DescThis is a short description for the invoice.string30Purchases from Home Depot.
    Original AmountheaderDataApri_Orig_AmtOriginal invoice amount is the pre-tax invoice amount – this is used in the validation workflow.number181825.00
    AmountheaderDataApri_Inv_AmtThis invoice amount can be the same as the Original Invoice Amount if no taxes are applied. Otherwise, this is the post-tax invoice amount (net amount).number181825.00
    Contract Detail Task CodedetailDataAprdist_Task_CodeThis is the task code assigned to the subcontract detail line which can be allocated against.string16TASK1
    Contract Task Change CodedetailDataAprdist_Chg_CodeThis is the specific item quantity for the Purchase Order line item.string20001
    Detail Line AmountdetailDataAprdist_Debit_AmtThis is the invoice amount allocated to the subcontract detail line.number (with decimals)18,225.00
    Security
    HTTP
    Type basic

    Basic authentication

    Header parameters
    Content-Type
    string
    Exampleapplication/vnd.oracle.adf.resourceItem+json
    Body parameters
    object
    fileDetails
    string
    Example{"srcUuid":"0AC3DE23133C61F0E063AF811DAC5CAD","docTypeUuid":"ADC78973BD901170E053508010AC2DB4","headerFlysheet":"Registered Pay Request Header","headerData":{"Apri_Comp_Code":"ZZ","Apri_Ven_Code":"G00001","Apri_Job_Code":"JOB-01-CTR","Apri_Cont_Code":"000000009","Apri_Group_Code":"CMIC","Apri_Inv_Code":"ROASTINV004","Apri_Inv_Date":"2025-03-29","Apri_Inv_Amt":"1","Apri_Orig_Amt":"1"},"detailFlysheet":"Registered - Pay Request Details","detailData":[{"Aprdist_Task_Code":"TASK1","Aprdist_Chg_Code":"000","Aprdist_Debit_Amt":"50"}]}
    document-content-file
    string (binary)
    Responses
    201

    Successful response