POST api/2.0/crm/invoice/converter/data
Returns information about the generation of the invoice pdf file.
Name |
Description |
Type |
Example |
invoiceId
sent in body
|
Invoice ID
|
number
|
1234
|
storageUrl
sent in body
|
Storage URL
|
string
|
some text
|
revisionId
sent in body
|
Revision ID
|
string
|
some text
|
POST api/2.0/crm/invoice/converter/data
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"invoiceId": 1234,
"storageUrl": "some text",
"revisionId": "some text"
}
application/json
{
"status": 0,
"response": {
"StorageUrl": "Storage Url",
"RevisionId": "123ws",
"InvoiceId": 2,
"FileId": 1
}
}
text/xml
<result>
<status>0</status>
<response>
<StorageUrl>Storage Url</StorageUrl>
<RevisionId>123ws</RevisionId>
<InvoiceId>2</InvoiceId>
<FileId>1</FileId>
</response>
</result>