GET api/ExpenseCategory/{id}
Fast method to get company or private person by id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiExpenseCategoryName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
name | string |
None. |
|
number | string |
None. |
|
main_expences | boolean |
None. |
|
type | FPExpenseType |
None. |
|
outer_id | string |
None. |
|
in_archive | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "name": "sample string 2", "number": "sample string 3", "main_expences": true, "type": 0, "outer_id": "sample string 5", "in_archive": true }
application/xml, text/xml
Sample:
<ApiExpenseCategory xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>1</id> <name>sample string 2</name> <number>sample string 3</number> <main_expences>true</main_expences> <type>MaterialsAndSupplies</type> <outer_id>sample string 5</outer_id> <in_archive>true</in_archive> </ApiExpenseCategory>