GET api/2.0/crm/{entityType}/invoicelist/{entityid}
Returns a list of all the invoices related to the entity with the ID and type specified in the request.
Name |
Description |
Type |
Example |
entityType
sent in url
|
Invoice entity type
|
string
|
some text
|
entityid
sent in url
|
Invoice entity ID
|
number
|
1234
|
GET api/2.0/crm/%22some+text%22/invoicelist/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
application/json
{
"status": 0,
"response": [
{
"id": 1234
}
]
}
text/xml
<result>
<status>0</status>
<response>
<id>1234</id>
</response>
</result>