PUT api/Invest/Refacturation

Modification d'une refacturation

Request Information

URI Parameters

None.

Body Parameters

Object à modifier

db_Investissement_Refacture
NameDescriptionTypeAdditional information
id_refacture

integer

None.

id_invest

integer

None.

tiers

string

None.

montant

decimal number

None.

facture

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id_refacture": 1,
  "id_invest": 2,
  "tiers": "sample string 3",
  "montant": 4.0,
  "facture": "sample string 5"
}

application/xml, text/xml

Sample:
<db_Investissement_Refacture xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">
  <facture>sample string 5</facture>
  <id_invest>2</id_invest>
  <id_refacture>1</id_refacture>
  <montant>4</montant>
  <tiers>sample string 3</tiers>
</db_Investissement_Refacture>

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 'db_Investissement_Refacture'.

Response Information

Resource Description

Objet modifié

JSonGenericOfInvestissement_Refacture
NameDescriptionTypeAdditional information
Response

Investissement_Refacture

None.

Datas

Investissement_Refacture

None.

ServiceName

string

None.

Parameters

string

None.

Status

ReturnErrorStatus

None.

ErrorMessage

string

None.

Error

jsonExceptionIES

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": {
    "id_refacture": 1,
    "id_invest": 2,
    "tiers": "sample string 3",
    "tiers_nom": "sample string 4",
    "montant": 5.0,
    "facture": "sample string 6"
  },
  "Datas": {
    "id_refacture": 1,
    "id_invest": 2,
    "tiers": "sample string 3",
    "tiers_nom": "sample string 4",
    "montant": 5.0,
    "facture": "sample string 6"
  },
  "ServiceName": "sample string 1",
  "Parameters": "sample string 2",
  "Status": 0,
  "ErrorMessage": "sample string 3",
  "Error": {
    "Code": "sample string 1",
    "Details": "sample string 2",
    "Message": "sample string 3",
    "Level": 1
  }
}

application/xml, text/xml

Sample:
<JSonGenericOfInvestissement_RefacturezIucumwO 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 3</ErrorMessage>
  <Parameters>sample string 2</Parameters>
  <ServiceName>sample string 1</ServiceName>
  <Status>Error</Status>
  <Datas xmlns:d2p1="http://schemas.datacontract.org/2004/07/SAGACore.Model">
    <d2p1:facture>sample string 6</d2p1:facture>
    <d2p1:id_invest>2</d2p1:id_invest>
    <d2p1:id_refacture>1</d2p1:id_refacture>
    <d2p1:montant>5</d2p1:montant>
    <d2p1:tiers>sample string 3</d2p1:tiers>
    <d2p1:tiers_nom>sample string 4</d2p1:tiers_nom>
  </Datas>
  <Response xmlns:d2p1="http://schemas.datacontract.org/2004/07/SAGACore.Model">
    <d2p1:facture>sample string 6</d2p1:facture>
    <d2p1:id_invest>2</d2p1:id_invest>
    <d2p1:id_refacture>1</d2p1:id_refacture>
    <d2p1:montant>5</d2p1:montant>
    <d2p1:tiers>sample string 3</d2p1:tiers>
    <d2p1:tiers_nom>sample string 4</d2p1:tiers_nom>
  </Response>
</JSonGenericOfInvestissement_RefacturezIucumwO>