Assurance Moto spécifique (MOTO SPECIFIQUE)

API change history

Produit développé sur-mesure pour un partenaire spécifique.

/getPrice

Requête REST de tarification

Try it

Request URL

Request headers

(optional)
string

Code Partenariat La Parisienne Assurances

(optional)
string
Media type of the body sent to the API.
string
Subscription key which provides access to this API. Found in your Profile.

Request body

{
  "DateEffet": "3/11/2017",
  "Fractionnement": "Annuel",
  "Formule": "Confort",
  "LatitudeCommercialeDemandee": "0%",
  "DateNaissanceConducteur": "1/1/1970",
  "DatePermisMOTO": "1/1/2011",
  "TypePermisMOTO": "A",
  "DatePermisAUTO": "1/1/2007",
  "CrmMOTO": "80",
  "CrmAUTO": "100",
  "AntecedentsAssurance": "36 mois d'assurance au cours des 36 derniers mois",
  "SituationFamilialeConducteur": "Célibataire",
  "CSPConducteur": "Salarié",
  "RAG": "Aucun",
  "MotifResiliationPrecedentAssureur": "Aucun",
  "AncienneteContratPrecedentAssureurs": "]1 ; 2]",
  "IdVehicule": "BW07092",
  "DateMiseCirculation": "1/1/2013",
  "Usage": "Privé sans trajet",
  "TrajetVacances": "Non",
  "Circuit": "Non",
  "GarageClos": "Oui",
  "CodePostalResidence": "01000",
  "CommuneResidence": "BOURG-EN-BRESSE",
  "CodePostalTravail": "93320",
  "CommuneTravail": "LES PAVILLONS-SOUS-BOIS",
  "36NbSinistresRCDOMResponsable": "0",
  "36NbSinistresRCDOMNonResponsable": "0",
  "36NbSinistresBrisDeGlace": "0",
  "36NbSinistresVol": "0",
  "AUTO36NbSinistresMaterielResponsable": "0",
  "AUTO36NbSinistresMaterielNonResponsable": "0",
  "MOTO36NbSinistresMaterielResponsable": "0",
  "MOTO36NbSinistresMaterielNonResponsable": "0",
  "AUTO36NbSinistresCorporelResponsable": "0",
  "AUTO36NbSinistresCorporelNonResponsable": "0",
  "MOTO36NbSinistresCorporelResponsable": "0",
  "MOTO36NbSinistresCorporelNonResponsable": "0",
  "OptionProtectionPiloteRenforcee": "Non",
  "OptionAccessoires1500": "Non",
  "OptionAccessoires3000": "Non",
  "OptionAccessoires5000": "Non",
  "OptionEquipements1500": "Non",
  "OptionEquipements3000": "Non",
  "OptionAssistanceZeroKmRenforcee": "Non",
  "OptionVehiculeRemplacement": "Non",
  "OptionGarantieJokerTaxi": "Non",
  "OptionContinuiteMobilite": "Non",
  "OptionPerteTotaleCollision": "Non",
  "OptionRachatDeFranchise": "Non",
  "OptionValeurAchat24Mois": "Non"
}
{
  "type": "object",
  "properties": {
    "DateEffet": {
      "description": "Date de début d'effet du contrat (JJ/MM/AAAA)",
      "type": "string",
      "default": "3/11/2017"
    },
    "Fractionnement": {
      "description": "Type de fractionnement de la prime",
      "type": "string",
      "default": "Annuel",
      "enum": [
        "Annuel",
        "Mensuel",
        "Semestriel",
        "Trimestriel"
      ]
    },
    "Formule": {
      "description": "Formule choisie",
      "type": "string",
      "default": "Confort",
      "enum": [
        "Essentielle",
        "Confort",
        "Tous Risques"
      ]
    },
    "LatitudeCommercialeDemandee": {
      "description": "Coefficient Réduction Majoration du tarif. Geste commercial accordé par le distributeur. Un accord préalable de la part de LPA est obligatoire. Ex : on attend -0,10 pour 10% de réduction ou 0,05 pour 5% de majoration.",
      "type": "string",
      "default": "0%",
      "enum": [
        "-15%",
        "-10%",
        "-5%",
        "0%",
        "5%",
        "10%",
        "15%"
      ]
    },
    "DateNaissanceConducteur": {
      "description": "Date de naissance du conducteur (JJ/MM/AAAA)",
      "type": "string",
      "default": "1/1/1970"
    },
    "DatePermisMOTO": {
      "description": "Date d'obtention du permis moto (JJ/MM/AAAA)",
      "type": "string",
      "default": "1/1/2011"
    },
    "TypePermisMOTO": {
      "description": "Type de permis moto",
      "type": "string",
      "default": "A",
      "enum": [
        "A",
        "A1",
        "A2",
        "B",
        "BSR / AM"
      ]
    },
    "DatePermisAUTO": {
      "description": "Date d'obtention du permis auto (JJ/MM/AAAA)",
      "type": "string",
      "default": "1/1/2007"
    },
    "CrmMOTO": {
      "description": "Coefficient de majoration/réduction (CRM) en moto",
      "type": "string",
      "default": "80"
    },
    "CrmAUTO": {
      "description": "Coefficient de majoration/réduction (CRM) en auto",
      "type": "string",
      "default": "100"
    },
    "AntecedentsAssurance": {
      "description": "Antécédents d'assurance",
      "type": "string",
      "default": "36 mois d'assurance au cours des 36 derniers mois",
      "enum": [
        "Pas d’antécédent",
        "Moins de 12 mois d'assurance au cours des 36 derniers mois",
        "Moins de 24 mois d'assurance au cours des 36 derniers mois",
        "Au moins 24 mois d'assurance au cours des 36 derniers mois",
        "36 mois d'assurance au cours des 36 derniers mois"
      ]
    },
    "SituationFamilialeConducteur": {
      "description": "Situation familiale du conducteur",
      "type": "string",
      "default": "Célibataire",
      "enum": [
        "Concubin Concubine",
        "Célibataire",
        "Divorcé Divorcée",
        "Marié Mariée",
        "Veuf Veuve"
      ]
    },
    "CSPConducteur": {
      "description": "Catégorie Socio Professionnelle CSP du conducteur",
      "type": "string",
      "default": "Salarié",
      "enum": [
        "Agriculteur",
        "Artisan-Commercant",
        "Autres",
        "Fonctionnaire",
        "Retraité",
        "Salarié",
        "Etudiant",
        "Société",
        "Cadre",
        "Profession Libérale",
        "Sans profession"
      ]
    },
    "RAG": {
      "description": "Critères d'aggravation du risque",
      "type": "string",
      "default": "Aucun",
      "enum": [
        "Aucun",
        "Condamnation sous Alcool/Stup",
        "Délit de fuite",
        "RNPP",
        "Fausse décla",
        "Suspension"
      ]
    },
    "MotifResiliationPrecedentAssureur": {
      "description": "Motif de résiliation du précédent assureur",
      "type": "string",
      "default": "Aucun",
      "enum": [
        "Aucun",
        "Non Paiement de prime",
        "Sinistre",
        "Autre aggavation",
        "Fausse déclaration",
        "Nullité",
        "Sanctions pénales"
      ]
    },
    "AncienneteContratPrecedentAssureurs": {
      "description": "Ancienneté de contrats chez les assureurs précédents",
      "type": "string",
      "default": "]1 ; 2]",
      "enum": [
        "Pas d'antécédent",
        "<= 1 an",
        "]1 ; 2]",
        "]2 ; 5]",
        "> à 5 ans"
      ]
    },
    "IdVehicule": {
      "description": "Identifiant(code SRA) unique d'un véhicule selon le référentiel officiel issu de Asso.Sra.fr",
      "type": "string",
      "default": "BW07092"
    },
    "DateMiseCirculation": {
      "description": "Date de première mise en circulation du véhicule (JJ/MM/AAAA)",
      "type": "string",
      "default": "1/1/2013"
    },
    "Usage": {
      "description": "Type d'usage du véhicule",
      "type": "string",
      "default": "Privé sans trajet",
      "enum": [
        "Privé sans trajet",
        "Privé avec trajet",
        "Professionnel",
        "Tournées"
      ]
    },
    "TrajetVacances": {
      "description": "Utilisation dans le cadre d'un trajet vacances",
      "type": "string",
      "default": "Non",
      "enum": [
        "Non",
        "100Km",
        "200Km et plus"
      ]
    },
    "Circuit": {
      "description": "Utilisation du véhicule sur circuit",
      "type": "string",
      "default": "Non",
      "enum": [
        "Oui",
        "Non"
      ]
    },
    "GarageClos": {
      "description": "Le véhicule est dans un garage clos",
      "type": "string",
      "default": "Oui",
      "enum": [
        "Oui",
        "Non"
      ]
    },
    "CodePostalResidence": {
      "description": "Code postal (adresse lieux de résidence) du bien à assurer. Attention le premier zéro à gauche est significatif : \"01\" pour l'AIN",
      "type": "string",
      "default": "01000"
    },
    "CommuneResidence": {
      "description": "Commune rattachée au code postal (adresse lieux de résidence) du bien à assurer. Liste restriente de valeurs autorisées fournies par LPA sur la base du code postal.",
      "type": "string",
      "default": "BOURG-EN-BRESSE"
    },
    "CodePostalTravail": {
      "description": "Code postal (adresse lieux du travail) du bien à assurer. Attention le premier zéro à gauche est significatif : \"01\" pour l'AIN",
      "type": "string",
      "default": "93320"
    },
    "CommuneTravail": {
      "description": "Commune rattachée au code postal (adresse lieux du travail) du bien à assurer. Liste restriente de valeurs autorisées fournies par LPA sur la base du code postal.",
      "type": "string",
      "default": "LES PAVILLONS-SOUS-BOIS"
    },
    "36NbSinistresRCDOMResponsable": {
      "description": "Au cours des 36 derniers mois. Nombre de sinistres RCDOM responsable (0-9)",
      "type": "string",
      "default": "0",
      "enum": [
        "0",
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9"
      ]
    },
    "36NbSinistresRCDOMNonResponsable": {
      "description": "Au cours des 36 derniers mois. Nombre de sinistres RCDOM non responsable (0-9)",
      "type": "string",
      "default": "0",
      "enum": [
        "0",
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9"
      ]
    },
    "36NbSinistresBrisDeGlace": {
      "description": "Au cours des 36 derniers mois. Nombre de sinistres BDG (0-9)",
      "type": "string",
      "default": "0",
      "enum": [
        "0",
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9"
      ]
    },
    "36NbSinistresVol": {
      "description": "Au cours des 36 derniers mois. Nombre de sinistres vol (0-9)",
      "type": "string",
      "default": "0",
      "enum": [
        "0",
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9"
      ]
    },
    "AUTO36NbSinistresMaterielResponsable": {
      "description": "Au cours des 36 derniers mois. Nombre de sinistres AUTO matériel responsable (0-9)",
      "type": "string",
      "default": "0",
      "enum": [
        "0",
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9"
      ]
    },
    "AUTO36NbSinistresMaterielNonResponsable": {
      "description": "Au cours des 36 derniers mois. Nombre de sinistres AUTO matériel non responsable (0-9)",
      "type": "string",
      "default": "0",
      "enum": [
        "0",
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9"
      ]
    },
    "MOTO36NbSinistresMaterielResponsable": {
      "description": "Au cours des 36 derniers mois. Nombre de sinistres MOTO matériel responsable (0-9)",
      "type": "string",
      "default": "0",
      "enum": [
        "0",
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9"
      ]
    },
    "MOTO36NbSinistresMaterielNonResponsable": {
      "description": "Au cours des 36 derniers mois. Nombre de sinistres MOTO matériel non responsable (0-9)",
      "type": "string",
      "default": "0",
      "enum": [
        "0",
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9"
      ]
    },
    "AUTO36NbSinistresCorporelResponsable": {
      "description": "Au cours des 36 derniers mois. Nombre de sinistres AUTO corporel responsable (0-9)",
      "type": "string",
      "default": "0",
      "enum": [
        "0",
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9"
      ]
    },
    "AUTO36NbSinistresCorporelNonResponsable": {
      "description": "Au cours des 36 derniers mois. Nombre de sinistres AUTO corporel non responsable (0-9)",
      "type": "string",
      "default": "0",
      "enum": [
        "0",
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9"
      ]
    },
    "MOTO36NbSinistresCorporelResponsable": {
      "description": "Au cours des 36 derniers mois. Nombre de sinistres MOTO corporel responsable (0-9)",
      "type": "string",
      "default": "0",
      "enum": [
        "0",
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9"
      ]
    },
    "MOTO36NbSinistresCorporelNonResponsable": {
      "description": "Au cours des 36 derniers mois. Nombre de sinistres MOTO corporel non responsable (0-9)",
      "type": "string",
      "default": "0",
      "enum": [
        "0",
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9"
      ]
    },
    "OptionProtectionPiloteRenforcee": {
      "description": "Option protection du pilote renforcée",
      "type": "string",
      "default": "Non",
      "enum": [
        "Non",
        "Oui"
      ]
    },
    "OptionAccessoires1500": {
      "description": "Option accessoires 1500 €",
      "type": "string",
      "default": "Non",
      "enum": [
        "Non",
        "Oui"
      ]
    },
    "OptionAccessoires3000": {
      "description": "Option accessoires 3000 €",
      "type": "string",
      "default": "Non",
      "enum": [
        "Non",
        "Oui"
      ]
    },
    "OptionAccessoires5000": {
      "description": "Option accessoires 5000 €",
      "type": "string",
      "default": "Non",
      "enum": [
        "Non",
        "Oui"
      ]
    },
    "OptionEquipements1500": {
      "description": "Option équipements 1500 €",
      "type": "string",
      "default": "Non",
      "enum": [
        "Non",
        "Oui"
      ]
    },
    "OptionEquipements3000": {
      "description": "Option équipements 3000 €",
      "type": "string",
      "default": "Non",
      "enum": [
        "Non",
        "Oui"
      ]
    },
    "OptionAssistanceZeroKmRenforcee": {
      "description": "Option assistance zéro kilomètre renforcée",
      "type": "string",
      "default": "Non",
      "enum": [
        "Non",
        "Oui"
      ]
    },
    "OptionVehiculeRemplacement": {
      "description": "Option véhicule de remplacement",
      "type": "string",
      "default": "Non",
      "enum": [
        "Non",
        "Oui"
      ]
    },
    "OptionGarantieJokerTaxi": {
      "description": "Option Garantie Joker Taxi",
      "type": "string",
      "default": "Non",
      "enum": [
        "Non",
        "Oui"
      ]
    },
    "OptionContinuiteMobilite": {
      "description": "Option continuité mobilité",
      "type": "string",
      "default": "Non",
      "enum": [
        "Non",
        "Oui"
      ]
    },
    "OptionPerteTotaleCollision": {
      "description": "Option perte totale collision",
      "type": "string",
      "default": "Non",
      "enum": [
        "Non",
        "Oui"
      ]
    },
    "OptionRachatDeFranchise": {
      "description": "Option rachat de franchise",
      "type": "string",
      "default": "Non",
      "enum": [
        "Non",
        "Oui"
      ]
    },
    "OptionValeurAchat24Mois": {
      "description": "Option valeur achat 24 mois",
      "type": "string",
      "default": "Non",
      "enum": [
        "Non",
        "Oui"
      ]
    }
  },
  "required": [
    "DateEffet",
    "Fractionnement",
    "Formule",
    "DateNaissanceConducteur",
    "DatePermisMOTO",
    "TypePermisMOTO",
    "DatePermisAUTO",
    "CrmMOTO",
    "CrmAUTO",
    "AntecedentsAssurance",
    "RAG",
    "MotifResiliationPrecedentAssureur",
    "AncienneteContratPrecedentAssureurs",
    "IdVehicule",
    "DateMiseCirculation",
    "Usage",
    "TrajetVacances",
    "Circuit",
    "CodePostalResidence",
    "CommuneResidence",
    "CodePostalTravail",
    "CommuneTravail",
    "36NbSinistresRCDOMResponsable",
    "36NbSinistresRCDOMNonResponsable",
    "36NbSinistresBrisDeGlace",
    "36NbSinistresVol",
    "AUTO36NbSinistresMaterielResponsable",
    "AUTO36NbSinistresMaterielNonResponsable",
    "MOTO36NbSinistresMaterielResponsable",
    "MOTO36NbSinistresMaterielNonResponsable",
    "AUTO36NbSinistresCorporelResponsable",
    "AUTO36NbSinistresCorporelNonResponsable",
    "MOTO36NbSinistresCorporelResponsable",
    "MOTO36NbSinistresCorporelNonResponsable",
    "OptionProtectionPiloteRenforcee",
    "OptionAccessoires1500",
    "OptionAccessoires3000",
    "OptionAccessoires5000",
    "OptionEquipements1500",
    "OptionEquipements3000",
    "OptionAssistanceZeroKmRenforcee",
    "OptionVehiculeRemplacement",
    "OptionGarantieJokerTaxi",
    "OptionContinuiteMobilite",
    "OptionPerteTotaleCollision",
    "OptionRachatDeFranchise",
    "OptionValeurAchat24Mois"
  ]
}

