Skip to content

Instantly share code, notes, and snippets.

@gerocha
Created July 24, 2019 17:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gerocha/95547066ed9521105b8bedb5c7f1a250 to your computer and use it in GitHub Desktop.
Save gerocha/95547066ed9521105b8bedb5c7f1a250 to your computer and use it in GitHub Desktop.
{
"success": true,
"data": {
"WorkflowQueueId": 34453334,
"CampaignQueueId": 379,
"Status": "Positive",
"Score": 0,
"Input": {
"Fields": [
{
"Name": "CPF / CNPJ",
"Type": "IndividualDocument",
"Value": "37948813896"
}
]
},
"Result": {
"Status": "Positive",
"Steps": [
{
"Id": 1,
"Name": "Valida campos",
"WeightType": 0,
"WeightAmount": 0,
"TimeOut": 0,
"Duration": 0,
"Status": "Positive",
"Logs": [
{
"level": 0,
"date": "2019-07-24 14:26:43",
"state": 0,
"message": "Id: 1 - Process initialized"
},
{
"level": 0,
"date": "2019-07-24 14:26:43",
"state": 4,
"message": "Id: 1 - Valida campos - Positive"
}
]
},
{
"Id": 3,
"Name": "Condicional",
"WeightType": 0,
"WeightAmount": 0,
"TimeOut": 0,
"Duration": 1,
"Status": "Positive",
"Logs": [
{
"level": 0,
"date": "2019-07-24 14:26:44",
"state": 0,
"message": "Id: 3 - Loading source 8: 1457ms"
},
{
"level": 0,
"date": "2019-07-24 14:26:44",
"state": 4,
"message": "Id: 3 - Condicional - Positive"
}
],
"Data": {
"SourceA": [
false
],
"SourceB": [
false
],
"Compare": "Equal"
}
},
{
"Id": 5,
"Name": "Range de Valores",
"WeightType": 0,
"WeightAmount": 0,
"TimeOut": 0,
"Duration": 0,
"Status": "Positive",
"Logs": [
{
"level": 0,
"date": "2019-07-24 14:26:44",
"state": 4,
"message": "Id: 5 - Range de Valores - Positive"
}
],
"Data": {
"SourceA": 28,
"SourceB": {
"from": 18,
"to": 85
},
"Sequency": 1
}
},
{
"Id": 7,
"Name": "CPF Regular",
"Alias": "CPF Regular",
"WeightType": 0,
"WeightAmount": 0,
"TimeOut": 0,
"Duration": 0,
"Status": "Positive",
"Logs": [
{
"level": 0,
"date": "2019-07-24 14:26:44",
"state": 4,
"message": "CPF Regular - CPF Regular - Positive"
}
],
"Data": {
"EmissionDate": "2017-05-03 00:00:00",
"Inscriptiondate": "2017-05-03 00:00:00",
"Code": "0",
"Digit": null,
"Status": "REGULAR"
}
},
{
"Id": 9,
"Name": "Mandados",
"Alias": "Mandado",
"WeightType": 0,
"WeightAmount": 0,
"TimeOut": 0,
"Duration": 0,
"Status": "Positive",
"Logs": [
{
"level": 0,
"date": "2019-07-24 14:26:44",
"state": 4,
"message": "Mandado - Mandados - Positive"
}
],
"Data": []
},
{
"Id": 23,
"Name": "Alerta",
"WeightType": 0,
"WeightAmount": 0,
"TimeOut": 0,
"Duration": 0,
"Status": "Positive",
"Logs": [
{
"level": 2,
"date": "2019-07-24 14:26:44",
"state": 4,
"message": "Id: 23 - APROVADO"
},
{
"level": 0,
"date": "2019-07-24 14:26:44",
"state": 4,
"message": "Id: 23 - Alerta - Positive"
}
]
}
],
"Sources": []
},
"ExecutionStatus": 4,
"OriginalExecutionStatus": 4,
"IsManualStatus": false,
"ExecutionMessage": "Id: 23 - APROVADO",
"Messages": [
{
"level": 2,
"date": "2019-07-24 14:26:44",
"state": 4,
"message": "Id: 23 - APROVADO"
},
{
"level": 0,
"date": "2019-07-24 14:26:44",
"state": 4,
"message": "Id: 23 - Alerta - Positive"
}
],
"Logs": [
{
"Type": "Undefined",
"Message": "Id: 1 - Process initialized"
},
{
"Type": "Positive",
"Message": "Id: 1 - Valida campos - Positive"
},
{
"Type": "Undefined",
"Message": "Id: 3 - Loading source 8: 1457ms"
},
{
"Type": "Positive",
"Message": "Id: 3 - Condicional - Positive"
},
{
"Type": "Positive",
"Message": "Id: 5 - Range de Valores - Positive"
},
{
"Type": "Positive",
"Message": "CPF Regular - CPF Regular - Positive"
},
{
"Type": "Positive",
"Message": "Mandado - Mandados - Positive"
},
{
"Type": "Positive",
"Message": "Id: 23 - APROVADO"
},
{
"Type": "Positive",
"Message": "Id: 23 - Alerta - Positive"
}
]
},
"timestamp": "2019-07-24 14:26:45"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment