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": "75c785eb-7b68-4211-a318-f87d5e3cef1e",
      "EndDateTime": "2026-05-15T13:26:49.441336+01:00",
      "LocationGuid": "1f803fd6-2188-45d3-8a67-fc2fa098d7ee",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2026-05-15T13:26:49.441336+01:00"
    },
    {
      "Barcode": "sample string 1",
      "ContactGuid": "75c785eb-7b68-4211-a318-f87d5e3cef1e",
      "EndDateTime": "2026-05-15T13:26:49.441336+01:00",
      "LocationGuid": "1f803fd6-2188-45d3-8a67-fc2fa098d7ee",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2026-05-15T13:26:49.441336+01:00"
    },
    {
      "Barcode": "sample string 1",
      "ContactGuid": "75c785eb-7b68-4211-a318-f87d5e3cef1e",
      "EndDateTime": "2026-05-15T13:26:49.441336+01:00",
      "LocationGuid": "1f803fd6-2188-45d3-8a67-fc2fa098d7ee",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2026-05-15T13:26:49.441336+01:00"
    }
  ]
}

Response - (Status 200 - OK)

BarcodeSubmissionResponse

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




{
  "BarcodeResults": [
    {
      "ContactGuid": "a7643676-10a6-4688-bd5d-a0c8df2fcacc",
      "Successful": true,
      "Barcode": "sample string 3"
    },
    {
      "ContactGuid": "a7643676-10a6-4688-bd5d-a0c8df2fcacc",
      "Successful": true,
      "Barcode": "sample string 3"
    },
    {
      "ContactGuid": "a7643676-10a6-4688-bd5d-a0c8df2fcacc",
      "Successful": true,
      "Barcode": "sample string 3"
    }
  ]
}

Remarks

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

Bundle(s)
Cap2