Skip to main content

Class Appointment

Namespace: SuperOffice.WebApi.Data
Assembly: SuperOffice.WebApi.dll
Carrier object for Appointment. Simple read-only appointment data.

Inheritance

objectCarrierAppointment

Inherited Members

Carrier.TableRight, Carrier.FieldProperties, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Examples

Get Appointment 123 using the WebApi client:
var configuration = new WebApiConfiguration(url);
var agent = new AppointmentAgent(configuration);
var appointment = agent.GetAppointment( 123 );

Constructors

Appointment()

Default constructor - defaults any enum props to 0.

Properties

ActiveDate

The date to be used for searching & showing

Property Value

DateTime

Agenda

The agenda of the appointment.

Property Value

string

AlarmLeadTime

Alarm lead time.

Property Value

TimeSpan

AppointmentId

Primary key

Property Value

int

AssignedBy

Who (last) assigned this appointment to associate_id?

Property Value

int

AssignedByFullName

The associate’s culture formatted fullname (firstname, middleName and lastname)

Property Value

string

AssignmentStatus

Status if this appointment is in the process of being assigned to someone else NULL if unknown enum value.

Property Value

AssignmentStatus?

See Also

Appointment.AssignmentStatus_String

AssignmentStatus_String

Status if this appointment is in the process of being assigned to someone else Raw string enum value.

Property Value

string

See Also

Appointment.AssignmentStatus

AssociateFullName

The owner of the appointment - the associate whose diary/checklist the appointment is in.

Property Value

string

AssociateId

ID of associate whose diary the appointment is in, REQUIRED

Property Value

int

AssociateName

The associate’s name

Property Value

string

BookingType

The type of booking the appointment represents NULL if unknown enum value.

Property Value

BookingType?

See Also

Appointment.BookingType_String

BookingType_String

The type of booking the appointment represents Raw string enum value.

Property Value

string

See Also

Appointment.BookingType

CautionWarning

Status field to indicate appointments that have some sort of problem NULL if unknown enum value.

Property Value

AppointmentCautionWarning?

See Also

Appointment.CautionWarning_String

CautionWarning_String

Status field to indicate appointments that have some sort of problem Raw string enum value.

Property Value

string

See Also

Appointment.CautionWarning

ColorIndex

Appointment colour, used only in Japanese versions. Western versions take colour from Task

Property Value

short

Completed

The Completed state. NULL if unknown enum value.

Property Value

ActivityStatus?

See Also

Appointment.Completed_String

Completed_String

The Completed state. Raw string enum value.

Property Value

string

See Also

Appointment.Completed

ContactId

Contact ID of owning contact, may be 0

Property Value

int

ContactName

The contact associated with the appointment.

Property Value

string

CreatedBy

Who created the appointment. Associate name.

Property Value

string

CreatedByAssociateId

Id of the associate that created the appointment

Property Value

int

CreatedByFullName

Who created the appointment. Full name.

Property Value

string

CreatedDate

Appointment creation date

Property Value

DateTime

Description

The appointment’s textbox; holds a descriptive text about the appointment. Filled out by the user.

Property Value

string

EndDate

Date + end time planned

Property Value

DateTime

HasAlarm

Does this appointment have an alarm

Property Value

bool

InternalNotes

Internal notes for the appointment.

Property Value

string

InvitationStatus

Status if this appointment represents an invitation NULL if unknown enum value.

Property Value

InvitationStatus?

See Also

Appointment.InvitationStatus_String

InvitationStatus_String

Status if this appointment represents an invitation Raw string enum value.

Property Value

string

See Also

Appointment.InvitationStatus

IsAlldayEvent

True if all day event

Property Value

bool

IsBooking

True if this appointment is a booking.

Property Value

bool

IsBookingMain

True if this appointment is a booking and current associate is the owner. False if it is a booking and current associate is a participant.

Property Value

bool

IsFree

True if free, false if busy

Property Value

bool

IsPublished

True if appointment have an entry in published table

Property Value

bool

IsRecurrence

True if the appointment is part of a recurring pattern.

Property Value

bool

JoinVideomeetUrl

Blank when not a video meeting. Filled with Join Meeting URL when created.

Property Value

string

Location

Location for appointment, defaulted from invited resource of type place and other rules, but you can write anything you want here

Property Value

string

MotherAssociateId

Associate/owner of the mother appointment

Property Value

int

MotherId

ID of mother appointment; self if booking master, master ID if booking slave, 0 if normal appointment. However, if 0 and assoc_id != reg_id then this is an assigned appointment, indicated vt type = kBooking

Property Value

int

OwnedExternally

Set if an external system owns this appointment. NULL if unknown enum value.

Property Value

AppointmentExternalOwner?

See Also

Appointment.OwnedExternally_String

OwnedExternally_String

Set if an external system owns this appointment. Raw string enum value.

Property Value

string

See Also

Appointment.OwnedExternally

PersonFullName

The full name of the person this appointment belongs to.

Property Value

string

PersonId

Person ID of person the appointment is with, may be 0

Property Value

int

PreferredTZLocation

Preferred timezone location to use when displaying/editing this appointment

Property Value

int

PriorityId

Link to priority list

Property Value

int

PriorityName

Name of the appointments priority

Property Value

string

Private

Obsolete, but still maintained field for appointment privacy; denormalization of visiblefor status NULL if unknown enum value.

Property Value

AppointmentPrivate?

See Also

Appointment.Private_String

Private_String

Obsolete, but still maintained field for appointment privacy; denormalization of visiblefor status Raw string enum value.

Property Value

string

See Also

Appointment.Private

ProjectId

ID of project referred to, may be 0

Property Value

int

ProjectName

The name of the project this appointment belong to. Blank if no project is connected.

Property Value

string

RecurringEndDate

Property Value

DateTime

RecurringPattern

NULL if unknown enum value.

Property Value

RecurrencePattern?

See Also

Appointment.RecurringPattern_String

RecurringPattern_String

Raw string enum value.

Property Value

string

See Also

Appointment.RecurringPattern

RecurringStartDate

Property Value

DateTime

RejectReason

Why was this booking or assignment rejected, the RejectReason list is a source of suggestions but you can write anything here

Property Value

string

SaleId

Owning sale, if any (may be 0)

Property Value

int

SaleName

Heading of Owning sale, if any. (may be blank)

Property Value

string

StartDate

date + start time planned

Property Value

DateTime

Task

Task comprises the different types of activities, like “Phone call”, “Meeting” and so on.

Property Value

string

TaskId

Link to task list

Property Value

int

TaskType

The different task types of the appointment, if the activity is an appointment, task, phone. See the different types of appointments in the database manual. NULL if unknown enum value.

Property Value

TaskType?

See Also

Appointment.TaskType_String

TaskType_String

The different task types of the appointment, if the activity is an appointment, task, phone. See the different types of appointments in the database manual. Raw string enum value.

Property Value

string

See Also

Appointment.TaskType

Title

The title of the appointment.

Property Value

string

Type

The different types of appointment, if the appointment is supposed to be shown in the diary or checklist, or if it’s a document. See the different types of appointments in the database manual. NULL if unknown enum value.

Property Value

AppointmentType?

See Also

Appointment.Type_String

Type_String

The different types of appointment, if the appointment is supposed to be shown in the diary or checklist, or if it’s a document. See the different types of appointments in the database manual. Raw string enum value.

Property Value

string

See Also

Appointment.Type

See Also

AppointmentAgent