{
    "criticality_level": 0,
    "display_id": "25-3",
    "display_name": "   Premi\u00e8re demande d'APA \u00e0 domicile - n\u00b025-3",
    "evolution": [
        {
            "status": "4",
            "time": "2016-07-20T09:18:12Z",
            "who": {
                "id": 2,
                "name": "Bill KEVIN"
            }
        },
        {
            "status": "96",
            "time": "2016-07-20T09:18:14Z"
        },
        {
            "status": "1",
            "time": "2016-07-20T09:18:15Z"
        },
        {
            "status": "67",
            "time": "2016-07-20T09:18:50Z",
            "who": {
                "id": 2,
                "name": "Bill KEVIN"
            }
        },
        {
            "status": "87",
            "time": "2016-07-20T09:18:51Z"
        },
        {
            "status": "88",
            "time": "2016-07-20T09:18:52Z"
        },
        {
            "parts": [
                {
                    "content": "\n\nUn homonyme a \u00e9t\u00e9 s\u00e9lectionn\u00e9 : MCBEAL ALLY - 1950-02-01 - 14000 CAEN\n\n",
                    "type": "workflow-comment"
                }
            ],
            "status": "89",
            "time": "2016-07-20T09:19:06Z",
            "who": {
                "id": 2,
                "name": "Bill KEVIN"
            }
        },
        {
            "status": "69",
            "time": "2016-07-20T09:19:07Z"
        },
        {
            "status": "15",
            "time": "2016-07-20T09:19:07Z"
        },
        {
            "status": "70",
            "time": "2016-07-20T09:20:05Z",
            "who": {
                "id": 2,
                "name": "Bill KEVIN"
            }
        },
        {
            "status": "17",
            "time": "2016-07-20T09:20:07Z"
        },
        {
            "status": "71",
            "time": "2016-07-20T09:21:15Z",
            "who": {
                "id": 2,
                "name": "Bill KEVIN"
            }
        },
        {
            "status": "72",
            "time": "2016-07-20T09:21:16Z"
        },
        {
            "status": "13",
            "time": "2016-07-20T09:21:17Z"
        },
        {
            "status": "28",
            "time": "2016-07-20T09:21:27Z",
            "who": {
                "id": 2,
                "name": "Bill KEVIN"
            }
        }
    ],
    "fields": {
        "adressebeneficiaire": "rue du parc",
        "aide_ccas": "Non",
        "aide_ccas_raw": "Non",
        "aidebeneficiaire": null,
        "aidebeneficiaire_raw": [],
        "anneefoncier": null,
        "anneerefrevenu": "2015",
        "anneerefrevenuconjoint": null,
        "bienbatis": null,
        "bienimmobilier": "Non",
        "bienimmobilier_raw": "Non",
        "biennonbatis": null,
        "civilitebeneficiaire": "Monsieur",
        "civilitebeneficiaire_raw": "Monsieur",
        "civiliteconjoint": "Madame",
        "civiliteconjoint_raw": "Madame",
        "civilitedemandeur": null,
        "civilitedemandeur_raw": null,
        "clerib": "59",
        "code_commune": "14000 CAEN",
        "code_commune_raw": "commune-14-118",
        "codebanque": "10207",
        "codeguichet": "00091",
        "compadressebeneficiaire": null,
        "courrielbeneficiaire": "vclaudet@entrouvert.com",
        "courrieldemandeur": null,
        "dnnbeneficiaire": "1930-02-04",
        "dnnconjoint": "1930-06-11",
        "domicilebanque": "banque populaire",
        "exadressebeneficiaire": null,
        "excode_commune": null,
        "excode_commune_raw": null,
        "excompadressebeneficiaire": null,
        "exdateinstallbeneficiaire": null,
        "installationbeneficiaire": "Un logement occup\u00e9 depuis plus de 3 mois",
        "installationbeneficiaire_raw": [
            "Un logement occup\u00e9 depuis plus de 3 mois"
        ],
        "lieunbeneficiaire": "cean",
        "listeComptes": [
            [
                "livret",
                "banque pop",
                "12000",
                "0"
            ]
        ],
        "nationalitebeneficiaire": "National",
        "nationalitebeneficiaire_raw": "National",
        "nombeneficiaire": "Norris",
        "nomconjoint": "MCBEAL",
        "nomdemandeur": null,
        "nomdenaissance": null,
        "nomnaissanceconjoint": null,
        "nomorganisme": null,
        "numcompte": "04091002520",
        "occupationlogement": "Non",
        "occupationlogement_raw": "Non",
        "participationconjoint": "Non",
        "participationconjoint_raw": "Non",
        "prenombeneficiaire": "Chuck",
        "prenomconjoint": "ally",
        "prenomdemandeur": null,
        "profildemandeur": "Je suis le b\u00e9n\u00e9ficiaire",
        "profildemandeur_raw": "Je suis le b\u00e9n\u00e9ficiaire",
        "proprietaire": "Oui",
        "proprietaire_raw": "Oui",
        "regretraitebeneficiaire": "carsat",
        "retraitebeneficiaire": "Oui",
        "retraitebeneficiaire_raw": "Oui",
        "revenuBic": "0",
        "revenuBicConjoint": null,
        "revenuFoncier": "0",
        "revenuFoncierConjoint": null,
        "revenuPrelevement": "0",
        "revenuPrelevementConjoint": null,
        "revenuRetraite": "30000",
        "revenuRetraiteConjoint": null,
        "revenuSalaire": "0",
        "revenuSalaireConjoint": null,
        "sepa_bic": "CCBPFRPPMTG",
        "sepa_iban": "FR7610207000910409100252059",
        "situationfamillebeneficiaire": "Mari\u00e9(e)",
        "situationfamillebeneficiaire_raw": "Mari\u00e9(e)",
        "telbeneficiaire": "0143350135",
        "teldemandeur": null,
        "titulairecompte": "Norris Chuck",
        "typeprotectionorga": null,
        "typeprotectionorga_raw": null,
        "typeprotectionpers": null,
        "typeprotectionpers_raw": null
    },
    "id": "premiere-demande-d-apa-a-domicile/3",
    "last_update_time": "2016-07-20T09:21:27Z",
    "receipt_time": "2016-07-20T09:18:12Z",
    "roles": {
        "_receiver": [
            {
                "allows_backoffice_access": true,
                "details": "",
                "emails": [],
                "emails_to_members": true,
                "id": "23",
                "name": "Gestionnaire Caen Agglom\u00e9ration 3",
                "slug": "gestionnaire-caen-agglomeration-3",
                "text": "Gestionnaire Caen Agglom\u00e9ration 3"
            }
        ],
        "actions": [
            {
                "allows_backoffice_access": true,
                "details": "L'utilisateur poss\u00e9dant ce r\u00f4le peut tester les formulaires ou workflows avant mise en ligne publique.",
                "emails": [],
                "emails_to_members": true,
                "id": "1",
                "name": "Testeur",
                "slug": "testeur",
                "text": "Testeur"
            },
            {
                "allows_backoffice_access": true,
                "details": "R\u00f4le permettant de r\u00e9soudre des conflits entre w.c.s et Solis (Homonymie, adresse postale inexistante dans le r\u00e9f\u00e9rentiel...)",
                "emails": [],
                "emails_to_members": true,
                "id": "10",
                "name": "Chef de projet Solis",
                "slug": "chef-de-projet-solis",
                "text": "Chef de projet Solis"
            },
            {
                "allows_backoffice_access": true,
                "details": "Assure le suivi des demandes d'abonnements \u00e0 une ressource num\u00e9rique en ligne.",
                "emails": [],
                "emails_to_members": true,
                "id": "28",
                "name": "Gestionnaire BDP",
                "slug": "gestionnaire-bdp",
                "text": "Gestionnaire BDP"
            },
            {
                "allows_backoffice_access": true,
                "details": "",
                "emails": [],
                "emails_to_members": true,
                "id": "23",
                "name": "Gestionnaire Caen Agglom\u00e9ration 3",
                "slug": "gestionnaire-caen-agglomeration-3",
                "text": "Gestionnaire Caen Agglom\u00e9ration 3"
            }
        ],
        "concerned": [
            {
                "allows_backoffice_access": true,
                "details": "L'utilisateur poss\u00e9dant ce r\u00f4le peut tester les formulaires ou workflows avant mise en ligne publique.",
                "emails": [],
                "emails_to_members": true,
                "id": "1",
                "name": "Testeur",
                "slug": "testeur",
                "text": "Testeur"
            },
            {
                "allows_backoffice_access": true,
                "details": "R\u00f4le permettant de r\u00e9soudre des conflits entre w.c.s et Solis (Homonymie, adresse postale inexistante dans le r\u00e9f\u00e9rentiel...)",
                "emails": [],
                "emails_to_members": true,
                "id": "10",
                "name": "Chef de projet Solis",
                "slug": "chef-de-projet-solis",
                "text": "Chef de projet Solis"
            },
            {
                "allows_backoffice_access": true,
                "details": "Assure le suivi des demandes d'abonnements \u00e0 une ressource num\u00e9rique en ligne.",
                "emails": [],
                "emails_to_members": true,
                "id": "28",
                "name": "Gestionnaire BDP",
                "slug": "gestionnaire-bdp",
                "text": "Gestionnaire BDP"
            },
            {
                "allows_backoffice_access": true,
                "details": "",
                "emails": [],
                "emails_to_members": true,
                "id": "23",
                "name": "Gestionnaire Caen Agglom\u00e9ration 3",
                "slug": "gestionnaire-caen-agglomeration-3",
                "text": "Gestionnaire Caen Agglom\u00e9ration 3"
            }
        ]
    },
    "submission": {
        "backoffice": false,
        "channel": "web"
    },
    "url": "https://calvados.test.entrouvert.org/premiere-demande-d-apa-a-domicile/3/",
    "user": {
        "id": 2,
        "name": "Bill KEVIN"
    },
    "workflow": {
        "data": {
            "adresse_var_code_commune": "14000 CAEN",
            "adresse_var_code_commune_raw": "commune-14-118",
            "adresse_var_code_lieu": "AVENUE DU PARC BELLEVUE",
            "adresse_var_code_lieu_raw": "0867",
            "adresse_var_num_lieu": "1",
            "cherche_homonyme_conjoint_response": {
                "data": [
                    {
                        "affinity": "4",
                        "id": "458107",
                        "text": "MCBEAL ALLY - 1950-02-01 - 14000 CAEN"
                    }
                ],
                "err": 0
            },
            "cherche_homonyme_conjoint_status": 200,
            "cherche_homonyme_conjoint_time": "2016-07-20T11:18:52.296988",
            "cherche_homonyme_response": {
                "data": [],
                "err": 0
            },
            "cherche_homonyme_status": 200,
            "cherche_homonyme_time": "2016-07-20T11:18:51.186896",
            "dispatch_response": {
                "data": [
                    {
                        "clic": "CAEN-AGGLO-3",
                        "cp": "14027",
                        "id": "commune-14-118",
                        "nom": "CAEN"
                    }
                ],
                "err": 0
            },
            "dispatch_status": 200,
            "dispatch_time": "2016-07-20T11:18:12.889448",
            "homonymie_conjoint_var_homonyme_force_id": null,
            "homonymie_conjoint_var_homonyme_id": "MCBEAL ALLY - 1950-02-01 - 14000 CAEN",
            "homonymie_conjoint_var_homonyme_id_affinity": "4",
            "homonymie_conjoint_var_homonyme_id_raw": "458107",
            "homonymie_conjoint_var_homonyme_new_user": "False",
            "homonymie_conjoint_var_homonyme_new_user_raw": false,
            "integration_error_response": {
                "data": null,
                "err": 1,
                "err_class": "NameError",
                "err_desc": "global name 'beneficiaire_situation' is not defined"
            },
            "integration_status": 500,
            "integration_time": "2016-07-20T11:21:28.758600",
            "retraite_var_listeretraite": "CAISSE ASSURANCE RETRAITE SANTE TRAVAIL - CARSAT",
            "retraite_var_listeretraite_raw": "organisme_retraite-1"
        },
        "status": {
            "id": "28",
            "name": "Dossier complet"
        }
    }
}
