_API EmpAddActResponse Definition
- Matthew Wren
Web Service | Type | Description | Req? | Val? | ||
|
|
|
|
| ||
|
|
| is the identifier of the employee that the newly created standard activity will be allocated to. | |||
|
|
| is the type of standard activity which should be created | |||
|
|
| is the date and time of when the new standard activity should start (employee local or default – see 12). If the time part isn’t supplied, it defaults to the start of the operative’s day. |
| ||
|
|
| is the date and time (employee local or default) when the new standard activity should end. If the time part isn’t supplied, it defaults to the end of the operative’s day. If an empty string (“”) is supplied, the new activity will last indefinitely but this is only allowed if the employee is posted to the same FRU (but not necessarily to the same Team within that FRU) indefinitely, otherwise SP_POSTING_HAS_ENDDATE (285) will be returned. expectedEnd and expectedDuration cannot both be populated – if both are then SP_SA_CONFLICTING_END (665) will be returned. |
|
| |
|
|
| specifies where the new standard activity is to be located: at a supplied postal code (in Act.EndPostCode (below)), at the employee’s home region, at the employee’s depot’s region (not available in V4.4 if the operative isn’t on shift), at the employee’s work region, at the employee’s start region on the day of the activity (if he’s on shift), taking overrides into account, at the employee’s end region on the day of the activity (if he’s on shift), taking overrides into account Note: Can be missing but, unless StandardActivityTravelMode has a value other than NoTravel, this will result in SP_ACT_LOC_TYPE_INVALID (152) being returned, since the activity’s location must be known to SERVICEOptimizer for travel to be included. |
|
| |
|
|
| is the postal code of the location of the new activity when the value of Act.EndLocType (above) is Supplied. | |||
|
|
| This field is for user annotation and can either be any text string or it can be empty (“”). It appears on the Gantt Show Activity Details window, where it can also be edited. |
|
| |
|
|
| Defaults to Employee TZ. |
|
| |
|
|
| Determines whether or not this specific standard activity will be included in any dispatching process. Defaults to value associated with actType. |
|
| |
|
|
| Determines whether the standard activity will be allocated travel and, if so, how that travel behaves w.r.t the start of the SA |
| ||
|
|
| The number of minutes the standard activity is expected to last. expectedEnd and expectedDuration cannot both be populated – if both are then SP_SA_CONFLICTING_END (665) will be returned. |
|
| |
|
|
| Please refer to section 4.2.4 for defintions and settings values |
|
| |
|
|
|
|
|
| |
|
|
|
|
|
| |
|
|
|
|
|
| |
|
|
|
|
|
| |
|
|
|
|
|
| |
|
|
|
|
|
| |
|
|
|
|
|
| |
|
|
|
|
|
| |
|
|
|
|
|
Both the ExpectedStart and the ExpectedEnd fields are local to the employee doing the activity or, if the employee has no timezone, local to the default timezone.