SuperOfficeDocs / feedback

Contains feedback issues created by the community. Feedback issues are created by readers who click the feedback button on content pages in the docs.superoffice.com website.
MIT License
2 stars 0 forks source link

Feedback for Enum values for ModifiedAppointmentFields #177

Closed Morten-git closed 5 months ago

Morten-git commented 5 months ago

Is it possible to list possible values. At an appointment I look at right now I see values have been 0, 4, 6, 7. But what "important fields of an appointment" is that?


Document Details

Do not edit this section. It is required for docs.superOffice.com ➟ Docs Team processing.

SuperOfficeDevNet commented 5 months ago

Hi @Morten-git !

Unfortunately these files in the documentation are generated, and not always logical.

The possible values are based on the following enum as flags.

    /// <summary>
    /// Value for field &apos;modified_appointment_fields&apos; in table &apos;appointment&apos;.
    /// </summary>
    [Flags]    
    public enum ModifiedAppointmentFields 
    {
        /// <summary>
        /// 0: No modified fields.
        /// </summary>
        None = 0,

        /// <summary>
        /// 1: The Date-field has been modified.
        /// </summary>
        Date = 1,

        /// <summary>
        /// 2: The Time-field has been modified.
        /// </summary>
        Time = 2,

        /// <summary>
        /// 4: The Location-field has been modified.
        /// </summary>
        Location = 4,
    }

Therefore:

0 = None 1 = Date 2 = Time 3 = Date and Time 4 = Location 5 = Location and Date 6 = Location and Time 7 = Date and Time and Location

Hope this helps!

Morten-git commented 5 months ago

This definitely helps. Thanks (But some time in the future I might forget)