Constructors
NSAppointmentAgent()
Methods
Accept(Integer,Integer)
Accepts an appointment invitation.AcceptRejected(Integer,Integer)
Accepts that an invited participant has rejected your invitation or assignment.AcceptWithEmailConfirmation(Integer,Integer)
Accepts an appointment invitation and sends an email confirmation to the meeting organizer.AcceptWithSmtpEmailConfirmation(Integer,Integer)
Accepts an appointment invitation and sends an email confirmation to the meeting organizer.AssignTo(Integer,Integer)
Assigns an appointment to another person.CalculateDays()
Calculates the set of dates that represents a recurrence pattern. Adds conflict information to each date.CanAssignToProjectMember(Integer,Integer)
CleanUpBookingDeleted(Integer[])
Deletes all appointments(within the appointmentIds array) with status BookingDeleted.CleanUpRecurringBookingDeleted()
Deletes all appointments with status BookingDeleted and for logged-in user.CreateAndAccept(Integer,Integer)
Creates an appointment from an emailItem invitation and accepting it.CreateAndAcceptWithEmailConfirmation(Integer,Integer)
Creates an appointment from an emailItem invitation and accepting it with email confirmation to the meeting organizer.CreateAppointmentForUID(String)
Creates an invitation record and an appointment with a given UID to reserve it if the UID is unused, otherwise null.CreateDefaultAppointmentEntity()
Sets default values into a new NSAppointmentEntity.NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance.
CreateDefaultAppointmentEntityByType(Integer)
Creates an NSAppointmentEntity populated with the default values for the specific type.CreateDefaultAppointmentEntityByTypeAndAssociate(Integer,Integer)
Creates an NSAppointmentEntity populated with the default values for the specific type and owner.CreateDefaultAppointmentEntityFromProjectSuggestion(Integer,Integer,Bool,Integer)
CreateDefaultAppointmentEntityFromSaleSuggestion(Integer,Integer,Bool,Integer)
Creates an appointment based on a suggested appointment.CreateDefaultRecurrence()
Creates an NSRecurrenceInfo object populated with the default values for the specific type.CreateDefaultRecurrenceByDate()
Creates an NSRecurrenceInfo object populated with the default values for the specific type.CreateDefaultReOpenAppointment(Integer)
A re-open appointment should be created as a reminder to re-open the sale at a certain date with information regarding the stalled sale.CreateDefaultSuggestedAppointmentEntity()
Sets default values into a new NSSuggestedAppointmentEntity.NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance.
CreateDefaultTaskListItem()
Sets default values into a new NSTaskListItem.NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance.
DeclineInvitationFromEmailItem(Integer,String)
Declining an appointment invitation where no tentative appointments have been created.Delete(Integer,Integer,Bool)
Deletes a bookingDeleteAppointmentEntity(Integer)
Deletes the NSAppointmentEntity.GenerateLead(Integer,String,String,Integer,String,String,String,String,String,String,String,String)
Adds a sales lead (task) to a contact in SuperOffice. If the contact or person is known, the sales lead is added to the current contact. If not, a new contact is created, with the associate with ownerIdForNewContact as responsible (Our Contact). A relation is created between the contact and the person submitting the lead. Based on wether the person the request is made for is found or not, the following happens: If the person is found, the person, person’s contact and sales representative is returned. If neither the person nor the contact is found a new person and contact is created (if sufficient data is supplied), and the person, person’s contact and sales representative is returned. If the contact and not the person is found a new person is created on this contact, and the contact, salesrep, and person is returned (if there was enough data to return the person).If more than one contact is found a list of contacts is returned.
GetActivityInformationListByDatesAndAssociate(Integer)
Gets activity information for one or more days according to the given date interval.The time portion of the dates is ignored. Private appointments are counted, but may not be visible through tooltips or other more detailed services.
GetAlarms(Bool,Bool,Integer)
GetAppointment(Integer)
Gets an NSAppointment object.GetAppointmentEntity(Integer)
Gets an NSAppointmentEntity object.GetAppointmentFromUID(String)
Gets the appointment that corresponds to the given UID.GetAppointmentHaveParticipantsWithEmail(Integer)
Checks if any of the participants is marked to receive emails on this appointment.GetAppointmentList(Integer[])
Retrieves an array of NSAppointment objects.GetAppointmentRecords(Integer,Integer)
Gets all records involved in a booking and/or recurring appointments.GetAppointmentsByTaskHeading(Integer)
Returns appointments of a specific appointment task heading.Task represents the different types of activities, such as Phone call or Meeting.
GetAssociateDiary(Integer,Integer)
GetAssociatesDiary(Integer[])
GetCanInsertForAssociates(Integer[])
Checks if the current associate can create appointments in the diary of other associates.GetContactAppointments(Integer,Integer)
Returns a specified number of appointments within a time range. The appointments belong to the contact specified.If the logged-in user is not allowed to view this persons appointments an exception is thrown.
GetContactAppointmentsByTask(Integer,Integer,Integer)
Returns a specified number of appointments of a specific appointment task type within a time range. The appointments belong to the contact specified.Task represents the different types of activities, such as Phone call or Meeting.
GetContactAppointmentsByTaskHeading(Integer,Integer,Integer)
Returns a specified number of appointments of a specific appointment task heading within a time range. The appointments belong to the contact specified.Task represents the different types of activities, such as Phone call or Meeting.
GetContactAppointmentsByTasks(Integer,Integer,Integer[])
Returns a specified number of appointments belonging to an array of appointment task types within a time range. The appointments belong to the contact specified.Task represents the different types of activities, such as Phone call or Meeting.
GetContactAppointmentsByType(Integer,Integer,Integer)
Returns a specified number of appointments of a specific appointment type within a time range. The appointments belong to the contact specified.If the logged-in user is not allowed to view this contacts appointments an exception is thrown.
GetDayInformationListByDatesAndAssociate(Integer)
Gets combined day information (activity + red-letter summary) for one or more days according to the given date interval.The time portion of the dates is ignored. Private appointments are counted, but may not be visible through tooltips or other more detailed services.
GetDiaryByGroup(Integer,Integer,Integer)
GetMyAppointments(Integer)
Returns a specified number of appointments within a time range. The appointments belong to the currently logged-on user.GetMyDiary(Integer)
Returns a specified number of appointments within a time range. The appointments belong to the currently logged-on user.It returns only appointments that would be displayed in the user’s diary.
GetMyPublishedAppointments()
Gets published appointments from the logged in user.GetMySyncAppointments()
Returns a specified number of appointments within a time range. The appointments belong to the currently logged-on user.GetMyTasks(Integer)
Returns a specified number of appointments within a time range. The appointments belong to the currently logged-on user.It returns only appointments that would be displayed in the user’s task list.
GetNextSuggestedAppointmentBySale(Integer,Integer,Bool)
Gets the next suggested appointment for a given sale (or rather a given sales guide).GetOrganizerName(Integer)
Looks up the name / email of an event-organizerGetPersonAppointments(Integer,Bool,Integer)
Returns a specified number of appointments within a time range. The appointments belong to the person specified.If the person not is a SuperOffice user (associate) or the logged-on user is not allowed to view this persons appointments an exception is thrown.
GetPersonAppointmentsByTask(Integer,Bool,Integer,Integer)
Returns a specified number of appointments of a specific appointment task type within a time range. The appointments belong to the person specified.Task represents the different types of activities, such as Phone call or Meeting.
GetPersonAppointmentsByTaskHeading(Integer,Bool,Integer,Integer)
Returns a specified number of appointments of a specific appointment task heading within a time range. The appointments belong to the person specified.Task represents the different types of activities, such as Phone call or Meeting.
GetPersonAppointmentsByTasks(Integer,Bool,Integer,Integer[])
Returns a specified number of appointments from a list of appointment task types within a time range. The appointments belong to the person specified.Task represents the different types of activities, such as Phone call or Meeting.
GetPersonAppointmentsByType(Integer,Bool,Integer,Integer)
Returns a specified number of appointments of a specific appointment type within a time range. The appointments belong to the person specified.GetPersonDiary(Integer,Integer)
Returns a specified number of appointments within a time range.It only returns appointments that would be displayed in the user’s diary. The appointments belong to the person specified. If the person not is a SuperOffice user (associate) or the logged-on user is not allowed to view this persons appointments an exception is thrown.
GetPersonTasks(Integer,Integer)
Returns a specified number of appointments within a time range.It only returns appointments that would be displayed in the user’s task list. The appointments belong to the person specified. If the person not is a SuperOffice user (associate) or the logged-on user is not allowed to view this persons appointments an exception is thrown.
GetProjectAppointments(Integer,Integer)
Returns a specified number of appointments within a time range. The appointments belong to the project specified.If the logged-on user is not allowed to view this projects appointments an exception is thrown.
GetProjectAppointmentsByTask(Integer,Integer,Integer)
Returns a specified number of appointments of a specific appointment task type within a time range. The appointments belong to the project specified.GetProjectAppointmentsByTaskHeading(Integer,Integer,Integer)
Returns a specified number of appointments of a specific appointment task heading within a time range. The appointments belong to the project specified.GetProjectAppointmentsByTasks(Integer,Integer,Integer[])
Returns a specified number of appointments matching the list of appointment task types within a time range. The appointments belong to the project specified.GetProjectAppointmentsByType(Integer,Integer,Integer)
Returns a specified number of appointments of a specific appointment type within a time range. The appointments belong to the project specified.GetProjectMemberAppointments(Integer,Integer)
Returns a specified number of appointments within a time range. The appointments belong to the projects where the person specified is member.GetProjectMemberAppointmentsByTask(Integer,Integer,Integer)
Returns a specified number of appointments of a specific appointment task type within a time range. The appointments belong to the projects where the person specified is member.GetProjectMemberAppointmentsByTaskHeading(Integer,Integer,Integer)
Returns a specified number of appointments of a specific appointment task heading within a time range. The appointments belong to the projects where the person specified is member.GetProjectMemberAppointmentsByTasks(Integer,Integer,Integer[])
Returns a specified number of appointments matching a set of appointment task types within a time range. The appointments belong to the projects where the person specified is member.GetProjectMemberAppointmentsByType(Integer,Integer,Integer)
Returns a specified number of appointments of a specific appointment type within a time range. The appointments belong to the projects where the person specified is member.GetPublishedAppointment(Integer)
Gets published appointment by appointment ID.GetPublishedAppointments(Integer[])
Gets published appointments by appointment IDs.GetPublishedProjectAppointments(Integer)
Gets published appointments by project ID.GetRedLetterInformationListByDatesAndAssociate(Integer)
Gets detailed red-letter day information (red-letter summary + individual day texts) for one or more days according to the given date interval.The time portion of the dates is ignored.
GetSuggestedAppointment(Integer)
Gets an NSSuggestedAppointment object.GetSuggestedAppointmentEntity(Integer)
Gets an NSSuggestedAppointmentEntity object.GetTaskListItem(Integer)
Gets an NSTaskListItem object.GetTaskListItems(Bool)
Gets all takslist itemsGetUIDFromAppointmentId(Integer,Bool)
Gets the UID associated with the appointment id in the Invitation table.Move(Integer,Integer)
Moving a booking to another start time.See <xref href=“CRMScript.NetServer.RecurrenceUpdateMode” data-throw-if-not-resolved=“false”></xref>
Reject(Integer,String,Integer)
Rejecting an appointment invitationSee <xref href=“CRMScript.NetServer.RecurrenceUpdateMode” data-throw-if-not-resolved=“false”></xref>
RejectWithEmailConfirmation(Integer,String,Integer)
Rejecting an appointment invitation and send an email confirmation to the meeting organizer.See <xref href=“CRMScript.NetServer.RecurrenceUpdateMode” data-throw-if-not-resolved=“false”></xref>
RejectWithSmtpEmailConfirmation(Integer,String,Integer)
Rejecting an appointment invitation and send an email confirmation to the meeting organizer.See <xref href=“CRMScript.NetServer.RecurrenceUpdateMode” data-throw-if-not-resolved=“false”></xref>
RequestForInfo(Integer,String,String,String,String,String,String,String)
Submits a request for information. The request is added to the task list of the user that is responsible for this contact. Based on wether the person the request is made for is found or not, the following happens: If the person is found, the person, person’s contact and sales representative is returned. If neither the person nor the contact is found a new person and contact is created (if sufficient data is supplied), and the person, person’s contact and sales representative is returned. If the contact and not the person is found a new person is created on this contact, and the contact, salesrep, and person is returned (if there was enough data to return the person). If more than one contact is found a list of contacts is returned.Save(Integer,Bool)
Saving a booking.SaveAppointmentEntity(NSAppointmentEntity)
Saves an appointmentUpdates the existing NSAppointmentEntity or creates a new NSAppointmentEntity if the ID parameter is 0.SaveSuggestedAppointmentEntity(NSSuggestedAppointmentEntity)
Updates the existing NSSuggestedAppointmentEntity or creates a new NSSuggestedAppointmentEntity if the id parameter is 0SaveTaskListItem(NSTaskListItem)
Updates the existing NSTaskListItem or creates a new NSTaskListItem if the ID parameter is 0.SetActivityStatus(String[],Integer)
Sets the completed status for an array of activities. The changes are saved immediately.If an invalid ID is passed in (nonexistent record), no changes will be made. If there is no write access to the record being changed, a Sentry exception will be thrown in the usual manner.
SetSeen(Integer,Integer)
Sets an appointment invitation to seen.ToggleActivities(String[])
Toggles the completed status for an array of activities.ToggleActivity(String)
Toggles the completed status for an activity. The changes are saved immediately.ToggleAndSetActivities(String[])
Toggles the first activity and sets the rest of the activities to the result of the first toggle.There are some special rules for appointments that trigger a suggested appointment when they are completed. If more than one appointment in the set of identifiers triggers a suggestion, we will not toggle those appointments. This rule is only active when changing the status of an appointment to complete. There must be more than one appointment that triggers such an event for this rule to take effect.