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": "4878f0df-7cd6-43de-96da-22f086066e1a",
      "EndDateTime": "2025-08-02T22:20:43.7462882+01:00",
      "LocationGuid": "dbe15556-a29e-4c43-8ad3-86664d3e6f51",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2025-08-02T22:20:43.7462882+01:00"
    },
    {
      "Barcode": "sample string 1",
      "ContactGuid": "4878f0df-7cd6-43de-96da-22f086066e1a",
      "EndDateTime": "2025-08-02T22:20:43.7462882+01:00",
      "LocationGuid": "dbe15556-a29e-4c43-8ad3-86664d3e6f51",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2025-08-02T22:20:43.7462882+01:00"
    },
    {
      "Barcode": "sample string 1",
      "ContactGuid": "4878f0df-7cd6-43de-96da-22f086066e1a",
      "EndDateTime": "2025-08-02T22:20:43.7462882+01:00",
      "LocationGuid": "dbe15556-a29e-4c43-8ad3-86664d3e6f51",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2025-08-02T22:20:43.7462882+01:00"
    }
  ]
}

Response - (Status 200 - OK)

BarcodeSubmissionResponse

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




{
  "BarcodeResults": [
    {
      "ContactGuid": "d2636679-3485-491d-a341-095b8fdd87b1",
      "Successful": true,
      "Barcode": "sample string 3"
    },
    {
      "ContactGuid": "d2636679-3485-491d-a341-095b8fdd87b1",
      "Successful": true,
      "Barcode": "sample string 3"
    },
    {
      "ContactGuid": "d2636679-3485-491d-a341-095b8fdd87b1",
      "Successful": true,
      "Barcode": "sample string 3"
    }
  ]
}

Remarks

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

Bundle(s)
Cap2