Created
September 29, 2023 20:47
-
-
Save viniciusgati/e06a60827eb5f4050b279ee744a04fed to your computer and use it in GitHub Desktop.
exemplo de retorno de api apontamil
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "6516cb59721519d207d605f6", | |
"name": "19D207D605F6", | |
"externalCode": "", | |
"services": [ | |
{ | |
"id": "6516cb59721519d207d605f7", | |
"name": "CHECKLIST", | |
"externalCode": "", | |
"formAnswerList": [ | |
{ | |
"user": { | |
"id": "6203b5524c188d3f1846059a", | |
"name": "LEANDRO MARANGONI", | |
"email": "leandro.marangoni@itmil.com.br", | |
"login": "marangoni", | |
"branchId": "61d5e3d081097778ffc4e32a", | |
"company": { | |
"externalCode": "99", | |
"storedAt": 1695992768843, | |
"id": "61d5e3837a84906e990058b5", | |
"name": "MIL", | |
"branches": [ | |
{ | |
"externalCode": "01", | |
"storedAt": 1695992768843, | |
"name": "SAO JOSE DO RIO PRETO", | |
"description": null | |
}, | |
{ | |
"externalCode": "02", | |
"storedAt": 1695992768843, | |
"name": "MIRASSOL", | |
"description": null | |
} | |
] | |
}, | |
"active": true | |
}, | |
"form": { | |
"fields": [ | |
{ | |
"label": "SITUACAO OLEO", | |
"type": "CHECKBOX", | |
"value": "", | |
"photoPath": "", | |
"photo": null, | |
"optionFields": [ | |
{ | |
"name": "OK", | |
"value": "OK", | |
"checked": true | |
}, | |
{ | |
"name": "NAO OK", | |
"value": "NAO OK", | |
"checked": false | |
}, | |
{ | |
"name": "LIMITROFE", | |
"value": "LIMITROFE", | |
"checked": false | |
} | |
], | |
"minLength": null, | |
"maxLength": null, | |
"isRequired": false, | |
"observation": null | |
}, | |
{ | |
"label": "SITUACAO PNEUS", | |
"type": "CHECKBOX", | |
"value": "", | |
"photoPath": "", | |
"photo": null, | |
"optionFields": [ | |
{ | |
"name": "OK", | |
"value": "OK", | |
"checked": false | |
}, | |
{ | |
"name": "NAO OK", | |
"value": "NAO OK", | |
"checked": false | |
}, | |
{ | |
"name": "LIMITROFE", | |
"value": "LIMITROFE", | |
"checked": true | |
} | |
], | |
"minLength": null, | |
"maxLength": null, | |
"isRequired": false, | |
"observation": null | |
}, | |
{ | |
"label": "OPCOES", | |
"type": "COMBOBOX", | |
"value": "", | |
"photoPath": "", | |
"photo": null, | |
"optionFields": [ | |
{ | |
"name": "OPCAO 1", | |
"value": "OPCAO 1", | |
"checked": true | |
}, | |
{ | |
"name": "OPCAO 2", | |
"value": "OPCAO 2", | |
"checked": false | |
}, | |
{ | |
"name": "OPCAO 3", | |
"value": "OPCAO 3", | |
"checked": false | |
}, | |
{ | |
"name": "OPCAO 4", | |
"value": "OPCAO 4", | |
"checked": false | |
} | |
], | |
"minLength": null, | |
"maxLength": null, | |
"isRequired": false, | |
"observation": null | |
}, | |
{ | |
"label": "Campo 4", | |
"type": "PHOTO", | |
"value": "", | |
"photoPath": "6516cbab721519d207d60601", | |
"photo": null, | |
"optionFields": null, | |
"minLength": null, | |
"maxLength": null, | |
"isRequired": true, | |
"observation": null | |
} | |
] | |
} | |
} | |
] | |
}, | |
{ | |
"id": "6516cb59721519d207d605f8", | |
"name": "FOTOS DO SERVICO", | |
"externalCode": "", | |
"formAnswerList": [ | |
{ | |
"user": { | |
"id": "6203b5524c188d3f1846059a", | |
"name": "LEANDRO MARANGONI", | |
"email": "leandro.marangoni@itmil.com.br", | |
"login": "marangoni", | |
"branchId": "61d5e3d081097778ffc4e32a", | |
"company": { | |
"externalCode": "99", | |
"storedAt": 1695992858085, | |
"id": "61d5e3837a84906e990058b5", | |
"name": "MIL", | |
"branches": [ | |
{ | |
"externalCode": "01", | |
"storedAt": 1695992858085, | |
"name": "SAO JOSE DO RIO PRETO", | |
"description": null | |
}, | |
{ | |
"externalCode": "02", | |
"storedAt": 1695992858085, | |
"name": "MIRASSOL", | |
"description": null | |
} | |
] | |
}, | |
"active": true | |
}, | |
"form": { | |
"fields": [ | |
{ | |
"label": "FOTO 1", | |
"type": "PHOTO", | |
"value": "", | |
"photoPath": "6516cc04721519d207d60606", | |
"photo": null, | |
"optionFields": null, | |
"minLength": null, | |
"maxLength": null, | |
"isRequired": true, | |
"observation": null | |
}, | |
{ | |
"label": "FOTO 2", | |
"type": "PHOTO", | |
"value": "", | |
"photoPath": "", | |
"photo": null, | |
"optionFields": null, | |
"minLength": null, | |
"maxLength": null, | |
"isRequired": false, | |
"observation": null | |
} | |
] | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment