| GET | /asset_categories | Gets asset categories. This request ignores authorization restrictions. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ServicePrincipalApiKey | query | string | Yes | The Api key that authorizes the caller to complete the request. Contact your eQuip admin. |
| PageSize | query | int | No | Number of asset categories to return. 0 returns all entries. |
| PageNumber | query | int | No | The page number to start retrieving data. 0 returns all entries. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/FindAssetCategories HTTP/1.1
Host: equipstage3.e-isg.com
Content-Type: text/jsv
Content-Length: length
{
PageSize: 0,
PageNumber: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
AssetCategoryID: 0,
ParentID: 0,
AssetCategoryName: String,
AssetCategoryDescription: String,
AssetCategoryLevel: 0,
Hierarchy: String,
IsHistoryTrack: False,
DepreciationPeriod: 0,
MACRSLife: 0,
AELCode: String,
CreatedBy: 0,
CreatedDate: 0001-01-01,
ModifiedBy: 0,
ModifiedDate: 0001-01-01
}