POST api/web/WebUpdatebHeadOrder

Modifie une entete de commande

Request Information

URI Parameters

None.

Body Parameters

Datas à sauvegarder

WebOrderCreate
NameDescriptionTypeAdditional information
Order_Num

string

None.

Date_Order

string

None.

Customer

string

None.

CustomerName

string

None.

State

string

None.

Date_Delivery

string

None.

User

string

None.

TourName

string

None.

TourCode

string

None.

Hours_Delivery

string

None.

PrepComment1

string

None.

PrepComment2

string

None.

PrepInfoLivr

string

None.

CustomerRef1

string

None.

CustomerRef2

string

None.

FlagOrder

string

None.

Language

string

None.

order_type

string

None.

vendeur

string

None.

CustomerDeliveryAddr

ClientDeliveryAddr

None.

CustomerInvoiceAddr

ClientDeliveryAddr

None.

Request Formats

application/json, text/json

Sample:
{
  "Order_Num": "sample string 1",
  "Date_Order": "sample string 2",
  "Customer": "sample string 3",
  "CustomerName": "sample string 4",
  "State": "sample string 5",
  "Date_Delivery": "sample string 6",
  "User": "sample string 7",
  "TourName": "sample string 8",
  "TourCode": "sample string 9",
  "Hours_Delivery": "sample string 10",
  "PrepComment1": "sample string 11",
  "PrepComment2": "sample string 12",
  "PrepInfoLivr": "sample string 13",
  "CustomerRef1": "sample string 14",
  "CustomerRef2": "sample string 15",
  "FlagOrder": "sample string 16",
  "Language": "sample string 17",
  "order_type": "sample string 18",
  "vendeur": "sample string 19",
  "CustomerDeliveryAddr": {
    "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"
  },
  "CustomerInvoiceAddr": {
    "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:
<WebOrderCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAGACore">
  <Customer>sample string 3</Customer>
  <CustomerDeliveryAddr>
    <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>
  </CustomerDeliveryAddr>
  <CustomerInvoiceAddr>
    <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>
  </CustomerInvoiceAddr>
  <CustomerName>sample string 4</CustomerName>
  <CustomerRef1>sample string 14</CustomerRef1>
  <CustomerRef2>sample string 15</CustomerRef2>
  <Date_Delivery>sample string 6</Date_Delivery>
  <Date_Order>sample string 2</Date_Order>
  <FlagOrder>sample string 16</FlagOrder>
  <Hours_Delivery>sample string 10</Hours_Delivery>
  <Language>sample string 17</Language>
  <Order_Num>sample string 1</Order_Num>
  <PrepComment1>sample string 11</PrepComment1>
  <PrepComment2>sample string 12</PrepComment2>
  <PrepInfoLivr>sample string 13</PrepInfoLivr>
  <State>sample string 5</State>
  <TourCode>sample string 9</TourCode>
  <TourName>sample string 8</TourName>
  <User>sample string 7</User>
  <order_type>sample string 18</order_type>
  <vendeur>sample string 19</vendeur>
</WebOrderCreate>

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

Response Information

Resource Description

Booléan de confirmations

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>