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": "7f47219d-edf3-4bec-bdad-dd7d4bea5489",
      "EndDateTime": "2026-09-28T23:30:02.1434893+01:00",
      "LocationGuid": "7df69137-9deb-4d6d-bf99-b2eeb76618a5",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2026-09-28T23:30:02.1434893+01:00"
    },
    {
      "Barcode": "sample string 1",
      "ContactGuid": "7f47219d-edf3-4bec-bdad-dd7d4bea5489",
      "EndDateTime": "2026-09-28T23:30:02.1434893+01:00",
      "LocationGuid": "7df69137-9deb-4d6d-bf99-b2eeb76618a5",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2026-09-28T23:30:02.1434893+01:00"
    },
    {
      "Barcode": "sample string 1",
      "ContactGuid": "7f47219d-edf3-4bec-bdad-dd7d4bea5489",
      "EndDateTime": "2026-09-28T23:30:02.1434893+01:00",
      "LocationGuid": "7df69137-9deb-4d6d-bf99-b2eeb76618a5",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2026-09-28T23:30:02.1434893+01:00"
    }
  ]
}

Response - (Status 200 - OK)

BarcodeSubmissionResponse

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




{
  "BarcodeResults": [
    {
      "ContactGuid": "65433783-b093-4284-bc45-fcbb1b3d0707",
      "Successful": true,
      "Barcode": "sample string 3"
    },
    {
      "ContactGuid": "65433783-b093-4284-bc45-fcbb1b3d0707",
      "Successful": true,
      "Barcode": "sample string 3"
    },
    {
      "ContactGuid": "65433783-b093-4284-bc45-fcbb1b3d0707",
      "Successful": true,
      "Barcode": "sample string 3"
    }
  ]
}

Remarks

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

Bundle(s)
Cap2