Examples
The example below shows how you can set up a change schedule call
var update= {
AttributeAction : 1, //modify
AttributeType : 2, //schedule
AttributeTransaction : "121212-33434-343-2", //unique id generated by client
AttributeData : {
ScheduleId : "111111-11111-11111-11111-11",
Fields : [{
AttributeAction : 1, //modify
AttributeType: 0, //field
AttributeName : "PersonalDeadline"
AttributeData : {
FieldName : "PersonalDeadline,
FieldValue : "2016.12.25T12:00:00"
}
},{
AttributeAction : 1, //modify
AttributeType: 0, //field
AttributeName : "DelayReason"
AttributeData : {
FieldName : "DeleyReason,
FieldValue : "DOA" //Delay reason
}
},{
AttributeAction : 1, //modify
AttributeType: 0, //field
AttributeName : "DelayDescription"
AttributeData : {
FieldName : "DeleyReason,
FieldValue : "Part was dead when I unpacked it"
}
}]
}
}
Properties
| Name | Description | Type | Additional information |
|---|---|---|---|
| ScheduleId |
Get or sets the schedule id |
string |
None. |
| Name |
Gets or sets name of schedule |
string |
None. |
| PersonalDeadline |
Get current personal deadline. Do not change this value directly. Add a a new delay to the delay collection |
date |
None. |
| OfficialDeadline |
Get current official deadline. Do not change this value directly. Add a a new delay to the delay collection |
date |
None. |
| IsEditable |
True if user can change schedule, false otherwise. Only subcontractor users and InfoCare users can change schedule |
boolean |
None. |
| Delays |
Gets a list delays for this schedule. Add a new entry to this collection in order to make a new delay to the schedule |
Collection of AttributeUpdateModel |
None. |
| Fails |
Gets why this schedule failed. Add a new entry to this collection to indicate why the schedule failed |
Collection of AttributeUpdateModel |
None. |
| IsClosestSchedule |
True if this schedule is closest schedule, false otherwise |
boolean |
None. |
| SlaEnabled |
Gets or sets value indicating whether sla is enabled for this schedule definition. |
boolean |
None. |