POST api/UbicazioneAssociaSalvaAggiorna

Se DTOUbicazione.IdUbicazione null insert, altrimenti update

Request Information

URI Parameters

None.

Body Parameters

DTOAssociaUbicazione
NameDescriptionTypeAdditional information
IdArticolo

Articolo a cui associare l'ubicazione

integer

Required

DTOUbicazioni

Ubicazione da inserire o aggiornare

Collection of DTOUbicazione

Required

Request Formats

application/json, text/json

Sample:
{
  "IdArticolo": 1,
  "DTOUbicazioni": [
    {
      "IdUbicazione": 1,
      "Ubicazione": "sample string 1",
      "Locked": "sample string 2",
      "Ordinamento": 1
    },
    {
      "IdUbicazione": 1,
      "Ubicazione": "sample string 1",
      "Locked": "sample string 2",
      "Ordinamento": 1
    }
  ]
}

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1