POST api/Facturation/RecalculateFacture?factureKeys={factureKeys}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
factureKeys

string

Required

Body Parameters

Collection of KeysCdeEnt
NameDescriptionTypeAdditional information
cde

string

None.

date

string

None.

client

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "cde": "sample string 1",
    "date": "sample string 2",
    "client": "sample string 3"
  },
  {
    "cde": "sample string 1",
    "date": "sample string 2",
    "client": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfKeysCdeEnt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAGACore">
  <KeysCdeEnt>
    <cde>sample string 1</cde>
    <client>sample string 3</client>
    <date>sample string 2</date>
  </KeysCdeEnt>
  <KeysCdeEnt>
    <cde>sample string 1</cde>
    <client>sample string 3</client>
    <date>sample string 2</date>
  </KeysCdeEnt>
</ArrayOfKeysCdeEnt>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

JSonGenericOfBoolean
NameDescriptionTypeAdditional information
Response

boolean

None.

Datas

boolean

None.

ServiceName

string

None.

Parameters

string

None.

Status

ReturnErrorStatus

None.

ErrorMessage

string

None.

Error

jsonExceptionIES

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": true,
  "Datas": true,
  "ServiceName": "sample string 3",
  "Parameters": "sample string 4",
  "Status": 0,
  "ErrorMessage": "sample string 5",
  "Error": {
    "Code": "sample string 1",
    "Details": "sample string 2",
    "Message": "sample string 3",
    "Level": 1
  }
}

application/xml, text/xml

Sample:
<JSonGenericOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ForSagaMiddleware">
  <Error>
    <Code>sample string 1</Code>
    <Details>sample string 2</Details>
    <Level>Info</Level>
    <Message>sample string 3</Message>
  </Error>
  <ErrorMessage>sample string 5</ErrorMessage>
  <Parameters>sample string 4</Parameters>
  <ServiceName>sample string 3</ServiceName>
  <Status>Error</Status>
  <Datas>true</Datas>
  <Response>true</Response>
</JSonGenericOfboolean>