POST api/web/WebRemoveOrder

Supprime et historise une commande (et ses details)

Request Information

URI Parameters

None.

Body Parameters

Clefs de la commande (cde|date|client)

KeysWebOrder
NameDescriptionTypeAdditional information
Order_Num

string

None.

Date_Order

string

None.

Customer

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Order_Num": "sample string 1",
  "Date_Order": "sample string 2",
  "Customer": "sample string 3"
}

application/xml, text/xml

Sample:
<KeysWebOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAGACore">
  <Customer>sample string 3</Customer>
  <Date_Order>sample string 2</Date_Order>
  <Order_Num>sample string 1</Order_Num>
</KeysWebOrder>

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

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>