GET api/Register/{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
ApiRegisterOutput| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| type | integer |
None. |
|
| date_operation | date |
None. |
|
| description | string |
None. |
|
| fp_purchase_order | Object |
None. |
|
| id_fp_purchase_order | integer |
None. |
|
| stock_document | Object |
None. |
|
| id_stock_document | integer |
None. |
|
| id_company | integer |
None. |
|
| company | Object |
None. |
|
| id_fp_payment_type | integer |
None. |
|
| fp_payment_type | Object |
None. |
|
| outer_id | string |
None. |
|
| register_element | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"type": 2,
"date_operation": "2025-12-15T22:15:40.3867323+00:00",
"description": "sample string 4",
"fp_purchase_order": {},
"id_fp_purchase_order": 1,
"stock_document": {},
"id_stock_document": 1,
"id_company": 1,
"company": {},
"id_fp_payment_type": 1,
"fp_payment_type": {},
"outer_id": "sample string 9",
"register_element": {}
}
application/xml, text/xml
Sample:
<ApiRegisterOutput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>1</id> <type>2</type> <date_operation>2025-12-15T22:15:40.3867323+00:00</date_operation> <description>sample string 4</description> <fp_purchase_order /> <id_fp_purchase_order>1</id_fp_purchase_order> <stock_document /> <id_stock_document>1</id_stock_document> <id_company>1</id_company> <company /> <id_fp_payment_type>1</id_fp_payment_type> <fp_payment_type /> <outer_id>sample string 9</outer_id> <register_element /> </ApiRegisterOutput>