Delphi (DLL) / Broker API / All Assets
Back to Collection Items
var
begin
CkHttp_putBasicAuth(http,True);CkHttp_putLogin(http,'{{api_key}}');CkHttp_putPassword(http,'{{api_secret}}');success := CkHttp_QuickGetSb(http,'https://domain.com/v1/assets',sbResponseBody);
Curl Command
curl -X GET
-u '{{api_key}}:{{api_secret}}'
https://domain.com/v1/assets
Postman Collection Item JSON
{
"name": "All Assets",
"request": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{HOST}}/v1/assets",
"host": [
"{{HOST}}"
],
"path": [
"v1",
"assets"
],
"query": [
{
"key": "status",
"value": "ACTIVE",
"description": "Will default to all",
"disabled": true
},
{
"key": "asset_class",
"value": null,
"description": "String",
"disabled": true
}
]
}
},
"response": [
]
}