Response 200

{
  "QuoteReference": "00000000-0000-0000-0000-000000000000",
  "statusCode": 200,
  "message": "OK",
  "MontantTotalPrimeHT": "218.33",
  "MontantTotalCommissions": "39.19",
  "MontantTotalTaxes": "49.33",
  "MontantTotalPrimeTTC": "267.66",
  "CoefficientLatitude": "0.00",
  "TauxCommissionnementPartenariat": "0.18",
  "ProfilConducteur": "Move",
  "Garanties": [
    {
      "CodeGarantie": "RCX",
      "MontantPrimeHT": "66.91",
      "MontantTotalCommissions": "12.04",
      "MontantTotalTaxes": "23.42",
      "MontantPrimeTTC": "90.33",
      "Plafond": "Mat : 5 000 000 €",
      "Franchise": "Prêt de guidon : 900 € (novice : 1 500 €)"
    },
    {
      "CodeGarantie": "DRX",
      "MontantPrimeHT": "40.15",
      "MontantTotalCommissions": "7.23",
      "MontantTotalTaxes": "3.61",
      "MontantPrimeTTC": "43.76",
      "Plafond": "4 600 € HT",
      "Franchise": "Seuil : 305 €"
    },
    {
      "CodeGarantie": "PJ",
      "MontantPrimeHT": "11.33",
      "MontantTotalCommissions": "2.04",
      "MontantTotalTaxes": "1.52",
      "MontantPrimeTTC": "12.85",
      "Plafond": "16 000 €",
      "Franchise": "Seuil : 300 €"
    },
    {
      "CodeGarantie": "ASS",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "",
      "Franchise": ""
    },
    {
      "CodeGarantie": "PROPIL",
      "MontantPrimeHT": "34.62",
      "MontantTotalCommissions": "6.23",
      "MontantTotalTaxes": "3.12",
      "MontantPrimeTTC": "37.74",
      "Plafond": "200 000 €",
      "Franchise": "10% d’AIPP"
    },
    {
      "CodeGarantie": "PROPIL",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "500 000 €",
      "Franchise": "10% d’AIPP"
    },
    {
      "CodeGarantie": "VLX",
      "MontantPrimeHT": "30.38",
      "MontantTotalCommissions": "5.47",
      "MontantTotalTaxes": "5.47",
      "MontantPrimeTTC": "35.85",
      "Plafond": "Valeur éco (limite 50 000 €)",
      "Franchise": "350.00"
    },
    {
      "CodeGarantie": "INC",
      "MontantPrimeHT": "5.79",
      "MontantTotalCommissions": "1.04",
      "MontantTotalTaxes": "1.04",
      "MontantPrimeTTC": "6.83",
      "Plafond": "Valeur éco (limite 50 000 €)",
      "Franchise": "350.00"
    },
    {
      "CodeGarantie": "CATNAT",
      "MontantPrimeHT": "1.05",
      "MontantTotalCommissions": "0.08",
      "MontantTotalTaxes": "0.19",
      "MontantPrimeTTC": "1.24",
      "Plafond": "Valeur éco (limite 50 000 €)",
      "Franchise": "381.00"
    },
    {
      "CodeGarantie": "CATEC",
      "MontantPrimeHT": "4.15",
      "MontantTotalCommissions": "0.75",
      "MontantTotalTaxes": "0.75",
      "MontantPrimeTTC": "4.90",
      "Plafond": "Valeur éco (limite 50 000 €)",
      "Franchise": ""
    },
    {
      "CodeGarantie": "CASQ",
      "MontantPrimeHT": "21.97",
      "MontantTotalCommissions": "3.95",
      "MontantTotalTaxes": "3.95",
      "MontantPrimeTTC": "25.92",
      "Plafond": "330 €",
      "Franchise": ""
    },
    {
      "CodeGarantie": "DOM",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "Valeur éco (limite 50 000 €)",
      "Franchise": "320.00"
    },
    {
      "CodeGarantie": "BOPT",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "Valeur de remplacement",
      "Franchise": "30 € en cas de remplacement"
    },
    {
      "CodeGarantie": "ACCESS",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "1 500 €",
      "Franchise": "10% dans la limite de 150 €"
    },
    {
      "CodeGarantie": "ACCESS",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "3 000 €",
      "Franchise": "10% dans la limite de 150 €"
    },
    {
      "CodeGarantie": "ACCESS",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "5 000 €",
      "Franchise": "10% dans la limite de 150 €"
    },
    {
      "CodeGarantie": "EQUIMOT",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "1 500 €",
      "Franchise": "10% dans la limite de 150 €"
    },
    {
      "CodeGarantie": "EQUIMOT",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "3 000 €",
      "Franchise": "10% dans la limite de 150 €"
    },
    {
      "CodeGarantie": "OBJTR",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "1 500 €",
      "Franchise": "10% dans la limite de 150 €"
    },
    {
      "CodeGarantie": "ASS+",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "",
      "Franchise": "0 €"
    },
    {
      "CodeGarantie": "VR",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "",
      "Franchise": ""
    },
    {
      "CodeGarantie": "TAX",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "50 € TTC : 1 occurrence par an",
      "Franchise": ""
    },
    {
      "CodeGarantie": "MOB",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "",
      "Franchise": ""
    },
    {
      "CodeGarantie": "PTX",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "2 500 €",
      "Franchise": "150 €"
    },
    {
      "CodeGarantie": "RFRA",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "",
      "Franchise": ""
    },
    {
      "CodeGarantie": "VAN",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "12 mois",
      "Franchise": ""
    },
    {
      "CodeGarantie": "VAN",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "24 mois",
      "Franchise": ""
    },
    {
      "CodeGarantie": "CIR",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "0.00",
      "MontantPrimeTTC": "0.00",
      "Plafond": "",
      "Franchise": ""
    },
    {
      "CodeGarantie": "SECU",
      "MontantPrimeHT": "0.99",
      "MontantTotalCommissions": "0.18",
      "MontantTotalTaxes": "0.18",
      "MontantPrimeTTC": "1.17",
      "Plafond": "",
      "Franchise": ""
    },
    {
      "CodeGarantie": "STAG",
      "MontantPrimeHT": "0.99",
      "MontantTotalCommissions": "0.18",
      "MontantTotalTaxes": "0.18",
      "MontantPrimeTTC": "1.17",
      "Plafond": "",
      "Franchise": ""
    },
    {
      "CodeGarantie": "ATTEN",
      "MontantPrimeHT": "0.00",
      "MontantTotalCommissions": "0.00",
      "MontantTotalTaxes": "5.90",
      "MontantPrimeTTC": "5.90",
      "Plafond": "0.00",
      "Franchise": "0.00"
    }
  ]
}

