PUT api/Periode/AddOrUpdatePeriode
Request Information
URI Parameters
None.
Body Parameters
PERIODE| Name | Description | Type | Additional information |
|---|---|---|---|
| zzmaj | integer |
None. |
|
| zzutil | string |
None. |
|
| zzposte | string |
None. |
|
| zzdate | string |
None. |
|
| zzheure | string |
None. |
|
| zzsynchro | integer |
None. |
|
| code | string |
None. |
|
| periode_debut | string |
None. |
|
| periode_fin | string |
None. |
|
| an_debut | string |
None. |
|
| semaine_debut | string |
None. |
|
| tolerance_jour | integer |
None. |
|
| periode_fin_maxi | string |
None. |
|
| heure_maxi | string |
None. |
|
| montant_mini_blocage | decimal number |
None. |
|
| montant_mini | decimal number |
None. |
|
| marge_mini_blocage | decimal number |
None. |
|
| marge_mini | decimal number |
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,
"code": "sample string 7",
"periode_debut": "sample string 8",
"periode_fin": "sample string 9",
"an_debut": "sample string 10",
"semaine_debut": "sample string 11",
"tolerance_jour": 12,
"periode_fin_maxi": "sample string 13",
"heure_maxi": "sample string 14",
"montant_mini_blocage": 15.1,
"montant_mini": 16.1,
"marge_mini_blocage": 17.1,
"marge_mini": 18.1
}
application/xml, text/xml
Sample:
<PERIODE xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase"> <an_debut>sample string 10</an_debut> <code>sample string 7</code> <heure_maxi>sample string 14</heure_maxi> <marge_mini>18.1</marge_mini> <marge_mini_blocage>17.1</marge_mini_blocage> <montant_mini>16.1</montant_mini> <montant_mini_blocage>15.1</montant_mini_blocage> <periode_debut>sample string 8</periode_debut> <periode_fin>sample string 9</periode_fin> <periode_fin_maxi>sample string 13</periode_fin_maxi> <semaine_debut>sample string 11</semaine_debut> <tolerance_jour>12</tolerance_jour> <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> </PERIODE>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JSonGenericOfBoolean| Name | Description | Type | Additional 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>