PUT api/Client/{clt}/UpdateDeliveryAddr/{num}

Mise à jour d'une adresse de livraison d'un client

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clt

code du client

string

Required

num

num de l'adresse de livraison du client

string

Required

Body Parameters

contact du client

ClientDeliveryAddr
NameDescriptionTypeAdditional information
titrelib

string

None.

payslib

string

None.

bRemove

boolean

None.

zzmaj

integer

None.

zzutil

string

None.

zzposte

string

None.

zzdate

string

None.

zzheure

string

None.

zzsynchro

integer

None.

client

string

None.

num

string

None.

ordre

string

None.

nom

string

None.

titre

string

None.

adr1

string

None.

adr2

string

None.

adr3

string

None.

cpostal

string

None.

ville

string

None.

pays

string

None.

renseign1

string

None.

renseign2

string

None.

Request Formats

application/json, text/json

Sample:
{
  "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:
<ClientDeliveryAddr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAGACore">
  <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>
</ClientDeliveryAddr>

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

Response Information

Resource Description

ReturnJsonFormat
NameDescriptionTypeAdditional information
ServiceName

string

None.

Parameters

string

None.

Status

ReturnErrorStatus

None.

ErrorMessage

string

None.

Error

jsonExceptionIES

None.

Response Formats

application/json, text/json

Sample:
{
  "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:
<ReturnJsonFormat 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>
</ReturnJsonFormat>