{
    "criticality_level": 0,
    "display_id": "32-1",
    "display_name": "  Premi\u00e8re demande d'APA en \u00e9tablissement - n\u00b032-1",
    "evolution": [
        {
            "status": "4",
            "time": "2016-06-23T15:01:02Z",
            "who": {
                "id": 2,
                "name": "Bill KEVIN"
            }
        },
        {
            "status": "98",
            "time": "2016-06-23T15:01:08Z"
        },
        {
            "status": "1",
            "time": "2016-06-23T15:01:08Z"
        },
        {
            "status": "67",
            "time": "2016-06-23T15:23:58Z",
            "who": {
                "id": 2,
                "name": "Bill KEVIN"
            }
        },
        {
            "status": "87",
            "time": "2016-06-23T15:24:02Z"
        },
        {
            "status": "69",
            "time": "2016-06-23T15:24:03Z"
        },
        {
            "status": "15",
            "time": "2016-06-23T15:24:04Z"
        },
        {
            "status": "70",
            "time": "2016-06-28T09:40:27Z",
            "who": {
                "id": 2,
                "name": "Bill KEVIN"
            }
        },
        {
            "status": "17",
            "time": "2016-06-28T09:40:27Z"
        },
        {
            "status": "71",
            "time": "2016-06-28T12:01:16Z",
            "who": {
                "id": 2,
                "name": "Bill KEVIN"
            }
        },
        {
            "status": "72",
            "time": "2016-06-28T12:01:17Z"
        },
        {
            "status": "18",
            "time": "2016-06-28T12:01:17Z"
        },
        {
            "status": "13",
            "time": "2016-06-28T12:01:39Z",
            "who": {
                "id": 2,
                "name": "Bill KEVIN"
            }
        },
        {
            "status": "28",
            "time": "2016-06-28T12:01:46Z",
            "who": {
                "id": 2,
                "name": "Bill KEVIN"
            }
        },
        {
            "status": "28",
            "time": "2016-07-20T08:53:43Z",
            "who": {
                "id": 2,
                "name": "Bill KEVIN"
            }
        }
    ],
    "fields": {
        "adressebeneficiaire": "rue de la folie",
        "aide_ccas": "Non",
        "aide_ccas_raw": "Non",
        "aidebeneficiaire": null,
        "aidebeneficiaire_raw": [],
        "anneefoncier": "2015",
        "anneerefrevenu": "2015",
        "anneerefrevenuconjoint": null,
        "bienbatis": "1000",
        "bienimmobilier": "Oui",
        "bienimmobilier_raw": "Oui",
        "biennonbatis": "0",
        "civilitebeneficiaire": "Monsieur",
        "civilitebeneficiaire_raw": "Monsieur",
        "civiliteconjoint": null,
        "civiliteconjoint_raw": null,
        "civilitedemandeur": "Monsieur",
        "civilitedemandeur_raw": "Monsieur",
        "clerib": "59",
        "code_commune": "14930 ETERVILLE",
        "code_commune_raw": "commune-14-254",
        "codebanque": "10207",
        "codeguichet": "00091",
        "compadressebeneficiaire": null,
        "courrielbeneficiaire": "vclaudet@entrouvert.com",
        "courrieldemandeur": "vclaudet@entrouvert.com",
        "date_etablissement": "2014-03-07",
        "dnnbeneficiaire": "1951-01-31",
        "dnnconjoint": null,
        "domicilebanque": "populaire",
        "exadressebeneficiaire": "les charmes",
        "excode_commune": "14350 BEAULIEU",
        "excode_commune_raw": "commune-14-52",
        "excompadressebeneficiaire": null,
        "exdateinstallbeneficiaire": "2004-06-16",
        "lieunbeneficiaire": "Eterville",
        "listeComptes": [
            [
                "livret ",
                "populaire",
                "16000",
                "150"
            ],
            [
                "courant",
                "populaire",
                "5000",
                "0"
            ]
        ],
        "nationalitebeneficiaire": "National",
        "nationalitebeneficiaire_raw": "National",
        "nombeneficiaire": "FISH",
        "nomconjoint": null,
        "nomdemandeur": "Claudet",
        "nomdenaissance": null,
        "nometablissement": "les milles forets",
        "nomnaissanceconjoint": null,
        "nomorganisme": null,
        "numcompte": "04091002520",
        "occupationlogement": "Non",
        "occupationlogement_raw": "Non",
        "participationconjoint": null,
        "participationconjoint_raw": null,
        "prenombeneficiaire": "Richard",
        "prenomconjoint": null,
        "prenomdemandeur": "Victor",
        "profildemandeur": "Je suis un proche du b\u00e9n\u00e9ficiaire (parent, autre)",
        "profildemandeur_raw": "Je suis un proche du b\u00e9n\u00e9ficiaire (parent, autre)",
        "proprietaire": "Non",
        "proprietaire_raw": "Non",
        "regretraitebeneficiaire": "poste",
        "retraitebeneficiaire": "Oui",
        "retraitebeneficiaire_raw": "Oui",
        "revenuBic": "0",
        "revenuBicConjoint": null,
        "revenuFoncier": "7000",
        "revenuFoncierConjoint": null,
        "revenuPrelevement": "0",
        "revenuPrelevementConjoint": null,
        "revenuRetraite": "32000",
        "revenuRetraiteConjoint": null,
        "revenuSalaire": "0",
        "revenuSalaireConjoint": null,
        "sepa_bic": "CCBPFRPPMTG",
        "sepa_iban": "FR76102070009104091002520",
        "situationfamillebeneficiaire": "Veuf(ve)",
        "situationfamillebeneficiaire_raw": "Veuf(ve)",
        "telbeneficiaire": null,
        "teldemandeur": "0669070300",
        "titulairecompte": "FISH Richard",
        "typeprotectionorga": null,
        "typeprotectionorga_raw": null,
        "typeprotectionpers": null,
        "typeprotectionpers_raw": null
    },
    "id": "premiere-demande-d-apa-en-etablissement/1",
    "last_update_time": "2016-07-20T08:53:43Z",
    "receipt_time": "2016-06-23T15:01:02Z",
    "roles": {
        "_receiver": [
            {
                "allows_backoffice_access": true,
                "details": "",
                "emails": [],
                "emails_to_members": true,
                "id": "25",
                "name": "Gestionnaire Caen Agglom\u00e9ration 4",
                "slug": "gestionnaire-caen-agglomeration-4",
                "text": "Gestionnaire Caen Agglom\u00e9ration 4"
            }
        ],
        "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": "",
                "emails": [],
                "emails_to_members": true,
                "id": "25",
                "name": "Gestionnaire Caen Agglom\u00e9ration 4",
                "slug": "gestionnaire-caen-agglomeration-4",
                "text": "Gestionnaire Caen Agglom\u00e9ration 4"
            },
            {
                "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": "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"
            }
        ],
        "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": "",
                "emails": [],
                "emails_to_members": true,
                "id": "25",
                "name": "Gestionnaire Caen Agglom\u00e9ration 4",
                "slug": "gestionnaire-caen-agglomeration-4",
                "text": "Gestionnaire Caen Agglom\u00e9ration 4"
            },
            {
                "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": "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"
            }
        ]
    },
    "submission": {
        "backoffice": false,
        "channel": "web"
    },
    "url": "https://calvados.test.entrouvert.org/premiere-demande-d-apa-en-etablissement/1/",
    "user": {
        "id": 2,
        "name": "Bill KEVIN"
    },
    "workflow": {
        "data": {
            "adresse_var_code_commune": "14930 ETERVILLE",
            "adresse_var_code_commune_raw": "commune-14-254",
            "adresse_var_code_lieu": "RUE DU JARDIN DE LA FERME",
            "adresse_var_code_lieu_raw": "Z001",
            "adresse_var_num_lieu": "1",
            "cherche_homonyme_conjoint_response": {
                "data": [],
                "err": 0
            },
            "cherche_homonyme_conjoint_status": 200,
            "cherche_homonyme_conjoint_time": "2016-06-23T17:24:03.449890",
            "cherche_homonyme_response": {
                "data": [],
                "err": 0
            },
            "cherche_homonyme_status": 200,
            "cherche_homonyme_time": "2016-06-23T17:24:02.372697",
            "dispatch_response": {
                "data": [
                    {
                        "clic": "CAEN-AGGLO-2",
                        "cp": "14930",
                        "id": "commune-14-254",
                        "nom": "ETERVILLE"
                    }
                ],
                "err": 0
            },
            "dispatch_status": 200,
            "dispatch_time": "2016-06-23T17:01:04.703712",
            "etablissement_var_nometablissement": "FOYER OCCUPATIONEL LA CHAPELLE PRES SEES",
            "etablissement_var_nometablissement_raw": "etablissement_asg-820",
            "integration_error_response": {
                "data": null,
                "err": 1,
                "err_class": "ValueError",
                "err_desc": "integration ws: error code 500"
            },
            "integration_status": 500,
            "integration_time": "2016-07-20T10:53:53.079709",
            "retraite_var_listeretraite": "CAISSE ASSURANCE RETRAITE SANTE TRAVAIL - CARSAT",
            "retraite_var_listeretraite_raw": "organisme_retraite-1"
        },
        "status": {
            "id": "28",
            "name": "Dossier complet"
        }
    }
}
