...
Method | URL endpoint | Request parameters | Errors | Example | |||||
---|---|---|---|---|---|---|---|---|---|
Get asset type by ID or key | GET | /assettype/get/{token}/{assetTypeIdOrKey}
| 400 - When "assetTypeId" is missing 404 - When asset type cannot be found by given ID |
| |||||
List asset types | GET | /assettype/list/{token}
| Empty JSON array is returned when you don't have any asset type registered |
| |||||
Search assets | GET / POST | /asset/search/{token}/{assetTypeIdOrKey}
|
| By default 100 assets is load per page | |||||
Create or update asset | POST | /asset/save/{token}/{assetTypeIdOrKey} | Expecting an input payload in JSON format that describes new Asset Creates Asset
Updates asset by "id"
| ||||||
Get asset by ID or key | GET | /asset/get/{token}/{assetTypeIdOrKey}/{assetIdOrKey} | |||||||
Delete asset by ID or key | DELETE | /asset/delete/{token}/{assetTypeIdOrKey}/{assetIdOrKey} | |||||||
...