curl --location --request POST 'https://sandbox.sgitec.com.br/concentre/v2/consulta' \
--header 'Authorization: Bearer '\''token de acesso'\''' \
--header 'x-api-key: '\''api key'\''' \
--header 'Content-Type: application/json' \
--data-raw '{
"documento": "00000000000000",
"features": [
"código da feature a ser consultada",
"código da feature a ser consultada"
]
}'{
"error": false,
"result": {
"document": "",
"report": {
"registration": {
"documentNumber": "",
"consumerName": "",
"motherName": "",
"birthDate": "",
"statusRegistration": "",
"statusDate": "",
"companyDocument": "",
"companyName": "",
"foundationDate": "",
"address": {
"city": "",
"state": ""
},
"addresses": [
{
"addressLine": "",
"addressTypeCode": "",
"addressTypeDescription": "",
"addressNumber": "",
"district": "",
"zipCode": "",
"country": "",
"city": "",
"state": "",
"addressComplement": "",
"updateDate": ""
}
],
"phones": [
{
"regionCode": "",
"areaCode": "",
"phoneNumber": "",
"phoneType": "",
"phoneTypeCode": "",
"updateDate": ""
}
],
"error": {
"code": "",
"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": "",
"federalUnit": "",
"principal": ""
}
],
"summary": {
"count": "",
"balance": "",
"firstOccurrence": "",
"lastOccurrence": ""
},
"error": {
"code": "",
"message": ""
}
},
"collectionRecords": {
"collectionRecordsResponse": [
{
"occurrenceDate": "",
"legalNatureId": "",
"legalNature": "",
"contractId": "",
"creditorName": "",
"amount": "",
"city": "",
"federalUnit": "",
"principal": ""
}
],
"summary": {
"count": "",
"balance": "",
"firstOccurrence": "",
"lastOccurrence": ""
},
"error": {
"code": "",
"message": ""
}
},
"check": {
"checkResponse": [
{
"occurrenceDate": "",
"alinea": "",
"bankId": "",
"bankName": "",
"bankAgencyId": "",
"checkNumber": "",
"checkCount": "",
"city": "",
"federalUnit": ""
}
],
"summary": {
"count": "",
"balance": "",