GET assets/types/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
TypeName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
CategoryID | integer |
None. |
|
Category | Category |
None. |
|
Rate | integer |
None. |
|
Purchase | string |
None. |
|
Amortization | string |
None. |
|
Depreciation | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "Name": "sample string 2", "CategoryID": 3, "Category": { "ID": 1, "Name": "sample string 2", "Rate": 3, "Lifetime": 4, "ClassID": 5 }, "Rate": 4, "Purchase": "sample string 5", "Amortization": "sample string 6", "Depreciation": "sample string 7" }
text/xml
Sample:
<Type xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Assets"> <Amortization>sample string 6</Amortization> <Category> <ClassID>5</ClassID> <ID>1</ID> <Lifetime>4</Lifetime> <Name>sample string 2</Name> <Rate>3</Rate> </Category> <CategoryID>3</CategoryID> <Depreciation>sample string 7</Depreciation> <ID>1</ID> <Name>sample string 2</Name> <Purchase>sample string 5</Purchase> <Rate>4</Rate> </Type>