Response 400

{
  "statusCode": 400,
  "message": "Bad request"
}

Response 401

{
  "statusCode": 401,
  "message": "Unauthorized, please provide a valid PartnershipCode."
}

Response 524

{
  "statusCode": 524,
  "message": "A Timeout Occurred, please retry"
}

Code samples

@ECHO OFF

curl -v -X POST "https://api.la-parisienne.fr/MOTO_SPECIFIQUE/getPrice"
-H "PartnershipCode: "
-H "Content-Type: application/json"
-H "Ocp-Apim-Subscription-Key: {subscription key}"

--data-ascii "{body}" 
using System;
using System.Net.Http.Headers;
using System.Text;
using System.Net.Http;
using System.Web;

namespace CSHttpClientSample
{
    static class Program
    {
        static void Main()
        {
            MakeRequest();
            Console.WriteLine("Hit ENTER to exit...");
            Console.ReadLine();
        }
        
        static async void MakeRequest()
        {
            var client = new HttpClient();
            var queryString = HttpUtility.ParseQueryString(string.Empty);

            // Request headers
            client.DefaultRequestHeaders.Add("PartnershipCode", "");
            client.DefaultRequestHeaders.Add("Ocp-Apim-Subscription-Key", "{subscription key}");

            var uri = "https://api.la-parisienne.fr/MOTO_SPECIFIQUE/getPrice?" + queryString;

            HttpResponseMessage response;

            // Request body
            byte[] byteData = Encoding.UTF8.GetBytes("{body}");

            using (var content = new ByteArrayContent(byteData))
            {
               content.Headers.ContentType = new MediaTypeHeaderValue("< your content type, i.e. application/json >");
               response = await client.PostAsync(uri, content);
            }

        }
    }
}	
// // This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
import java.net.URI;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.utils.URIBuilder;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;

