POST api/Facturation/UpdateClientData

Request Information

URI Parameters

None.

Body Parameters

ClientData
NameDescriptionTypeAdditional information
facture

string

None.

datefact

string

None.

client

string

None.

nom

string

None.

nom2

string

None.

addrLivraison

ClientDeliveryAddr

None.

addrFacturation

ClientDeliveryAddr

None.

Request Formats

application/json, text/json

Sample:
{
  "facture": "sample string 1",
  "datefact": "sample string 2",
  "client": "sample string 3",
  "nom": "sample string 4",
  "nom2": "sample string 5",
  "addrLivraison": {
    "titrelib": "sample string 1",
    "payslib": "sample string 2",
    "bRemove": true,
    "zzmaj": 4,
    "zzutil": "sample string 5",
    "zzposte": "sample string 6",
    "zzdate": "sample string 7",
    "zzheure": "sample string 8",
    "zzsynchro": 9,
    "client": "sample string 10",
    "num": "sample string 11",
    "ordre": "sample string 12",
    "nom": "sample string 13",
    "titre": "sample string 14",
    "adr1": "sample string 15",
    "adr2": "sample string 16",
    "adr3": "sample string 17",
    "cpostal": "sample string 18",
    "ville": "sample string 19",
    "pays": "sample string 20",
    "renseign1": "sample string 21",
    "renseign2": "sample string 22"
  },
  "addrFacturation": {
    "titrelib": "sample string 1",
    "payslib": "sample string 2",
    "bRemove": true,
    "zzmaj": 4,
    "zzutil": "sample string 5",
    "zzposte": "sample string 6",
    "zzdate": "sample string 7",
    "zzheure": "sample string 8",
    "zzsynchro": 9,
    "client": "sample string 10",
    "num": "sample string 11",
    "ordre": "sample string 12",
    "nom": "sample string 13",
    "titre": "sample string 14",
    "adr1": "sample string 15",
    "adr2": "sample string 16",
    "adr3": "sample string 17",
    "cpostal": "sample string 18",
    "ville": "sample string 19",
    "pays": "sample string 20",
    "renseign1": "sample string 21",
    "renseign2": "sample string 22"
  }
}

application/xml, text/xml

Sample:
<ClientData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAGACore">
  <addrFacturation>
    <adr1 xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 15</adr1>
    <adr2 xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 16</adr2>
    <adr3 xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 17</adr3>
    <client xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 10</client>
    <cpostal xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 18</cpostal>
    <nom xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 13</nom>
    <num xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 11</num>
    <ordre xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 12</ordre>
    <pays xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 20</pays>
    <renseign1 xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 21</renseign1>
    <renseign2 xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 22</renseign2>
    <titre xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 14</titre>
    <ville xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 19</ville>
    <zzdate xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 7</zzdate>
    <zzheure xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 8</zzheure>
    <zzmaj xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">4</zzmaj>
    <zzposte xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 6</zzposte>
    <zzsynchro xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">9</zzsynchro>
    <zzutil xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 5</zzutil>
    <bRemove>true</bRemove>
    <payslib>sample string 2</payslib>
    <titrelib>sample string 1</titrelib>
  </addrFacturation>
  <addrLivraison>
    <adr1 xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 15</adr1>
    <adr2 xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 16</adr2>
    <adr3 xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 17</adr3>
    <client xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 10</client>
    <cpostal xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 18</cpostal>
    <nom xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 13</nom>
    <num xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 11</num>
    <ordre xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 12</ordre>
    <pays xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 20</pays>
    <renseign1 xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 21</renseign1>
    <renseign2 xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 22</renseign2>
    <titre xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 14</titre>
    <ville xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 19</ville>
    <zzdate xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 7</zzdate>
    <zzheure xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 8</zzheure>
    <zzmaj xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">4</zzmaj>
    <zzposte xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 6</zzposte>
    <zzsynchro xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">9</zzsynchro>
    <zzutil xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">sample string 5</zzutil>
    <bRemove>true</bRemove>
    <payslib>sample string 2</payslib>
    <titrelib>sample string 1</titrelib>
  </addrLivraison>
  <client>sample string 3</client>
  <datefact>sample string 2</datefact>
  <facture>sample string 1</facture>
  <nom>sample string 4</nom>
  <nom2>sample string 5</nom2>
</ClientData>

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

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>