d0a59058e8
Rationale: - is true for only 0.06% of Dossiers - is not displayed anymore anyways - will be a rare case for now * FC adoption is not insane * FC used more for personal than professional matters * not always the mandataires sociaux that fill dossiers for their companies, so not that relevant - we can add it back later
295 lines
8.5 KiB
JSON
295 lines
8.5 KiB
JSON
{
|
|
"dossiers#index": [
|
|
{
|
|
"verb": "GET",
|
|
"path": "/api/v1/procedures/2/dossiers",
|
|
"versions": [
|
|
"1.0"
|
|
],
|
|
"query": "token=92cf04673cb66ab57a0c45e085b5140398ab4b6c",
|
|
"request_data": null,
|
|
"response_data": {
|
|
"dossiers": [
|
|
{
|
|
"id": 2,
|
|
"nom_projet": "Demande de subvention dans le cadre d'accompagnement d'enfant à l'étranger",
|
|
"updated_at": "2008-09-01T08:05:00.000Z",
|
|
"initiated_at": "2008-09-02T08:05:00.000Z"
|
|
}
|
|
],
|
|
"pagination": {
|
|
"page": 1,
|
|
"resultats_par_page": 12,
|
|
"nombre_de_page": 1
|
|
}
|
|
},
|
|
"code": "200",
|
|
"show_in_doc": 1,
|
|
"recorded": true
|
|
}
|
|
],
|
|
"dossiers#show": [
|
|
{
|
|
"verb": "GET",
|
|
"path": "/api/v1/procedures/1/dossiers/1",
|
|
"versions": [
|
|
"1.0"
|
|
],
|
|
"query": "token=7cba5df87cf134d07c3c467eb21b4f2a2b2605be",
|
|
"request_data": null,
|
|
"response_data": {
|
|
"dossier": {
|
|
"id": 1,
|
|
"nom_projet": "Demande de subvention dans le cadre d'accompagnement d'enfant à l'étranger",
|
|
"description": "Ma super description",
|
|
"created_at": "2008-09-01T08:05:00.000Z",
|
|
"updated_at": "2008-09-01T08:05:00.000Z",
|
|
"archived": false,
|
|
"state": "initiated",
|
|
"simplified_state": "En construction",
|
|
"initiated_at": "2017-04-11T12:00:12.000Z",
|
|
"received_at": null,
|
|
"processed_at": null,
|
|
"motivation": null,
|
|
"accompagnateurs": [
|
|
"gestionnaire@apientreprise.fr"
|
|
],
|
|
"invites": [
|
|
"nom@domaine.fr"
|
|
],
|
|
"individual": {
|
|
"nom": "Monmari",
|
|
"prenom": "René"
|
|
},
|
|
"entreprise": {
|
|
"siren": "440117620",
|
|
"capital_social": 537100000,
|
|
"numero_tva_intracommunautaire": "FR27440117620",
|
|
"forme_juridique": "SA à conseil d'administration (s.a.i.)",
|
|
"forme_juridique_code": "5599",
|
|
"nom_commercial": "GRTGAZ",
|
|
"raison_sociale": "GRTGAZ",
|
|
"siret_siege_social": "44011762001530",
|
|
"code_effectif_entreprise": "51",
|
|
"date_creation": "2016-01-28T10:16:29.000Z",
|
|
"nom": null,
|
|
"prenom": null
|
|
},
|
|
"etablissement": {
|
|
"siret": "44011762001530",
|
|
"siege_social": true,
|
|
"naf": "4950Z",
|
|
"libelle_naf": "Transports par conduites",
|
|
"adresse": "GRTGAZ\r IMMEUBLE BORA\r 6 RUE RAOUL NORDLING\r 92270 BOIS COLOMBES\r",
|
|
"numero_voie": "6",
|
|
"type_voie": "RUE",
|
|
"nom_voie": "RAOUL NORDLING",
|
|
"complement_adresse": "IMMEUBLE BORA",
|
|
"code_postal": "92270",
|
|
"localite": "BOIS COLOMBES",
|
|
"code_insee_localite": "92009"
|
|
},
|
|
"cerfa": null,
|
|
"champs": [
|
|
{
|
|
"value": null,
|
|
"type_de_champ": {
|
|
"id": 1,
|
|
"libelle": "Description",
|
|
"type": "textarea",
|
|
"order_place": 1,
|
|
"description": "description de votre projet"
|
|
}
|
|
},
|
|
{
|
|
"value": {
|
|
"type": "MultiPolygon",
|
|
"coordinates": [
|
|
[
|
|
[
|
|
[
|
|
2.3050735,
|
|
48.8401501
|
|
],
|
|
[
|
|
2.3052329,
|
|
48.8402106
|
|
],
|
|
[
|
|
2.3053759,
|
|
48.8400422
|
|
],
|
|
[
|
|
2.3050735,
|
|
48.8401501
|
|
]
|
|
]
|
|
]
|
|
]
|
|
},
|
|
"type_de_champ": {
|
|
"id": -1,
|
|
"libelle": "cadastre",
|
|
"type_champ": "cadastre",
|
|
"order_place": -1,
|
|
"descripton": ""
|
|
}
|
|
},
|
|
{
|
|
"value": {
|
|
"type": "MultiPolygon",
|
|
"coordinates": [
|
|
[
|
|
[
|
|
[
|
|
2.3050735,
|
|
48.8401501
|
|
],
|
|
[
|
|
2.3052329,
|
|
48.8402106
|
|
],
|
|
[
|
|
2.3053759,
|
|
48.8400422
|
|
],
|
|
[
|
|
2.3050735,
|
|
48.8401501
|
|
]
|
|
]
|
|
]
|
|
]
|
|
},
|
|
"type_de_champ": {
|
|
"id": -1,
|
|
"libelle": "quartier prioritaire",
|
|
"type_champ": "quartier_prioritaire",
|
|
"order_place": -1,
|
|
"descripton": ""
|
|
}
|
|
},
|
|
{
|
|
"value": {
|
|
"type": "MultiPolygon",
|
|
"coordinates": [
|
|
[
|
|
[
|
|
[
|
|
2.3049509525299072,
|
|
48.84028511554904
|
|
],
|
|
[
|
|
2.305165529251098,
|
|
48.84014035882062
|
|
],
|
|
[
|
|
2.3049670457839966,
|
|
48.84005562298059
|
|
],
|
|
[
|
|
2.3049509525299072,
|
|
48.84028511554904
|
|
]
|
|
]
|
|
]
|
|
]
|
|
},
|
|
"type_de_champ": {
|
|
"id": -1,
|
|
"libelle": "user_geometry",
|
|
"type_champ": "user_geometry",
|
|
"order_place": -1,
|
|
"descripton": ""
|
|
}
|
|
}
|
|
],
|
|
"champs_private": [
|
|
{
|
|
"value": null,
|
|
"type_de_champ": {
|
|
"id": 1,
|
|
"libelle": "Description privée",
|
|
"type_champ": "text",
|
|
"order_place": 0,
|
|
"description": "description privée"
|
|
}
|
|
}
|
|
],
|
|
"pieces_justificatives": [
|
|
{
|
|
"url": null,
|
|
"type_de_piece_justificative": {
|
|
"id": 1,
|
|
"libelle": "RIB",
|
|
"description": "Releve identité bancaire"
|
|
}
|
|
},
|
|
{
|
|
"url": null,
|
|
"type_de_piece_justificative": {
|
|
"id": 2,
|
|
"libelle": "Attestation MSA",
|
|
"description": "recuperation automatique"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"code": "200",
|
|
"show_in_doc": 1,
|
|
"recorded": true
|
|
}
|
|
],
|
|
"procedures#show": [
|
|
{
|
|
"verb": "GET",
|
|
"path": "/api/v1/procedures/3",
|
|
"versions": [
|
|
"1.0"
|
|
],
|
|
"query": "token=cc00dc59ddc89f64c6310bb4e25c55eeb63ee89c",
|
|
"request_data": null,
|
|
"response_data": {
|
|
"procedure": {
|
|
"label": "Demande de subvention",
|
|
"link": "http://localhost",
|
|
"id": 3,
|
|
"description": "Demande de subvention à l'intention des associations",
|
|
"organisation": "Orga DINSIC",
|
|
"direction": "direction DINSIC",
|
|
"archived_at": null,
|
|
"geographic_information": {
|
|
"use_api_carto": true,
|
|
"quartiers_prioritaires": true,
|
|
"cadastre": true
|
|
},
|
|
"types_de_champ": [
|
|
{
|
|
"id": 3,
|
|
"libelle": "Description",
|
|
"type": "textarea",
|
|
"order_place": 1,
|
|
"description": "description de votre projet"
|
|
}
|
|
],
|
|
"types_de_piece_justificative": [
|
|
{
|
|
"id": 5,
|
|
"libelle": "RIB",
|
|
"description": "Releve identité bancaire"
|
|
},
|
|
{
|
|
"id": 6,
|
|
"libelle": "Attestation MSA",
|
|
"description": "recuperation automatique"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"code": "200",
|
|
"show_in_doc": 1,
|
|
"recorded": true
|
|
}
|
|
]
|
|
}
|