public class JavaSample 
{
    public static void main(String[] args) 
    {
        HttpClient httpclient = HttpClients.createDefault();

        try
        {
            URIBuilder builder = new URIBuilder("https://api.la-parisienne.fr/MOTO_SPECIFIQUE/getPrice");


            URI uri = builder.build();
            HttpPost request = new HttpPost(uri);
            request.setHeader("PartnershipCode", "");
            request.setHeader("Content-Type", "application/json");
            request.setHeader("Ocp-Apim-Subscription-Key", "{subscription key}");


            // Request body
            StringEntity reqEntity = new StringEntity("{body}");
            request.setEntity(reqEntity);

            HttpResponse response = httpclient.execute(request);
            HttpEntity entity = response.getEntity();

            if (entity != null) 
            {
                System.out.println(EntityUtils.toString(entity));
            }
        }
        catch (Exception e)
        {
            System.out.println(e.getMessage());
        }
    }
}

<!DOCTYPE html>
<html>
<head>
    <title>JSSample</title>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
</head>
<body>

<script type="text/javascript">
    $(function() {
        var params = {
            // Request parameters
        };
      
        $.ajax({
            url: "https://api.la-parisienne.fr/MOTO_SPECIFIQUE/getPrice?" + $.param(params),
            beforeSend: function(xhrObj){
                // Request headers
                xhrObj.setRequestHeader("PartnershipCode","");
                xhrObj.setRequestHeader("Content-Type","application/json");
                xhrObj.setRequestHeader("Ocp-Apim-Subscription-Key","{subscription key}");
            },
            type: "POST",
            // Request body
            data: "{body}",
        })
        .done(function(data) {
            alert("success");
        })
        .fail(function() {
            alert("error");
        });
    });
