curl --location '/queries/clients//scr/' \
--header 'Authorization: Bearer <token>'{
"_id": "string",
"clientId": "string",
"queryId": "string",
"authorizationStatus": "string",
"authorizedAt": "string",
"chart": {
"featuredValues": {
"totalRisk": 0,
"totalResponsability": 0,
"activePortfolio": 0,
"due": 0,
"overDue": 0,
"loss": 0,
"totalOperations": "string",
"totalInstitutions": "string"
},
"creditTimeline": [
{
"baseDate": "string",
"due": 0,
"overdue": 0,
"loss": 0,
"limits": 0,
"totalRisk": 0,
"projected": 0,
"variation": 0
}
],
"basedatesByType": {
"category": [
{
"label": "string"
}
],
"dataset": [
{
"seriesname": "string",
"data": [
{
"value": 0
}
]
}
]
},
"creditProfile": {
"due": [
{
"index": 0,
"name": "string",
"value": 0,
"percentage": "string"
}
],
"overdue": [
{
"index": 0,
"name": "string",
"value": 0,
"percentage": "string"
}
]
},
"creditBalance": {
"reais": {
"value": 0
},
"foreignCurency": {
"reais": {
"value": 0
}
}
}
},
"clientName": "string",
"clientTaxId": "string",
"companyName": "string",
"completedAt": "string",
"createdAt": "string",
"indicators": {
"debt_cost": {
"value": 0,
"indicator": "string"
},
"debt_quality": {
"value": 0,
"indicator": "string"
},
"active_wallet_variation": {
"value": 0,
"indicator": "string"
},
"rural_vs_total_debt": {
"value": 0,
"indicator": "string"
},
"onerous_lines_percentage": {
"value": 0,
"indicator": "string"
},
"experience_time": {
"value": 0,
"indicator": "string"
}
},
"personType": "string",
"reasons": null,
"report": {
"id": "string",
"dueDateFlow": {
"client_name": "string",
"base_date": "string",
"credit_portfolio": {
"due": {
"1_30": {
"usd": 0,
"brl": 0
},
"31_60": {
"usd": 0,
"brl": 0
},
"61_90": {
"usd": 0,
"brl": 0
},
"91_180": {
"usd": 0,
"brl": 0
},
"181_360": {
"usd": 0,
"brl": 0
},
"above_360": {
"usd": 0,
"brl": 0
},
"undefined": {
"usd": 0,
"brl": 0
}
},
"overdue": {
"1_30": {
"usd": 0,
"brl": 0
},
"31_60": {
"usd": 0,
"brl": 0
},
"61_90": {
"usd": 0,
"brl": 0
},
"91_180": {
"usd": 0,
"brl": 0
},
"181_360": {
"usd": 0,
"brl": 0
},
"above_360": {
"usd": 0,
"brl": 0
}
},
"loss": {
"1_12": {
"usd": 0,
"brl": 0
},
"12_48": {
"usd": 0,
"brl": 0
}
},
"totals": {
"due": {
"usd": 0,
"brl": 0
},
"overdue": {
"usd": 0,
"brl": 0
},
"loss": {
"usd": 0,
"brl": 0
},
"active": {
"usd": 0,
"brl": 0
},
"total": {
"usd": 0,
"brl": 0
}
}
},
"interfinancial_onlending": {
"usd": 0,
"brl": 0
},
"coobligations": {
"assignment": {
"usd": 0,
"brl": 0
},
"guarantees": {
"usd": 0,
"brl": 0
},
"total": {
"usd": 0,
"brl": 0
}
},
"total_liabilities": {
"usd": 0,
"brl": 0
},
"credit_limits": {
"to_release": {
"1_360": {
"usd": 0,
"brl": 0
},
"above_360": {
"usd": 0,
"brl": 0
},
"total": {
"usd": 0,
"brl": 0
}
},
"limits": {
"1_360": {
"usd": 0,
"brl": 0
},
"above_360": {
"usd": 0,
"brl": 0
},
"total": {
"usd": 0,
"brl": 0
}
}
},
"indirect_risk": {
"usd": 0,
"brl": 0
},
"total_risk": {
"usd": 0,
"brl": 0
},
"received_coobligations": {
"usd": 0,
"brl": 0
}
},
"basedatesHistory": {
"client_name": "string",
"history": [
{
"base_date": "string",
"due": 0,
"overdue": 0,
"loss": 0,
"credit_portfolio": 0,
"interfinancial_onlending": 0,
"coobligations": 0,
"total_liability": 0,
"to_release": 0,
"limits": 0,
"indirect": 0,
"total_risk": 0,
"received_coobligations": 0
}
]
},
"basedatesByType": [
{
"index": 0,
"row_data": [
"string"
],
"children": [
{}
]
}
],
"basedatesSituation": [
{
"index": 0,
"row_data": [
"string"
],
"children": [
{}
]
}
],
"basedateSummary": [
{
"index": 0,
"row_data": [
"string"
],
"children": [
{}
]
}
],
"excel": {
"due_date_flow": {
"due_date_flow": "string"
},
"basedates_history": {
"basedates_history": "string"
},
"basedates_by_type": {
"basedates_by_type": "string"
},
"basedate_summary": {
"basedates_summary": "string"
},
"all": "string"
}
},
"requestStatus": "string",
"requestedAt": "string",
"updatedAt": "string",
"userEmail": "string",
"userId": "string"
}