POST apiv2/gestione/gift/Operazione

Esegue Operazione Specifica sulla Gift

Request Information

URI Parameters

Nessuna.

Body Parameters

Dati Operazione Gift

GiftOperationData
NomeDescrizioneTipoInformazioni Aggiuntive
Barcode

string

Nessuna.

Operazione

string

Nessuna.

OperazioneType

OperazioneEnum

Nessuna.

Azienda

string

Nessuna.

Nodo

string

Nessuna.

Postazione

string

Nessuna.

Valore

Valore delle Gift. Se non serve, lascialo a 0.

decimal number

Nessuna.

Riferimenti

string

Nessuna.

LocalDateAndTime

date

Nessuna.

Request Formats

application/json, text/json

Sample:
{
  "barcode": "sample string 1",
  "operazione": "sample string 2",
  "operazioneType": "Trasferimento",
  "azienda": "sample string 3",
  "nodo": "sample string 4",
  "postazione": "sample string 5",
  "valore": 6.0,
  "riferimenti": "sample string 7",
  "localDateAndTime": "2025-12-15T20:07:44.5994531+01:00"
}

application/xml, text/xml

Sample:
<GiftOperationData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gift.Models">
  <Azienda>sample string 3</Azienda>
  <Barcode>sample string 1</Barcode>
  <LocalDateAndTime>2025-12-15T20:07:44.5994531+01:00</LocalDateAndTime>
  <Nodo>sample string 4</Nodo>
  <Operazione>sample string 2</Operazione>
  <OperazioneType>Trasferimento</OperazioneType>
  <Postazione>sample string 5</Postazione>
  <Riferimenti>sample string 7</Riferimenti>
  <Valore>6</Valore>
</GiftOperationData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GiftOperationReturnData
NomeDescrizioneTipoInformazioni Aggiuntive
ErrorCode

GiftCardErrors

Nessuna.

GiftCardBalance

decimal number

Nessuna.

ReleaseGiftCardBarcode

string

Nessuna.

TransactionNumber

string

Nessuna.

Response Formats

application/json, text/json

Sample:
{
  "errorCode": "ErrNoError",
  "giftCardBalance": 1.0,
  "releaseGiftCardBarcode": "sample string 2",
  "transactionNumber": "sample string 3",
  "giftCardbalance": 4.0,
  "releasegiftcardbarcode": "sample string 5"
}

application/xml, text/xml

Sample:
<GiftOperationReturnData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gift.Models.Object">
  <ErrorCode>ErrNoError</ErrorCode>
  <GiftCardBalance>1</GiftCardBalance>
  <ReleaseGiftCardBarcode>sample string 2</ReleaseGiftCardBarcode>
  <TransactionNumber>sample string 3</TransactionNumber>
</GiftOperationReturnData>