GET api/cogeo/phase/{idPhase}
Récupère une phase en fonction de son identifiant unique.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| idPhase |
Identifiant unique de la phase |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Retourne un ApiPhase.
ApiPhase| Name | Description | Type | Additional information |
|---|---|---|---|
| IdPhase |
Identifiant unique de la phase |
integer |
None. |
| Nom |
Nom de la phase |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IdPhase": 1,
"Nom": "sample string 2"
}
application/xml, text/xml
Sample:
<ApiPhase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModuleoWeb.Models.Api"> <IdPhase>1</IdPhase> <Nom>sample string 2</Nom> </ApiPhase>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdPhase" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Nom" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e--