Click or drag to resize

AddLaborLevelDetailInValidateCustomFieldName Property

Validates if the custom field name exists when passing in a custom field

Namespace: AppOne.Services.V2.Contracts
Assembly: AppOne.Web.Service (in AppOne.Web.Service.dll) Version: 1.0.141
Syntax
public bool? ValidateCustomFieldName { get; set; }

Property Value

NullableBoolean
Remarks
Validates if the custom field name exists when passing in a custom field. When a AddLaborLevelDetailCustomField object is passed as part of the payload the only lookup provided is the "Name" property. If the name does not match a specific pre-defined labor level custom field then no custom field is added to the labor level detail. When this property is enabled it will return an error message for each labor level detail custom field name that does not match an existing labor level custom field.
Example
JSON Request
"AuthToken": "...",
"ValidateCustomField":true,
"Payload":[{
    "Code":"LLDCODE",
    "CustomFields":[{
        "Name":"Date_LL_CustomField",
        "Value":"2016-01-04T22:02:08.296Z"
    }]
    ...
See Also