How to attach the existing uploaded file to Journal Batch using REST API
Content
Hello Everyone,
I have uploaded a sample file seeded functionality 'File Import and Export'. The file is uploaded and file id, content id is generated.
Then I am trying to attach the same file to Journal Batch using REST API using below sample payload. When trying to run this payload it's throwing me error "INVALID 404". Can anyone tell me what values I am missing here in payload?
REST API url -
https://{host}/fscmRestApi/resources/11.13.18.05/journalBatches/{batch_id}
Sample Payload -
{
"AccountedPeriodType": "MONTH1765278435",
"ActualFlagMeaning": "Actual",
"ApprovalStatusMeaning": "Required",
"ApproverEmployeeName": null,
"BatchName": "0 testing batch - jest e2e",
"ChartOfAccountsName": "USGAAP_COA",
"CompletionStatusMeaning": "Incomplete",