POST https://api.legendonlineservices.co.uk/Cap2/BarcodeEntry

Create barcode entries

Request Parameters

From Body Type Description
[BarcodeAccess] Multiple barcode entries/ submissions
Name Type Description
Barcode String Legend Barcode Max 50 characters
ContactGuid Guid
EndDateTime DateTime Greater than Start Date
LocationGuid Guid
MaxNumberOfEntriesOnBarcode Int32 Greater than 0
StartDateTime DateTime Either today or tomorrow




{
  "BarcodeSubmissions": [
    {
      "Barcode": "sample string 1",
      "ContactGuid": "7253d214-a8fc-4c34-bad5-fc4c46a1629b",
      "EndDateTime": "2025-10-19T10:31:00.2967541+01:00",
      "LocationGuid": "4f5b4337-fdfc-43d4-a6bb-d9a7db540c91",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2025-10-19T10:31:00.2967541+01:00"
    },
    {
      "Barcode": "sample string 1",
      "ContactGuid": "7253d214-a8fc-4c34-bad5-fc4c46a1629b",
      "EndDateTime": "2025-10-19T10:31:00.2967541+01:00",
      "LocationGuid": "4f5b4337-fdfc-43d4-a6bb-d9a7db540c91",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2025-10-19T10:31:00.2967541+01:00"
    },
    {
      "Barcode": "sample string 1",
      "ContactGuid": "7253d214-a8fc-4c34-bad5-fc4c46a1629b",
      "EndDateTime": "2025-10-19T10:31:00.2967541+01:00",
      "LocationGuid": "4f5b4337-fdfc-43d4-a6bb-d9a7db540c91",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2025-10-19T10:31:00.2967541+01:00"
    }
  ]
}

Response - (Status 200 - OK)

BarcodeSubmissionResponse

Name Type Description
[BarcodeAccessResult]
Name Type Description
Barcode String
ContactGuid Guid
Successful Boolean




{
  "BarcodeResults": [
    {
      "ContactGuid": "33a03cb5-70e5-4c15-a1aa-4f6d95c999c5",
      "Successful": true,
      "Barcode": "sample string 3"
    },
    {
      "ContactGuid": "33a03cb5-70e5-4c15-a1aa-4f6d95c999c5",
      "Successful": true,
      "Barcode": "sample string 3"
    },
    {
      "ContactGuid": "33a03cb5-70e5-4c15-a1aa-4f6d95c999c5",
      "Successful": true,
      "Barcode": "sample string 3"
    }
  ]
}

Remarks

This end point replaces the old AddBarcodeEntry SOAP endpoint that is now obsolete.

Bundle(s)
Cap2