GET api/FDV/TarifAchat?representant={representant}&bActifOnly={bActifOnly}

Récupère tous les Tarif d'achat des clients des representants

Request Information

URI Parameters

NameDescriptionTypeAdditional information
representant

Rep1;rep2;etc

string

Required

bActifOnly

Rep1;rep2;etc

boolean

Required

Body Parameters

None.

Response Information

Resource Description

JSonGenericOfListOfTarifAchat_light
NameDescriptionTypeAdditional information
Response

Collection of TarifAchat_light

None.

Datas

Collection of TarifAchat_light

None.

ServiceName

string

None.

Parameters

string

None.

Status

ReturnErrorStatus

None.

ErrorMessage

string

None.

Error

jsonExceptionIES

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": [
    {
      "article": "sample string 1",
      "prix_reel": 2.1,
      "prix_base": 3.1,
      "prix_base_calc_reel": 4.1,
      "prix_base_calc": 5.1,
      "prix_mini": 6.1,
      "prix_maxi": 7.1
    },
    {
      "article": "sample string 1",
      "prix_reel": 2.1,
      "prix_base": 3.1,
      "prix_base_calc_reel": 4.1,
      "prix_base_calc": 5.1,
      "prix_mini": 6.1,
      "prix_maxi": 7.1
    }
  ],
  "Datas": [
    {
      "article": "sample string 1",
      "prix_reel": 2.1,
      "prix_base": 3.1,
      "prix_base_calc_reel": 4.1,
      "prix_base_calc": 5.1,
      "prix_mini": 6.1,
      "prix_maxi": 7.1
    },
    {
      "article": "sample string 1",
      "prix_reel": 2.1,
      "prix_base": 3.1,
      "prix_base_calc_reel": 4.1,
      "prix_base_calc": 5.1,
      "prix_mini": 6.1,
      "prix_maxi": 7.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:
<JSonGenericOfArrayOfTarifAchat_lightq8b3XWLw 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:TarifAchat_light>
      <d2p1:article>sample string 1</d2p1:article>
      <d2p1:prix_base>3.1</d2p1:prix_base>
      <d2p1:prix_base_calc>5.1</d2p1:prix_base_calc>
      <d2p1:prix_base_calc_reel>4.1</d2p1:prix_base_calc_reel>
      <d2p1:prix_maxi>7.1</d2p1:prix_maxi>
      <d2p1:prix_mini>6.1</d2p1:prix_mini>
      <d2p1:prix_reel>2.1</d2p1:prix_reel>
    </d2p1:TarifAchat_light>
    <d2p1:TarifAchat_light>
      <d2p1:article>sample string 1</d2p1:article>
      <d2p1:prix_base>3.1</d2p1:prix_base>
      <d2p1:prix_base_calc>5.1</d2p1:prix_base_calc>
      <d2p1:prix_base_calc_reel>4.1</d2p1:prix_base_calc_reel>
      <d2p1:prix_maxi>7.1</d2p1:prix_maxi>
      <d2p1:prix_mini>6.1</d2p1:prix_mini>
      <d2p1:prix_reel>2.1</d2p1:prix_reel>
    </d2p1:TarifAchat_light>
  </Datas>
  <Response xmlns:d2p1="http://schemas.datacontract.org/2004/07/SAGACore">
    <d2p1:TarifAchat_light>
      <d2p1:article>sample string 1</d2p1:article>
      <d2p1:prix_base>3.1</d2p1:prix_base>
      <d2p1:prix_base_calc>5.1</d2p1:prix_base_calc>
      <d2p1:prix_base_calc_reel>4.1</d2p1:prix_base_calc_reel>
      <d2p1:prix_maxi>7.1</d2p1:prix_maxi>
      <d2p1:prix_mini>6.1</d2p1:prix_mini>
      <d2p1:prix_reel>2.1</d2p1:prix_reel>
    </d2p1:TarifAchat_light>
    <d2p1:TarifAchat_light>
      <d2p1:article>sample string 1</d2p1:article>
      <d2p1:prix_base>3.1</d2p1:prix_base>
      <d2p1:prix_base_calc>5.1</d2p1:prix_base_calc>
      <d2p1:prix_base_calc_reel>4.1</d2p1:prix_base_calc_reel>
      <d2p1:prix_maxi>7.1</d2p1:prix_maxi>
      <d2p1:prix_mini>6.1</d2p1:prix_mini>
      <d2p1:prix_reel>2.1</d2p1:prix_reel>
    </d2p1:TarifAchat_light>
  </Response>
</JSonGenericOfArrayOfTarifAchat_lightq8b3XWLw>