UpdateExpenseReportTransactionStatus
Update the status of the specified invoice.
Rate Limiting
In order to protect our servers from inadvertent service overuse or intentional attack, and to fairly distribute services to all our customers, we have implemented a rate limiting algorithm. When fully deployed, this new algorithm will cause services to either succeed with new warnings or fail with new errors when services are consumed at too high a rate. Programs that consume Projector services should be enhanced to handle rate limiting errors so that they can continue functioning properly. For more information please visit: Projector Rate Limiting Behavior.
Request
The service request contains:
UpdateExpenseReportTransactionStatusRequest | ||||
---|---|---|---|---|
Name | Data Type | Required? | Default Value | Discussion |
ErTransactionNumber | int | yes | The ErTransactionNumber returned by GetNextApTransaction. | |
Status | string(1) | yes | "P"=Pending | |
ApTransactionNumber | string(50) | no | The A/P system's transaction ID for the A/P item creation | |
FailureReason | string(4000) | no | If status = "F" you can use this parameter to store the reason for the failure. |
Response
The following data is returned:
UpdateExpenseReportTransactionStatusResponse | ||
---|---|---|
Name | Data Type | Discussion |
UpdateStatus | int | 1 if transaction found and updated, 0 if not found, -1 if unsuccessful |