...
schedule_type (Optional). String. Applicable to auto-scheduled tasks. One of the following: FIXED_WORK, FIXED_DURATION or FIXED_UNITS. If unspecified, will create the task as per the project's "Default Task Schedule Type" option.
schedule_type_override (Optional). String. Applicable only while modifying auto-scheduled tasks. One of the following: FIXED_WORK, FIXED_DURATION or FIXED_UNITS. In the case of auto scheduled tasks, W = D x U always holds true. So if D is changed, the system changes W or U to keep the equation consistent. The choice of whether to change W or U is dependent on the schedule type of the task. If it is "Fixed Work", then U (assignment units) is changed and if it is "Fixed Units", then W is changed. But what if the schedule type is "Fixed Duration"? Now the system doesn't know whether to change U or W. This parameter answers this question for the system. Let's assume that D is changed and the task's schedule type is "Fixed Duration". If this parameter is specified as FIXED_WORK, then U is changed and if specified as FIXED_UNITS, then W is changed. This value is not saved.
...