POST https://api.legendonlineservices.co.uk/Contacts/AdditionalDataResponses

Saves the additional data responses

Request Parameters

From Body Type Description
ContactID Int32
[DataItem] Atleast one of the value property (the correct one - based on data type) is required. For multiselect drop down, there should be one DataItem per option selected in the UI.
Name Type Description
AdditionalDataId Int32 See AdditionalData
BitValue Boolean Optional. For bool data types only
DateValue DateTime Optional. For date data types only
DecimalValue Decimal Optional. For decimal data types only
IntegerValue Int32 Optional. For integer data types only
TextValue String Optional. For text data types only




{
  "ContactID": 1,
  "DataItems": [
    {
      "AdditionalDataId": 1,
      "IntegerValue": 1,
      "DecimalValue": 1.0,
      "TextValue": "sample string 2",
      "DateValue": "2025-04-25T14:15:18.4564476+01:00",
      "BitValue": true
    },
    {
      "AdditionalDataId": 1,
      "IntegerValue": 1,
      "DecimalValue": 1.0,
      "TextValue": "sample string 2",
      "DateValue": "2025-04-25T14:15:18.4564476+01:00",
      "BitValue": true
    },
    {
      "AdditionalDataId": 1,
      "IntegerValue": 1,
      "DecimalValue": 1.0,
      "TextValue": "sample string 2",
      "DateValue": "2025-04-25T14:15:18.4564476+01:00",
      "BitValue": true
    }
  ]
}

Response - (Status 204 - No Content)

No object is returned by this request

Remarks

No validation of data is performed by the service. It is responsibility of the caller to ensure all validation is performed before calling the service.

Bundle(s)
Joining