GET api/cogeo/article/{idArticle}
Récupère un article en fonction de son identifiant unique.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idArticle |
Identifiant unique de l'article |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Retourne un ApiArticle.
ApiArticleName | Description | Type | Additional information |
---|---|---|---|
IdArticle |
Identifiant unique de l'article |
integer |
None. |
Reference |
Référence de l'article |
string |
None. |
Designation |
Désignation de l'article |
string |
None. |
PrixUnitaire |
Prix unitaire de l'article |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "IdArticle": 1, "Reference": "sample string 2", "Designation": "sample string 3", "PrixUnitaire": 4.0 }
application/xml, text/xml
Sample:
<ApiArticle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModuleoWeb.Models.Api"> <Designation>sample string 3</Designation> <IdArticle>1</IdArticle> <PrixUnitaire>4</PrixUnitaire> <Reference>sample string 2</Reference> </ApiArticle>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdArticle" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Reference" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Designation" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PrixUnitaire" 4 --MultipartDataMediaFormatterBoundary1q2w3e--