POST api/ExpenseCategory
Post list of expense categories.
Request Information
URI Parameters
None.
Body Parameters
Collection of 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. |
Request 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 }, { "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:
<ArrayOfApiExpenseCategory xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ApiExpenseCategory> <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> <ApiExpenseCategory> <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> </ArrayOfApiExpenseCategory>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |