POST api/b2c/v1/dispatch?variete={variete}
Création d'une nouvelle commande
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| variete | string |
Required |
Body Parameters
KeysCdeEnt| Name | Description | Type | Additional information |
|---|---|---|---|
| cde | string |
None. |
|
| date | string |
None. |
|
| client | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"cde": "sample string 1",
"date": "sample string 2",
"client": "sample string 3"
}
application/xml, text/xml
Sample:
<KeysCdeEnt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAGACore"> <cde>sample string 1</cde> <client>sample string 3</client> <date>sample string 2</date> </KeysCdeEnt>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JSonGenericOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | integer |
None. |
|
| Datas | integer |
None. |
|
| ServiceName | string |
None. |
|
| Parameters | string |
None. |
|
| Status | ReturnErrorStatus |
None. |
|
| ErrorMessage | string |
None. |
|
| Error | jsonExceptionIES |
None. |
Response Formats
application/json, text/json
Sample:
{
"Response": 1,
"Datas": 2,
"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:
<JSonGenericOfint 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>2</Datas>
<Response>1</Response>
</JSonGenericOfint>