GET assets/categories?classId={classId}&sort={sort}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
classId | integer |
None. |
|
sort | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of CategoryName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
Rate | integer |
None. |
|
Lifetime | integer |
None. |
|
ClassID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "Name": "sample string 2", "Rate": 3, "Lifetime": 4, "ClassID": 5 }, { "ID": 1, "Name": "sample string 2", "Rate": 3, "Lifetime": 4, "ClassID": 5 } ]
text/xml
Sample:
<ArrayOfCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Assets"> <Category> <ClassID>5</ClassID> <ID>1</ID> <Lifetime>4</Lifetime> <Name>sample string 2</Name> <Rate>3</Rate> </Category> <Category> <ClassID>5</ClassID> <ID>1</ID> <Lifetime>4</Lifetime> <Name>sample string 2</Name> <Rate>3</Rate> </Category> </ArrayOfCategory>