curl --request POST \
--url https://api.bmpdigital.moneyp.dev.br/Bureau/ProcessosPenaisPF \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--data '
{
"consulta": {
"identificador": "<string>",
"documento": "<string>"
}
}
'{
"msg": "<string>",
"messages": [
{
"messageType": 1,
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"hasError": true,
"falha": true,
"json": "<string>"
}curl --request POST \
--url https://api.bmpdigital.moneyp.dev.br/Bureau/ProcessosPenaisPF \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--data '
{
"consulta": {
"identificador": "<string>",
"documento": "<string>"
}
}
'{
"msg": "<string>",
"messages": [
{
"messageType": 1,
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"hasError": true,
"falha": true,
"json": "<string>"
}Mostrar Exemplo de retorno completo
"json": "<string>" o retorno do Bureau vem de forma serializada, sendo necessário deserializar para melhor visualização. Aqui está um exemplo do retorno deserializado que vem no campo "json":.{
"Erro": Boolean,
"MensagemOperador": "String",
"ResultadoConsulta": {
"Lawsuits": [
{
"Number": "String",
"Type": "String",
"MainSubject": "String",
"CourtName": "String",
"CourtLevel": "String",
"CourtType": "String",
"CourtDistrict": "String",
"Judge": null,
"JudgingBody": "",
"State": "String",
"Status": "String",
"LawsuitHostService": "String",
"InferredCnjSubjectName": "String",
"InferredCnjSubjectNumber": Numero,
"InferredCnjProcedureTypeName": null,
"InferredBroadCnjSubjectName": null,
"InferredBroadCnjSubjectNumber": Numero,
"OtherSubjects": [
"String"
],
"NumberOfVolumes": 0,
"NumberOfPages": Numero,
"Value": Numero,
"ResJudicataDate": "Data",
"CloseDate": "Data",
"RedistributionDate": "Data",
"PublicationDate": "Data",
"NoticeDate": "Data",
"LastMovementDate": "Data",
"CaptureDate": "Data",
"LastUpdate": "Data",
"NumberOfParties": Numero,
"NumberOfUpdates": Numero,
"LawSuitAge": Numero,
"AverageNumberOfUpdatesPerMonth": Numero,
"ReasonForConcealedData": Numero,
"Parties": [
{
"Doc": "String",
"IsPartyActive": Boolean,
"Name": "String",
"Polarity": "String",
"Type": "String",
"PartyDetails": {
"SpecificType": "String"
},
"LastCaptureDate": "Data"
}
],
"Updates": [
{
"Content": "String",
"PublishDate": "Data",
"CaptureDate": "Data"
}
],
"Petitions": [
{
"Type": "String",
"Author": "String",
"CreationDate": "Data",
"JoinedDate": "String"
}
],
"Decisions": [
{
"DecisionContent": "String",
"DecisionDate": "Data"
}
],
"RelatedLawsuits": [
"String"
],
}
],
"TotalLawsuits": Numero,
"TotalLawsuitsAsAuthor": Numero,
"TotalLawsuitsAsDefendant": Numero,
"TotalLawsuitsAsOther": Numero,
"FirstLawsuitDate": "Data",
"LastLawsuitDate": "Data",
"Last30DaysLawsuits": Numero,
"Last90DaysLawsuits": Numero,
"Last180DaysLawsuits": Numero,
"Last365DaysLawsuits": Numero,
"Identificador": "String",
"StatusConsulta": {
"Code": Numero,
"Message": "String"
},
"identificador": "String"
}
}
Informe o token
Success
Esta página foi útil?