Interface IAppointmentInfo
Interface providing information about the appointment.
Namespace: SuperOffice.CRM
Assembly: SuperOffice.Plugins.dll
Syntax
public interface IAppointmentInfo
Properties
AppointmentId
Primary key for the appointment
Declaration
int AppointmentId { get; }
Property Value
| Type | Description |
|---|---|
| int |
AssociateId
Owner associate id
Declaration
int AssociateId { get; }
Property Value
| Type | Description |
|---|---|
| int |
AssociateName
The appointment's owner, name
Declaration
string AssociateName { get; }
Property Value
| Type | Description |
|---|---|
| string |
AssociateOwnerName
Name of owner associate If this is a child booking, we want to look to the mother appointment's owner
Declaration
string AssociateOwnerName { get; }
Property Value
| Type | Description |
|---|---|
| string |
ContactId
Associated contact id
Declaration
int ContactId { get; }
Property Value
| Type | Description |
|---|---|
| int |
ContactName
Associated contact name
Declaration
string ContactName { get; }
Property Value
| Type | Description |
|---|---|
| string |
CreationDate
The appointment's creation date, formatted YYYYMMdd
Declaration
string CreationDate { get; }
Property Value
| Type | Description |
|---|---|
| string |
CreationTime
The appointment's creation time formatted HHmmss
Declaration
string CreationTime { get; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Appointment description
Declaration
string Description { get; }
Property Value
| Type | Description |
|---|---|
| string |
DescriptionLine
First line of appointment description
Declaration
string DescriptionLine { get; }
Property Value
| Type | Description |
|---|---|
| string |
The appointment's owner's emailaddress
Declaration
string EMail { get; }
Property Value
| Type | Description |
|---|---|
| string |
EndDate
The appointment's enddate, formatted YYYYMMdd
Declaration
string EndDate { get; }
Property Value
| Type | Description |
|---|---|
| string |
EndTime
The appointment's endtime, formatted HHmmss
Declaration
string EndTime { get; }
Property Value
| Type | Description |
|---|---|
| string |
FreeBusy
Free/Busy time
Declaration
string FreeBusy { get; }
Property Value
| Type | Description |
|---|---|
| string |
ICalId
Unique id made for iCal. SerialnoDappointmentIdDinvitedIdDupdated. Where D is a separator
Declaration
string ICalId { get; }
Property Value
| Type | Description |
|---|---|
| string |
ICalPriority
Priority on ical format
Declaration
int ICalPriority { get; }
Property Value
| Type | Description |
|---|---|
| int |
InvitationClickText
The connection from "Click here to open the SuperOffice SIX dialog box" shown for registered contacts. Blank if the recipient not is a registered contact
Declaration
string InvitationClickText { get; }
Property Value
| Type | Description |
|---|---|
| string |
InvitationUrl
The connection from "superoffice:invitations" to the invitation dialog box
Declaration
string InvitationUrl { get; }
Property Value
| Type | Description |
|---|---|
| string |
InviteeId
User ID for this rows invitee (Used with bookings)
Declaration
int InviteeId { get; }
Property Value
| Type | Description |
|---|---|
| int |
InviteeName
The name of this rows invited person
Declaration
string InviteeName { get; }
Property Value
| Type | Description |
|---|---|
| string |
IsMilestone
Is the appointment a milestone appointment? English text "Yes" or "No".
Declaration
string IsMilestone { get; }
Property Value
| Type | Description |
|---|---|
| string |
JoinMeetingUrl
The URL
Declaration
string JoinMeetingUrl { get; }
Property Value
| Type | Description |
|---|---|
| string |
Location
Appointment location
Declaration
string Location { get; }
Property Value
| Type | Description |
|---|---|
| string |
MainRepeatingPattern
The main feature of the appointments repeating pattern, formatted like the Daily pattern "FREQ=DAILY;" for example
Declaration
string MainRepeatingPattern { get; }
Property Value
| Type | Description |
|---|---|
| string |
OldStartDate
The appointment's old start date, formatted as YYYYMMdd.
Declaration
string OldStartDate { get; }
Property Value
| Type | Description |
|---|---|
| string |
OldStartTime
The appointment's old start time, formatted as HHmmss.
Declaration
string OldStartTime { get; }
Property Value
| Type | Description |
|---|---|
| string |
PersonId
Associated person id
Declaration
int PersonId { get; }
Property Value
| Type | Description |
|---|---|
| int |
PersonName
The appointment's person, name
Declaration
string PersonName { get; }
Property Value
| Type | Description |
|---|---|
| string |
PreferredTZLocation
The preferred timezone for the appointment
Declaration
int PreferredTZLocation { get; }
Property Value
| Type | Description |
|---|---|
| int |
Priority
The appointment's priority in clear text
Declaration
string Priority { get; }
Property Value
| Type | Description |
|---|---|
| string |
PriorityId
The appointment's priority by number, 1 = low, 2 = medium, 3 = high
Declaration
int PriorityId { get; }
Property Value
| Type | Description |
|---|---|
| int |
ProjectId
Associated project id
Declaration
int ProjectId { get; }
Property Value
| Type | Description |
|---|---|
| int |
ProjectName
Associated project name
Declaration
string ProjectName { get; }
Property Value
| Type | Description |
|---|---|
| string |
PublishEndDate
Appointment, end date for publication
Declaration
string PublishEndDate { get; }
Property Value
| Type | Description |
|---|---|
| string |
PublishStartDate
Appointment, start date for publication
Declaration
string PublishStartDate { get; }
Property Value
| Type | Description |
|---|---|
| string |
RepeatingAppointmentId
Appointment ID for any repeating appointments
Declaration
int RepeatingAppointmentId { get; }
Property Value
| Type | Description |
|---|---|
| int |
RepeatingEndDate
The end date for the appointment's repeating pattern, formatted as yyyyMMdd
Declaration
string RepeatingEndDate { get; }
Property Value
| Type | Description |
|---|---|
| string |
RepeatingPattern
The entire appointment's repeating pattern, formatted as "RRULE:" + bpat + bsub + bunt
Declaration
string RepeatingPattern { get; }
Property Value
| Type | Description |
|---|---|
| string |
RepeatingPatternEnd
Repeating pattern end date
Declaration
string RepeatingPatternEnd { get; }
Property Value
| Type | Description |
|---|---|
| string |
RepeatingPatternText
The text "This appointment is part of a repeating pattern:"
Declaration
string RepeatingPatternText { get; }
Property Value
| Type | Description |
|---|---|
| string |
RepeatingPatternText2
The text "See below in this message for a list of the repeating appointments."
Declaration
string RepeatingPatternText2 { get; }
Property Value
| Type | Description |
|---|---|
| string |
RepeatingPatternWeekStart
Repeating pattern week start
Declaration
string RepeatingPatternWeekStart { get; }
Property Value
| Type | Description |
|---|---|
| string |
RepeatingStartDate
The start date for the appointment's repeating pattern, formatted as YYYYMMdd
Declaration
string RepeatingStartDate { get; }
Property Value
| Type | Description |
|---|---|
| string |
RepeatingTooltip
The appointment's tooltip for repeating appointments
Declaration
string RepeatingTooltip { get; }
Property Value
| Type | Description |
|---|---|
| string |
StartDate
Date or deadline if this is a task or an appointment
Declaration
string StartDate { get; }
Property Value
| Type | Description |
|---|---|
| string |
StartDateLabel
Date or deadline label
Declaration
string StartDateLabel { get; }
Property Value
| Type | Description |
|---|---|
| string |
StartDateTimeAndDuration
The appointment's date and time. E.g. 30.03.2005 (16:00)-(17:00).
Declaration
string StartDateTimeAndDuration { get; }
Property Value
| Type | Description |
|---|---|
| string |
StartTime
The appointment's starttime, formatted HHmmss
Declaration
string StartTime { get; }
Property Value
| Type | Description |
|---|---|
| string |
State
The state of the appointment: "TENTATIVE", "CONFIRMED" eller "CANCELLED"
Declaration
string State { get; }
Property Value
| Type | Description |
|---|---|
| string |
SubRepeatingPattern
The secondary feature of the appointment's repeating pattern, formatted as the sub-pattern Daily Workday "BYDAY=MO,TU,WE,TH,FR;", for example
Declaration
string SubRepeatingPattern { get; }
Property Value
| Type | Description |
|---|---|
| string |
SuggestedAppointmentId
The appointments SuggestedAppointment ID. Return 0 when appointment is not part of a sale/project guide.
Declaration
int SuggestedAppointmentId { get; }
Property Value
| Type | Description |
|---|---|
| int |
Type
Activitytype
Declaration
string Type { get; }
Property Value
| Type | Description |
|---|---|
| string |
UpdatedCount
Number of times the appointment has been updated. (Only counts from version SIX)
Declaration
int UpdatedCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
UpdatedDate
The date of the last update, formatted YYYYMMdd
Declaration
string UpdatedDate { get; }
Property Value
| Type | Description |
|---|---|
| string |
UpdatedTime
The time of the last update, formatted HHmmss
Declaration
string UpdatedTime { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetInvitationFormattedListAsync(CancellationToken)
Formatted list of inviteted ??, made for iCal
Declaration
Task<string> GetInvitationFormattedListAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<string> |
GetInvitedListAsync(CancellationToken)
Formatted list of invited persons, humanly readable
Declaration
Task<string> GetInvitedListAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task<string> |
GetUserDefinedDecimal(int)
User-defined field 1-10 of the decimal (.NET double) number type.
Declaration
string GetUserDefinedDecimal(int fieldNo)
Parameters
| Type | Name | Description |
|---|---|---|
| int | fieldNo | Field number (1-10). |
Returns
| Type | Description |
|---|---|
| string | User-defined field value. |
GetUserDefinedDecimal(string)
Get the decimal udef value based on the prog.id name of the udef field.
Declaration
double GetUserDefinedDecimal(string progId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | progId | Program name of udef field |
Returns
| Type | Description |
|---|---|
| double | double value of field, or NAN if field not found |
GetUserDefinedInt(int)
Get user-defined field 1-60 of the whole (.NET Int32) number type.
Declaration
string GetUserDefinedInt(int fieldNo)
Parameters
| Type | Name | Description |
|---|---|---|
| int | fieldNo | Field number (1-60). |
Returns
| Type | Description |
|---|---|
| string | User-defined field value. |
GetUserDefinedInt(string)
Get the int udef value based on the prog.id name of the udef field.
Declaration
int GetUserDefinedInt(string progId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | progId | Program name of udef field |
Returns
| Type | Description |
|---|---|
| int | int value of field, or MINVALUE if field not found |
GetUserDefinedString(int)
Get user-defined field 1-49 of the text (.NET string) type.
Declaration
string GetUserDefinedString(int fieldNo)
Parameters
| Type | Name | Description |
|---|---|---|
| int | fieldNo | Field number (1-39). |
Returns
| Type | Description |
|---|---|
| string | User-defined field value. |
GetUserDefinedString(string)
Get the string udef value based on the prog.id name of the udef field.
Declaration
string GetUserDefinedString(string progId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | progId | Program name of udef field |
Returns
| Type | Description |
|---|---|
| string | string value of field, or NULL if field not found |