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": "0a792ce7-86b5-49d4-bd58-5e0fa268b3a4",
      "EndDateTime": "2026-08-14T19:19:04.7761596+01:00",
      "LocationGuid": "6d400d8c-cfaf-49ee-988c-bfbf8ea4f2b7",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2026-08-14T19:19:04.7761596+01:00"
    },
    {
      "Barcode": "sample string 1",
      "ContactGuid": "0a792ce7-86b5-49d4-bd58-5e0fa268b3a4",
      "EndDateTime": "2026-08-14T19:19:04.7761596+01:00",
      "LocationGuid": "6d400d8c-cfaf-49ee-988c-bfbf8ea4f2b7",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2026-08-14T19:19:04.7761596+01:00"
    },
    {
      "Barcode": "sample string 1",
      "ContactGuid": "0a792ce7-86b5-49d4-bd58-5e0fa268b3a4",
      "EndDateTime": "2026-08-14T19:19:04.7761596+01:00",
      "LocationGuid": "6d400d8c-cfaf-49ee-988c-bfbf8ea4f2b7",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2026-08-14T19:19:04.7761596+01:00"
    }
  ]
}

Response - (Status 200 - OK)

BarcodeSubmissionResponse

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




{
  "BarcodeResults": [
    {
      "ContactGuid": "6b07fed3-14ba-4e31-ad02-7fc89f72b42f",
      "Successful": true,
      "Barcode": "sample string 3"
    },
    {
      "ContactGuid": "6b07fed3-14ba-4e31-ad02-7fc89f72b42f",
      "Successful": true,
      "Barcode": "sample string 3"
    },
    {
      "ContactGuid": "6b07fed3-14ba-4e31-ad02-7fc89f72b42f",
      "Successful": true,
      "Barcode": "sample string 3"
    }
  ]
}

Remarks

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

Bundle(s)
Cap2