</script>
</body>
</html>
#import <Foundation/Foundation.h>

int main(int argc, const char * argv[])
{
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    
    NSString* path = @"https://api.la-parisienne.fr/MOTO_SPECIFIQUE/getPrice";
    NSArray* array = @[
                         // Request parameters
                         @"entities=true",
                      ];
    
    NSString* string = [array componentsJoinedByString:@"&"];
    path = [path stringByAppendingFormat:@"?%@", string];

    NSLog(@"%@", path);

    NSMutableURLRequest* _request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:path]];
    [_request setHTTPMethod:@"POST"];
    // Request headers
    [_request setValue:@"" forHTTPHeaderField:@"PartnershipCode"];
    [_request setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
    [_request setValue:@"{subscription key}" forHTTPHeaderField:@"Ocp-Apim-Subscription-Key"];
    // Request body
    [_request setHTTPBody:[@"{body}" dataUsingEncoding:NSUTF8StringEncoding]];
    
    NSURLResponse *response = nil;
    NSError *error = nil;
    NSData* _connectionData = [NSURLConnection sendSynchronousRequest:_request returningResponse:&response error:&error];

    if (nil != error)
    {
        NSLog(@"Error: %@", error);
    }
    else
    {
        NSError* error = nil;
        NSMutableDictionary* json = nil;
        NSString* dataString = [[NSString alloc] initWithData:_connectionData encoding:NSUTF8StringEncoding];
        NSLog(@"%@", dataString);
        
        if (nil != _connectionData)
        {
            json = [NSJSONSerialization JSONObjectWithData:_connectionData options:NSJSONReadingMutableContainers error:&error];
        }
        
        if (error || !json)
        {
            NSLog(@"Could not parse loaded json with error:%@", error);
        }
        
        NSLog(@"%@", json);
        _connectionData = nil;
    }
    
    [pool drain];

    return 0;
}
<?php
// This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
require_once 'HTTP/Request2.php';

