xMsg javascript has not been loaded.
Catalog: Severa
Schema: API
Label: Add New Activity
This is a read-only table function. The Visma Severa API may not support changing the data or the Invantive SQL driver for Visma Severa does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Visma Severa API.
Action: http://soap.severa.com/IActivity/AddNewActivity
Topic: AddNewActivity
Base XPath: /s:Envelope/s:Body/tns:AddNewActivityResponse/tns:AddNewActivityResult
Filters on API Server: activityInfo_AccountGUID- activityInfo_ActivityTypeCode- activityInfo_ActivityTypeGUID- activityInfo_CaseGUID- activityInfo_EndDateTime- activityInfo_GUID- activityInfo_IsAllDay- activityInfo_IsClosed- activityInfo_IsDuration- activityInfo_IsPrivate- activityInfo_IsReadOnly- activityInfo_IsUnassigned- activityInfo_Location- activityInfo_Name- activityInfo_Notes- activityInfo_OwnerUserBusinessUnitCode- activityInfo_OwnerUserCode- activityInfo_OwnerUserFirstName- activityInfo_OwnerUserGUID- activityInfo_OwnerUserLastName- activityInfo_StartDateTime- activityInfo_TaskGUID
The following parameters can be used to control the behaviour of the table function AddNewActivity. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be treated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example with `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
Name |
Data Type |
Required |
Default Value |
Documentation |
---|---|---|---|---|
activityInfo_AccountGUID |
string |
☐ |
|
|
activityInfo_ActivityTypeCode |
string |
☐ |
|
|
activityInfo_ActivityTypeGUID |
string |
☐ |
|
|
activityInfo_CaseGUID |
string |
☐ |
|
|
activityInfo_EndDateTime |
datetime |
☐ |
|
|
activityInfo_GUID |
string |
☐ |
|
|
activityInfo_IsAllDay |
boolean |
☐ |
|
|
activityInfo_IsClosed |
boolean |
☐ |
|
|
activityInfo_IsDuration |
boolean |
☐ |
|
|
activityInfo_IsPrivate |
boolean |
☐ |
|
|
activityInfo_IsReadOnly |
boolean |
☐ |
|
|
activityInfo_IsUnassigned |
boolean |
☐ |
|
|
activityInfo_Location |
string |
☐ |
|
|
activityInfo_Name |
string |
☐ |
|
|
activityInfo_Notes |
string |
☐ |
|
|
activityInfo_OwnerUserBusinessUnitCode |
string |
☐ |
|
|
activityInfo_OwnerUserCode |
string |
☐ |
|
|
activityInfo_OwnerUserFirstName |
string |
☐ |
|
|
activityInfo_OwnerUserGUID |
string |
☐ |
|
|
activityInfo_OwnerUserLastName |
string |
☐ |
|
|
activityInfo_StartDateTime |
datetime |
☐ |
|
|
activityInfo_TaskGUID |
string |
☐ |
|
|
The columns of the table function AddNewActivity are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
ACCOUNTGUID |
string |
Account GUID |
|
|
ACTIVITYTYPECODE |
string |
Activity Type Code |
|
|
ACTIVITYTYPEGUID |
string |
Activity Type GUID |
|
|
CASEGUID |
string |
Project GUID |
|
|
ENDDATETIME |
datetime |
End Date Time |
|
|
GUID |
string |
GUID |
|
|
ISALLDAY |
boolean |
Is All Day |
|
|
ISCLOSED |
boolean |
Is Closed |
|
|
ISDURATION |
boolean |
Is Duration |
|
|
ISPRIVATE |
boolean |
Is Private |
|
|
ISREADONLY |
boolean |
Is Read-only |
|
|
ISUNASSIGNED |
boolean |
Is Unassigned |
|
|
LOCATION |
string |
Location |
|
|
NAME |
string |
Name |
|
|
NOTES |
string |
Notes |
|
|
OWNERUSERBUSINESSUNITCODE |
string |
Owner User Business Unit Code |
|
|
OWNERUSERCODE |
string |
Owner User Code |
|
|
OWNERUSERFIRSTNAME |
string |
Owner User First Name |
|
|
OWNERUSERGUID |
string |
Owner User GUID |
|
|
OWNERUSERLASTNAME |
string |
Owner User Last Name |
|
|
STARTDATETIME |
datetime |
Start Date Time |
|
|
TASKGUID |
string |
Task GUID |
|
|
06-04-2021 14:32 Version 20.1.393-BETA+3152