The set_property method unschedules a pending regular and
reopened activity with the unschedule_activity action. The message
should contain "action" in the subject and the name of the action
to be performed ('unschedule_activity') in the message body. Note
that the unschedule_activity action is not supported for individual
segments and segmentable activities. After processing, the message
is assigned one of the following statuses with its corresponding description:
Status ‘delivered’
| Status |
Description |
| Status |
delivered |
| Description |
|
| Notes |
The action is performed successfully. |
Status ‘Failed’
| Status |
Description |
| Status |
failed |
| Description |
INVALID_RESOURCE_TYPE |
| Notes |
This action is not supported for this type of resource. For
example, the resource or its type are reconfigured and activities
cannot be assigned to it anymore. |
Status ‘Failed’
| Status |
Description |
| Status |
failed |
| Description |
NO_PERMISSION |
| Notes |
This user does not have access to the specified resource or
activity. |
Status ‘Failed’
| Status |
Description |
| Status |
failed |
| Description |
RESOURCE_NOT_FOUND |
| Notes |
The system is unable to find the resource the message refers
to. |
Status ‘Failed’
| Status |
Description |
| Status |
failed |
| Description |
ACTIVITY_NOT_FOUND |
| Notes |
The system is unable to find the activity the message refers
to. |
Status ‘Failed’
| Status |
Description |
| Status |
failed |
| Description |
INACTIVE_RESOURCE |
| Notes |
The resource is inactive. |
Status ‘Failed’
| Status |
Description |
| Status |
failed |
| Description |
ACTION_ON_PAST |
| Notes |
The activity is located in a route for a day in the past that
cannot be changed. |
Status ‘Failed’
| Status |
Description |
| Status |
failed |
| Description |
INVALID_ACTIVITY_STATUS |
| Notes |
This action is not supported for an activity with such status.
Only pending activities can be unscheduled. |
Status ‘Failed’
| Status |
Failed |
| Status |
failed |
| Description |
INVALID_ACTIVITY_STATUS |
| Notes |
This action is not supported for an activity with such status.
Only pending activities can be unscheduled. |
Status ‘Failed’
| Status |
Description |
| Status |
failed |
| Description |
INVALID_ACTIVITY_TYPE |
| Notes |
This action is not supported for this type of activity. Only regular and reopened activities can be
unscheduled. |
Status ‘Failed’
| Status |
Description |
| Status |
failed |
| Description |
NON_MOVABLE_ACTIVITY |
| Notes |
This type of activity cannot be moved to another resource or
day. For example, this error can appear for a not-scheduled activity. |
Status ‘Failed’
| Status |
Description |
| Status |
failed |
| Description |
RESCHEDULE_IS_NOT_ALLOWED |
| Notes |
This type of activity cannot be rescheduled to another day.
For example, this error can appear for a not-scheduled activity. |
Status ‘Failed’
| Status |
Description |
| Status |
failed |
| Description |
NOT_SCHEDULED_IS_NOT_ALLOWED |
| Notes |
This type of activity cannot be not-scheduled. For example,
this error can appear for a not-scheduled activity. |