POST api/{database}/GetInvoiceUblCommand/ExecuteAndGenerateDocument?invoiceId={invoiceId}&embeddedDocumentName={embeddedDocumentName}

Execute the GetInvoiceUblCommand



Request Information

Parameters

NameDescriptionAdditional information
invoiceId The invoiceId.

Define this parameter in the request URI.

embeddedDocumentName The embeddedDocumentName.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "embeddedDocument": "QEBA",
  "embeddedDocumentName": "sample string 1",
  "errorMessage": "sample string 2",
  "forWeb": true,
  "invoiceId": "sample string 4",
  "result": true,
  "ublMessage": "sample string 6",
  "ublMessageEncodedData": "QEBA"
}

application/xml, text/xml

Sample:
<GetInvoiceUblCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Sales.Commands">
  <EmbeddedDocument>QEBA</EmbeddedDocument>
  <EmbeddedDocumentName>sample string 1</EmbeddedDocumentName>
  <ErrorMessage>sample string 2</ErrorMessage>
  <ForWeb>true</ForWeb>
  <InvoiceId>sample string 4</InvoiceId>
  <Result>true</Result>
  <UblMessage>sample string 6</UblMessage>
  <UblMessageEncodedData>QEBA</UblMessageEncodedData>
</GetInvoiceUblCommand>