Unico3.Link.API

<back to all web services

VoceListino

Magazzino
The following routes are available for this service:
PUT,GET/magazzino/articoli/listini
import java.math.*
import java.util.*
import net.servicestack.client.*


open class VoceListino
{
    var Listino:FK_Listino? = null
    var Articolo:FK_Articolo? = null
    var CodiceOrdine:String? = null
    var Barcode:String? = null
    var PrezzoAcquisto:Double? = null
    var PrezzoVendita:Double? = null
}

open class FK_Listino : FK(), IUniqueCodice, IUniqueDescrizione
{
    var Codice:String? = null
    var Descrizione:String? = null
}

open class FK
{
    var Id:Int? = null
}

open class FK_Articolo : FK(), IUniqueCodice
{
    var Codice:String? = null
}

Kotlin VoceListino DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

PUT /magazzino/articoli/listini HTTP/1.1 
Host: unico3.link.api 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Listino":{"Codice":"String","Descrizione":"String","Id":0},"Articolo":{"Codice":"String","Id":0},"CodiceOrdine":"String","Barcode":"String","PrezzoAcquisto":0,"PrezzoVendita":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Listino":{"Codice":"String","Descrizione":"String","Id":0},"Articolo":{"Codice":"String","Id":0},"CodiceOrdine":"String","Barcode":"String","PrezzoAcquisto":0,"PrezzoVendita":0}