POST api/Reporting

Request Information

URI Parameters

None.

Body Parameters

ReportingModel
NameDescriptionTypeAdditional information
data

ReportingPaieModel

None.

Primes

Collection of ReportingPrimesPaie

None.

Request Formats

application/json, text/json

Sample:
{
  "data": {
    "Du": "sample string 1",
    "Au": "sample string 2",
    "Reference": "sample string 3",
    "Genre": "sample string 4",
    "Departement": "sample string 5",
    "SalaireDeBase": 6.0,
    "CongePaye": 7.0,
    "NomCollab": "sample string 8",
    "SalaireBrut": 9.0,
    "CotisationCnss": 10.0,
    "SalaireImposable": 11.0,
    "SalaireNet": 12.0,
    "Irpp": 13.0,
    "CssTaux": 14.0,
    "MontantOnLetter": "sample string 15",
    "NumeroCNSS": "sample string 16",
    "TotalDeduire": 17.0
  },
  "Primes": [
    {
      "PrimeDesc": "sample string 1",
      "MontantPrime": "sample string 2",
      "IsCotisable": true,
      "IsExceptionel": true
    },
    {
      "PrimeDesc": "sample string 1",
      "MontantPrime": "sample string 2",
      "IsCotisable": true,
      "IsExceptionel": true
    }
  ]
}

application/xml, text/xml

Sample:
<ReportingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GestionPaie.ReportingClasses">
  <Primes>
    <ReportingPrimesPaie>
      <IsCotisable>true</IsCotisable>
      <IsExceptionel>true</IsExceptionel>
      <MontantPrime>sample string 2</MontantPrime>
      <PrimeDesc>sample string 1</PrimeDesc>
    </ReportingPrimesPaie>
    <ReportingPrimesPaie>
      <IsCotisable>true</IsCotisable>
      <IsExceptionel>true</IsExceptionel>
      <MontantPrime>sample string 2</MontantPrime>
      <PrimeDesc>sample string 1</PrimeDesc>
    </ReportingPrimesPaie>
  </Primes>
  <data>
    <Au>sample string 2</Au>
    <CongePaye>7</CongePaye>
    <CotisationCnss>10</CotisationCnss>
    <CssTaux>14</CssTaux>
    <Departement>sample string 5</Departement>
    <Du>sample string 1</Du>
    <Genre>sample string 4</Genre>
    <Irpp>13</Irpp>
    <MontantOnLetter>sample string 15</MontantOnLetter>
    <NomCollab>sample string 8</NomCollab>
    <NumeroCNSS>sample string 16</NumeroCNSS>
    <Reference>sample string 3</Reference>
    <SalaireBrut>9</SalaireBrut>
    <SalaireDeBase>6</SalaireDeBase>
    <SalaireImposable>11</SalaireImposable>
    <SalaireNet>12</SalaireNet>
    <TotalDeduire>17</TotalDeduire>
  </data>
</ReportingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of byte

Response Formats

application/json, text/json

Sample:
"QEA="

application/xml, text/xml

Sample:
<base64Binary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">QEA=</base64Binary>