$request = new Http_Request2('https://api.la-parisienne.fr/MOTO_SPECIFIQUE/getPrice');
$url = $request->getUrl();

$headers = array(
    // Request headers
    'PartnershipCode' => '',
    'Content-Type' => 'application/json',
    'Ocp-Apim-Subscription-Key' => '{subscription key}',
);

$request->setHeader($headers);

$parameters = array(
    // Request parameters
);

$url->setQueryVariables($parameters);

$request->setMethod(HTTP_Request2::METHOD_POST);

// Request body
$request->setBody("{body}");

try
{
    $response = $request->send();
    echo $response->getBody();
}
catch (HttpException $ex)
{
    echo $ex;
}

?>
########### Python 2.7 #############
import httplib, urllib, base64

headers = {
    # Request headers
    'PartnershipCode': '',
    'Content-Type': 'application/json',
    'Ocp-Apim-Subscription-Key': '{subscription key}',
}

params = urllib.urlencode({
})

try:
    conn = httplib.HTTPSConnection('api.la-parisienne.fr')
    conn.request("POST", "/MOTO_SPECIFIQUE/getPrice?%s" % params, "{body}", headers)
    response = conn.getresponse()
    data = response.read()
    print(data)
    conn.close()
except Exception as e:
    print("[Errno {0}] {1}".format(e.errno, e.strerror))

####################################

########### Python 3.2 #############
import http.client, urllib.request, urllib.parse, urllib.error, base64

headers = {
    # Request headers
    'PartnershipCode': '',
    'Content-Type': 'application/json',
    'Ocp-Apim-Subscription-Key': '{subscription key}',
}

params = urllib.parse.urlencode({
})

try:
    conn = http.client.HTTPSConnection('api.la-parisienne.fr')
    conn.request("POST", "/MOTO_SPECIFIQUE/getPrice?%s" % params, "{body}", headers)
    response = conn.getresponse()
    data = response.read()
    print(data)
    conn.close()
except Exception as e:
    print("[Errno {0}] {1}".format(e.errno, e.strerror))

####################################
require 'net/http'

uri = URI('https://api.la-parisienne.fr/MOTO_SPECIFIQUE/getPrice')


request = Net::HTTP::Post.new(uri.request_uri)
# Request headers
request['PartnershipCode'] = ''
# Request headers
request['Content-Type'] = 'application/json'
# Request headers
request['Ocp-Apim-Subscription-Key'] = '{subscription key}'
# Request body
request.body = "{body}"

response = Net::HTTP.start(uri.host, uri.port, :use_ssl => uri.scheme == 'https') do |http|
    http.request(request)
end

puts response.body