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": "5d2bd13c-b298-4b93-97d8-e12741f80f86",
      "EndDateTime": "2026-02-04T07:05:26.463348+00:00",
      "LocationGuid": "f95b9768-b82d-4c7c-9d9a-b4066fad02c3",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2026-02-04T07:05:26.463348+00:00"
    },
    {
      "Barcode": "sample string 1",
      "ContactGuid": "5d2bd13c-b298-4b93-97d8-e12741f80f86",
      "EndDateTime": "2026-02-04T07:05:26.463348+00:00",
      "LocationGuid": "f95b9768-b82d-4c7c-9d9a-b4066fad02c3",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2026-02-04T07:05:26.463348+00:00"
    },
    {
      "Barcode": "sample string 1",
      "ContactGuid": "5d2bd13c-b298-4b93-97d8-e12741f80f86",
      "EndDateTime": "2026-02-04T07:05:26.463348+00:00",
      "LocationGuid": "f95b9768-b82d-4c7c-9d9a-b4066fad02c3",
      "MaxNumberOfEntriesOnBarcode": 4,
      "StartDateTime": "2026-02-04T07:05:26.463348+00:00"
    }
  ]
}

Response - (Status 200 - OK)

BarcodeSubmissionResponse

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




{
  "BarcodeResults": [
    {
      "ContactGuid": "9bdad4ff-aa97-4ad3-9253-b6ee2f844e00",
      "Successful": true,
      "Barcode": "sample string 3"
    },
    {
      "ContactGuid": "9bdad4ff-aa97-4ad3-9253-b6ee2f844e00",
      "Successful": true,
      "Barcode": "sample string 3"
    },
    {
      "ContactGuid": "9bdad4ff-aa97-4ad3-9253-b6ee2f844e00",
      "Successful": true,
      "Barcode": "sample string 3"
    }
  ]
}

Remarks

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

Bundle(s)
Cap2