POST api/Nfc/NfcCateringTagScanned

Request Information

URI Parameters

None.

Body Parameters

NfcCateringScanEventDTO
NameDescriptionTypeAdditional information
SyncGuid

globally unique identifier

None.

NfcTagId

string

None.

ScanTimeUTC

date

None.

ReaderSerialNumber

string

None.

SpecificProductList

Collection of NfcBoughtItemDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "SyncGuid": "e0add6b7-2f88-4520-9d9d-45da10ea24ba",
  "NfcTagId": "sample string 2",
  "ScanTimeUTC": "2025-12-05T10:18:47.5811677+00:00",
  "ReaderSerialNumber": "sample string 4",
  "SpecificProductList": [
    {
      "ProductId": 1,
      "Count": 2
    },
    {
      "ProductId": 1,
      "Count": 2
    }
  ]
}

application/xml, text/xml

Sample:
<NfcCateringScanEventDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Nfc">
  <NfcTagId>sample string 2</NfcTagId>
  <ReaderSerialNumber>sample string 4</ReaderSerialNumber>
  <ScanTimeUTC>2025-12-05T10:18:47.5811677+00:00</ScanTimeUTC>
  <SpecificProductList>
    <NfcBoughtItemDTO>
      <Count>2</Count>
      <ProductId>1</ProductId>
    </NfcBoughtItemDTO>
    <NfcBoughtItemDTO>
      <Count>2</Count>
      <ProductId>1</ProductId>
    </NfcBoughtItemDTO>
  </SpecificProductList>
  <SyncGuid>e0add6b7-2f88-4520-9d9d-45da10ea24ba</SyncGuid>
</NfcCateringScanEventDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'NfcCateringScanEventDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.