GET api/AccountingStock/{id}
Fast method to get bill by id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiAccountingStockOutputName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
id_debet | integer |
None. |
|
id_kredit | integer |
None. |
|
code | integer |
None. |
|
total_without_amount | decimal number |
None. |
|
accounting_modif | integer |
None. |
|
vats | Collection of StockDocumentVat |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "id_debet": 1, "id_kredit": 1, "code": 1, "total_without_amount": 1.0, "accounting_modif": 2, "vats": [ { "id": 1, "vat": 1.0, "amount": 1.0, "id_debet": 1, "id_kredit": 1, "code": 1 }, { "id": 1, "vat": 1.0, "amount": 1.0, "id_debet": 1, "id_kredit": 1, "code": 1 } ] }
application/xml, text/xml
Sample:
<ApiAccountingStockOutput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>1</id> <id_debet>1</id_debet> <id_kredit>1</id_kredit> <code>1</code> <total_without_amount>1</total_without_amount> <accounting_modif>2</accounting_modif> <vats> <StockDocumentVat> <id>1</id> <vat>1</vat> <amount>1</amount> <id_debet>1</id_debet> <id_kredit>1</id_kredit> <code>1</code> </StockDocumentVat> <StockDocumentVat> <id>1</id> <vat>1</vat> <amount>1</amount> <id_debet>1</id_debet> <id_kredit>1</id_kredit> <code>1</code> </StockDocumentVat> </vats> </ApiAccountingStockOutput>