POST api/Article/{article}/Dimension

Enregistre les dimensions d'un article

Request Information

URI Parameters

NameDescriptionTypeAdditional information
article

Code article

string

Required

Body Parameters

Article_dimension

ARTICLE_DIMENSION
NameDescriptionTypeAdditional information
zzmaj

integer

None.

zzutil

string

None.

zzposte

string

None.

zzdate

string

None.

zzheure

string

None.

zzsynchro

integer

None.

article

string

None.

hauteur_int

decimal number

None.

largeur_int

decimal number

None.

longueur_int

decimal number

None.

diametre_int

decimal number

None.

hauteur_ext

decimal number

None.

largeur_ext

decimal number

None.

longueur_ext

decimal number

None.

diametre_ext

decimal number

None.

libelle

string

None.

volume

decimal number

None.

calcul_volume_cde

string

None.

Request Formats

application/json, text/json

Sample:
{
  "zzmaj": 1,
  "zzutil": "sample string 2",
  "zzposte": "sample string 3",
  "zzdate": "sample string 4",
  "zzheure": "sample string 5",
  "zzsynchro": 6,
  "article": "sample string 7",
  "hauteur_int": 8.1,
  "largeur_int": 9.1,
  "longueur_int": 10.1,
  "diametre_int": 11.1,
  "hauteur_ext": 12.1,
  "largeur_ext": 13.1,
  "longueur_ext": 14.1,
  "diametre_ext": 15.1,
  "libelle": "sample string 16",
  "volume": 17.1,
  "calcul_volume_cde": "sample string 18"
}

application/xml, text/xml

Sample:
<ARTICLE_DIMENSION xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">
  <article>sample string 7</article>
  <calcul_volume_cde>sample string 18</calcul_volume_cde>
  <diametre_ext>15.1</diametre_ext>
  <diametre_int>11.1</diametre_int>
  <hauteur_ext>12.1</hauteur_ext>
  <hauteur_int>8.1</hauteur_int>
  <largeur_ext>13.1</largeur_ext>
  <largeur_int>9.1</largeur_int>
  <libelle>sample string 16</libelle>
  <longueur_ext>14.1</longueur_ext>
  <longueur_int>10.1</longueur_int>
  <volume>17.1</volume>
  <zzdate>sample string 4</zzdate>
  <zzheure>sample string 5</zzheure>
  <zzmaj>1</zzmaj>
  <zzposte>sample string 3</zzposte>
  <zzsynchro>6</zzsynchro>
  <zzutil>sample string 2</zzutil>
</ARTICLE_DIMENSION>

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

Response Information

Resource Description

true si succès

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>