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": "0019a368-eeb5-48e2-8073-3ccad4ef20e5",
      "EndDateTime": "2025-04-25T14:17:31.6819498+01:00",
      "LocationGuid": "cf6a758d-6fa8-4449-8b8b-9367d20b3ec9",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2025-04-25T14:17:31.6819498+01:00"
    },
    {
      "Barcode": "sample string 1",
      "ContactGuid": "0019a368-eeb5-48e2-8073-3ccad4ef20e5",
      "EndDateTime": "2025-04-25T14:17:31.6819498+01:00",
      "LocationGuid": "cf6a758d-6fa8-4449-8b8b-9367d20b3ec9",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2025-04-25T14:17:31.6819498+01:00"
    },
    {
      "Barcode": "sample string 1",
      "ContactGuid": "0019a368-eeb5-48e2-8073-3ccad4ef20e5",
      "EndDateTime": "2025-04-25T14:17:31.6819498+01:00",
      "LocationGuid": "cf6a758d-6fa8-4449-8b8b-9367d20b3ec9",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2025-04-25T14:17:31.6819498+01:00"
    }
  ]
}

Response - (Status 200 - OK)

BarcodeSubmissionResponse

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




{
  "BarcodeResults": [
    {
      "ContactGuid": "f4f01301-664c-4056-b1f8-029d2b15d6e0",
      "Successful": true,
      "Barcode": "sample string 3"
    },
    {
      "ContactGuid": "f4f01301-664c-4056-b1f8-029d2b15d6e0",
      "Successful": true,
      "Barcode": "sample string 3"
    },
    {
      "ContactGuid": "f4f01301-664c-4056-b1f8-029d2b15d6e0",
      "Successful": true,
      "Barcode": "sample string 3"
    }
  ]
}

Remarks

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

Bundle(s)
Cap2