Delete Multiple Activities
Specify and delete multiple activities through the Activity Management API in Touchstone Re.
Use the SubmitDeleteActivities method in the ActivityManagement namespace to specify multiple unique sequential identifier associated with the activity that you want to delete. Then submit a request to delete several activities at once. After successful completion of the request, the status of the selected activities show as delete in the Activity Monitor user interface, and the deleted activities are no longer available in Touchstone Re.
Updated AIR.Services.ActivityManagement.Api Namespace
AIR has implemented the SubmitDeleteActivitiesRequest and SubmitDeleteActivitiesResponse classes in the Activity Management API namespace. This class contains the following property in the request service call.
|
Property |
Type |
Description |
|---|---|---|
|
ActivitySids |
List integer<ActivitySids> |
(Required) Contains a list of the activities that you want to delete. |
The SubmitDeleteActivitiesResponse class contains the following properties.
|
Properties |
Type |
Description |
|---|---|---|
|
ActivitySid |
Integer |
Indicates the sequential identifier of the request activity that contains a list of activities that you specified in the request service for delete. |
|
DeleteActivityError |
List <DeleteActivityError> |
Indicates the error message associated with the activity that the system rejected to delete. |
Updated AIR.Services.ActivityManagement.Data Namespace
The DeleteActivityError class stores information on activities that the system declined to delete in the request job. This class includes the following properties.
|
Properties |
Type |
Description |
|---|---|---|
|
DeleteActivitySid |
Integer |
Indicates the sequential identifier associated with the activities selected for delete. |
|
Error |
String |
Indicates the type of error for the activities associated with the initial delete request. For example,
|
