curl --location --request POST 'https://sandbox.sgitec.com.br/relato/v2/consulta' \
--header 'Authorization: Bearer '\''token de acesso'\''' \
--header 'x-api-key: '\''api key'\''' \
--header 'Content-Type: application/json' \
--data-raw '{
"documento": "00000000000000",
"features": [
"codigo da feature a ser consultada",
"codigo da feature a ser consultada"
]
}'{
"error": false,
"result": {
"document": "",
"report": {
"identificationReport": {
"updateDate": "",
"statusRegistration": "",
"companyName": "",
"companyAlias": "",
"address": {
"addressLine": "",
"zipCode": "",
"district": "",
"country": "",
"city": "",
"state": "",
"countryCode": ""
},
"phone": {
"areaCode": "",
"phoneNumber": ""
},
"companyUrl": "",
"partnership": "",
"companyRegister": "",
"companyRegisterDate": "",
"companyFoundation": "",
"numberEmployees": "",
"taxOption": "",
"stateRegistration": "",
"economicActivity": "",
"importPurchases": "",
"exportSales": "",
"cnae": "",
"serasaActiveCode": "",
"branchOffices": "",
"nireNumber": "",
"predecessorList": [
{
"predecessorName": "",
"predecessorDate": ""
}
],
"legalNatureCode": ""
},
"QSAReport": {
"companyData": {
"socialCapitalValue": "",
"accomplishedValue": "",
"informationUpdateDate": "",
"countryOrigin": "",
"controlType": "",
"nature": ""
},
"partnerCompleteReport": {
"partnersList": [
{
"documentType": "",
"documentId": "",
"name": "",
"sinceDate": "",
"nationality": "",
"restrictionSign": "",
"documentConsistency": "",
"capitalTotalValue": "",
"capitalVoterValue": ""
}
]
},
"directorCompleteReport": {
"directorsList": [
{
"documentType": "",
"documentId": "",
"name": "",
"role": "",
"maritalStatus": "",
"sinceDate": "",
"mandateStart": "",
"mandateEnd": "",
"nationality": "",
"restrictionSign": "",
"documentConsistency": "",
"informationUpdateDate": "",
"typeOfMandate": ""
}
],
"summary": {
"count": "",
"infoMessages": {
"message": []
}
}
}
},
"negativeData": {
"pefin": {
"pefinResponse": [
{
"occurrenceDate": "",
"legalNatureId": "",
"legalNature": "",
"contractId": "",
"creditorName": "",
"amount": "",
"federalUnit": "",
"principal": ""
}
],
"summary": {
"count": "",
"balance": "",
"firstOccurrence": "",
"lastOccurrence": ""
},
"error": {
"code": "",
"message": ""
}
},
"refin": {
"refinResponse": [
{
"occurrenceDate": "",
"legalNatureId": "",
"legalNature": "",
"contractId": "",
"creditorName": "",
"amount": "",
"principal": ""
}
],
"summary": {
"count": "",
"balance": "",
"firstOccurrence": "",