POST SinCtrl/GenerateSimulationByParam
Request Information
URI Parameters
None.
Body Parameters
Param_Gen_Sin| Name | Description | Type | Additional information |
|---|---|---|---|
| SIM_ID | decimal number |
None. |
|
| Adr | string |
None. |
|
| Cp | string |
None. |
|
| Ville | string |
None. |
|
| Params | Collection of Simulation_Parametrage |
None. |
Request Formats
application/json, text/json
Sample:
{
"SIM_ID": 1.0,
"Adr": "sample string 1",
"Cp": "sample string 2",
"Ville": "sample string 3",
"Params": [
{
"id": 1,
"img": "sample string 2",
"libelle": "sample string 3",
"options": [
{
"id": 1,
"label": "sample string 2"
},
{
"id": 1,
"label": "sample string 2"
}
],
"type": 4,
"value": {}
},
{
"id": 1,
"img": "sample string 2",
"libelle": "sample string 3",
"options": [
{
"id": 1,
"label": "sample string 2"
},
{
"id": 1,
"label": "sample string 2"
}
],
"type": 4,
"value": {}
}
]
}
application/xml, text/xml
Sample:
<Param_Gen_Sin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Models">
<Adr>sample string 1</Adr>
<Cp>sample string 2</Cp>
<Params>
<Simulation_Parametrage>
<id>1</id>
<img>sample string 2</img>
<libelle>sample string 3</libelle>
<options>
<Simulation_Parametrage_Item>
<id>1</id>
<label>sample string 2</label>
</Simulation_Parametrage_Item>
<Simulation_Parametrage_Item>
<id>1</id>
<label>sample string 2</label>
</Simulation_Parametrage_Item>
</options>
<type>4</type>
<value />
</Simulation_Parametrage>
<Simulation_Parametrage>
<id>1</id>
<img>sample string 2</img>
<libelle>sample string 3</libelle>
<options>
<Simulation_Parametrage_Item>
<id>1</id>
<label>sample string 2</label>
</Simulation_Parametrage_Item>
<Simulation_Parametrage_Item>
<id>1</id>
<label>sample string 2</label>
</Simulation_Parametrage_Item>
</options>
<type>4</type>
<value />
</Simulation_Parametrage>
</Params>
<SIM_ID>1</SIM_ID>
<Ville>sample string 3</Ville>
</Param_Gen_Sin>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>