POST api/{database}/ApproveInvoicePaymentCommand?invoiceId={invoiceId}&approverId={approverId}

Execute the ApproveInvoicePaymentCommand



Request Information

Parameters

NameDescriptionAdditional information
invoiceId The invoiceId.

Define this parameter in the request URI.

approverId The approverId.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "approved": true,
  "approverId": "sample string 2",
  "error": "sample string 3",
  "invoiceId": "sample string 4"
}

application/xml, text/xml

Sample:
<ApproveInvoicePaymentCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Commands">
  <Approved>true</Approved>
  <ApproverId>sample string 2</ApproverId>
  <Error>sample string 3</Error>
  <InvoiceId>sample string 4</InvoiceId>
</ApproveInvoicePaymentCommand>