PUT api/Pony
Request Information
URI Parameters
None.
Body Parameters
DTOPonyName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
|
Nome | string |
String length: inclusive between 0 and 200 |
|
Contatto | string |
String length: inclusive between 0 and 512 |
|
DurataConsegna |
Indica in quanti minuti il pony può eseguire le consegne per l'orario prestabilito Es: 10 min x le consegne delle 20.30, quindi consegne ogni 10 minuti |
integer |
None. |
PortataMassima |
Visualizzato sulla percentuale di carico del pony in modalità planner (non lista) Dato usato solo su front-end. |
integer |
None. |
idPersonale |
id dipendente FK --> tabPersonale.id |
integer |
None. |
IsAttivo |
Indica se il pony è attivo per il turno di lavoro. |
boolean |
None. |
IsPredefinito |
Indica, nel caso di visualizzazione ordini a PLANNER e NON UTILIZZO DEI PONY, quale pony visualizzare nel planner |
boolean |
None. |
IsUsaPerBanco |
Pony utilizzato per essere associato automaticamente agli ordini presi in modalità LISTA oppure da ordini web. |
boolean |
None. |
Request Formats
application/json, text/json
{ "Id": 1, "Nome": "sample string 2", "Contatto": "sample string 3", "DurataConsegna": 4, "PortataMassima": 5, "idPersonale": 6, "IsAttivo": true, "IsPredefinito": true, "IsUsaPerBanco": true }
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.