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": "1a824b8b-5e13-44a6-a064-1551e2d18b1d",
      "EndDateTime": "2025-12-04T19:49:11.9552861+00:00",
      "LocationGuid": "133b095c-0e5e-4d63-944d-c1639352dbf8",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2025-12-04T19:49:11.9552861+00:00"
    },
    {
      "Barcode": "sample string 1",
      "ContactGuid": "1a824b8b-5e13-44a6-a064-1551e2d18b1d",
      "EndDateTime": "2025-12-04T19:49:11.9552861+00:00",
      "LocationGuid": "133b095c-0e5e-4d63-944d-c1639352dbf8",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2025-12-04T19:49:11.9552861+00:00"
    },
    {
      "Barcode": "sample string 1",
      "ContactGuid": "1a824b8b-5e13-44a6-a064-1551e2d18b1d",
      "EndDateTime": "2025-12-04T19:49:11.9552861+00:00",
      "LocationGuid": "133b095c-0e5e-4d63-944d-c1639352dbf8",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2025-12-04T19:49:11.9552861+00:00"
    }
  ]
}

Response - (Status 200 - OK)

BarcodeSubmissionResponse

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




{
  "BarcodeResults": [
    {
      "ContactGuid": "3bf710a4-a60c-45b9-9fc6-8c830c0102b0",
      "Successful": true,
      "Barcode": "sample string 3"
    },
    {
      "ContactGuid": "3bf710a4-a60c-45b9-9fc6-8c830c0102b0",
      "Successful": true,
      "Barcode": "sample string 3"
    },
    {
      "ContactGuid": "3bf710a4-a60c-45b9-9fc6-8c830c0102b0",
      "Successful": true,
      "Barcode": "sample string 3"
    }
  ]
}

Remarks

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

Bundle(s)
Cap2