AP Check Update, Run
Runs AP Check Update using the supplied run data.
URL
/api/ap-check-update-run
Request Method
POST
Expandable Program
AP Check Update (APUCU)
Required Fields
PYEAR1
PMONTH1
AUTH_TOKEN
PMONTH1
AUTH_TOKEN
Auth Token
This API call requires an Authentication Token ("Auth Token") for the required field AUTH_TOKEN. Auth Tokens are obtained from Auth Token, Get.
Example Request JSON
{
"PYEAR1": "2015",
"PMONTH1": "7",
"AUTH_TOKEN": ""
}
Full Request JSON
{
"PYEAR1": "",
"PMONTH1": "",
"AUTH_TOKEN": ""
}
Success Response
Returned HTTP status indicates success:
200/OK
Returned JSON contains the details of the successful transaction:
200/OK
Returned JSON contains the details of the successful transaction:
[
{
"VENDOR_ID": "",
"VENDOR_NAME": "",
"STATUS": "",
"CURRENT_BALANCE": "",
"COMPANY_ID": "",
"DATE_RECONCIL": "",
"DATE_VOIDED": "",
"CHECK_STATUS": "",
"VALUE_DATE": "",
"REPORT_FLAG": "",
"VOUCHER_ID": "",
"INVOICE_TYPE": "",
"INVOICE_ID": "",
"INVOICE_DATE": "",
"REFERENCE": "",
"BANK_CODE": "",
"CURR_CODE": "",
"CURR_RATE": "",
"BC_RATE": "",
"LC_RATE": "",
"CHK_NUMBER": "",
"CHK_DATE": "",
"GROSS_AMT": "",
"DISC_TAKEN": "",
"DISC_LOST": "",
"AMT_PAID": "",
"CHK_GROSS_AMT": "",
"CHK_DISC_TAKEN": "",
"CHK_DISC_LOST": "",
"CHK_AMT_PAID": "",
"LC_GROSS_AMT": "",
"LC_DISC_TAKEN": "",
"LC_DISC_LOST": "",
"LC_AMT_PAID": "",
"LC_GAIN_LOSS": "",
"LC_AMT_OLD": "",
"LC_DISC_OLD": "",
"BC_AMT_PAID": "",
"BC_DISC_USED": "",
"BC_GAIN_LOSS": "",
"BC_DISC_OLD": "",
"BC_AMT_OLD": "",
"CHECK_CURR": "",
"CHECK_RATE": "",
"PYEAR1": "",
"PMONTH1": ""
}
]
Failure Response
Returned HTTP status indicates failure:
400/Request JSON is invalid.
401/Auth Token was not provided.
401/Auth Token is malformed.
401/Auth Token login failure.
405/Request method must be POST.
500/(Error Message)
Returned JSON contains error information for the failed transaction:
400/Request JSON is invalid.
401/Auth Token was not provided.
401/Auth Token is malformed.
401/Auth Token login failure.
405/Request method must be POST.
500/(Error Message)
Returned JSON contains error information for the failed transaction:
{
"MESSAGE": "",
"MESSAGE_CODE": ""
}
