GET api/Stock/{articleCode}/Synthese

Informations sur le stock d'un produit

Request Information

URI Parameters

NameDescriptionTypeAdditional information
articleCode

Code article

string

Required

Body Parameters

None.

Response Information

Resource Description

JSonGenericOfListOfStockSyntheseProduct
NameDescriptionTypeAdditional information
Response

Collection of StockSyntheseProduct

None.

Datas

Collection of StockSyntheseProduct

None.

ServiceName

string

None.

Parameters

string

None.

Status

ReturnErrorStatus

None.

ErrorMessage

string

None.

Error

jsonExceptionIES

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": [
    {
      "Rubrique": "sample string 1",
      "Inventaire": 2.1,
      "CdesFournAu": 3.1,
      "Achats": 4.1,
      "CdesClientsAu": 5.1,
      "Ventes": 6.1,
      "Regul": 7.1,
      "StockDispoAu": 8.1
    },
    {
      "Rubrique": "sample string 1",
      "Inventaire": 2.1,
      "CdesFournAu": 3.1,
      "Achats": 4.1,
      "CdesClientsAu": 5.1,
      "Ventes": 6.1,
      "Regul": 7.1,
      "StockDispoAu": 8.1
    }
  ],
  "Datas": [
    {
      "Rubrique": "sample string 1",
      "Inventaire": 2.1,
      "CdesFournAu": 3.1,
      "Achats": 4.1,
      "CdesClientsAu": 5.1,
      "Ventes": 6.1,
      "Regul": 7.1,
      "StockDispoAu": 8.1
    },
    {
      "Rubrique": "sample string 1",
      "Inventaire": 2.1,
      "CdesFournAu": 3.1,
      "Achats": 4.1,
      "CdesClientsAu": 5.1,
      "Ventes": 6.1,
      "Regul": 7.1,
      "StockDispoAu": 8.1
    }
  ],
  "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:
<JSonGenericOfArrayOfStockSyntheseProductq8b3XWLw 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>
  <Datas xmlns:d2p1="http://schemas.datacontract.org/2004/07/SAGACore">
    <d2p1:StockSyntheseProduct>
      <d2p1:Achats>4.1</d2p1:Achats>
      <d2p1:CdesClientsAu>5.1</d2p1:CdesClientsAu>
      <d2p1:CdesFournAu>3.1</d2p1:CdesFournAu>
      <d2p1:Inventaire>2.1</d2p1:Inventaire>
      <d2p1:Regul>7.1</d2p1:Regul>
      <d2p1:Rubrique>sample string 1</d2p1:Rubrique>
      <d2p1:StockDispoAu>8.1</d2p1:StockDispoAu>
      <d2p1:Ventes>6.1</d2p1:Ventes>
    </d2p1:StockSyntheseProduct>
    <d2p1:StockSyntheseProduct>
      <d2p1:Achats>4.1</d2p1:Achats>
      <d2p1:CdesClientsAu>5.1</d2p1:CdesClientsAu>
      <d2p1:CdesFournAu>3.1</d2p1:CdesFournAu>
      <d2p1:Inventaire>2.1</d2p1:Inventaire>
      <d2p1:Regul>7.1</d2p1:Regul>
      <d2p1:Rubrique>sample string 1</d2p1:Rubrique>
      <d2p1:StockDispoAu>8.1</d2p1:StockDispoAu>
      <d2p1:Ventes>6.1</d2p1:Ventes>
    </d2p1:StockSyntheseProduct>
  </Datas>
  <Response xmlns:d2p1="http://schemas.datacontract.org/2004/07/SAGACore">
    <d2p1:StockSyntheseProduct>
      <d2p1:Achats>4.1</d2p1:Achats>
      <d2p1:CdesClientsAu>5.1</d2p1:CdesClientsAu>
      <d2p1:CdesFournAu>3.1</d2p1:CdesFournAu>
      <d2p1:Inventaire>2.1</d2p1:Inventaire>
      <d2p1:Regul>7.1</d2p1:Regul>
      <d2p1:Rubrique>sample string 1</d2p1:Rubrique>
      <d2p1:StockDispoAu>8.1</d2p1:StockDispoAu>
      <d2p1:Ventes>6.1</d2p1:Ventes>
    </d2p1:StockSyntheseProduct>
    <d2p1:StockSyntheseProduct>
      <d2p1:Achats>4.1</d2p1:Achats>
      <d2p1:CdesClientsAu>5.1</d2p1:CdesClientsAu>
      <d2p1:CdesFournAu>3.1</d2p1:CdesFournAu>
      <d2p1:Inventaire>2.1</d2p1:Inventaire>
      <d2p1:Regul>7.1</d2p1:Regul>
      <d2p1:Rubrique>sample string 1</d2p1:Rubrique>
      <d2p1:StockDispoAu>8.1</d2p1:StockDispoAu>
      <d2p1:Ventes>6.1</d2p1:Ventes>
    </d2p1:StockSyntheseProduct>
  </Response>
</JSonGenericOfArrayOfStockSyntheseProductq8b3XWLw>