REST Objects TimeConstraint
TimeConstraint Object Format
TimeConstraint Object Properties
Property | Type | Required? | Description | Field Mappings | |||
---|---|---|---|---|---|---|---|
ServiceDispatch | ServiceMobility | ServiceScheduling | |||||
|
| No | A description of the time constraint. | N/A |
| N/A | |
Period | object | No | When present, the TimeConstraint object represents a single, exact period in time. A TimeConstraint has either a Period or a Range, but not both. | - | - | ||
Start | string | No | The start of the exact period in time, in UTC. | N/A | /TimeConstraints/Period/Start | earliest | |
End | string | No | The end of the exact period in time, in UTC. | N/A | /TimeConstraints/Period/End | latest | |
Range | object | No | When present, the TimeConstraint object is represents a period of time that repeats on certain days of the week, between two dates. A TimeConstraint has either a Period or a Range, but not both. | - | - | ||
Days | string | No | Which days of the week the repeating pattern applies to. A string of seven e.g. " | N/A | N/A | N/A | |
RangeStartDt | string | No | The first date on which the repeating pattern applies to. If this is not supplied, the repeat is assumed to apply for all dates up to and including This is an ISO-8601 date in the format | N/A | /Range/RangeStartDt | N/A | |
RangeEndDt | string | No | The last date on which the repeating pattern applies to. If this is not supplied, the repeat is assumed to apply for all dates after and including This is an ISO-8601 date in the format | N/A | /Range/RangeEndDt | N/A | |
DayStartTm | string | No | The local time for the start of the constraint on each active day in the range (as defined by This is an ISO-8601 time in the format | N/A | N/A | N/A | |
DayEndTm | string | No | The local time for the end of the constraint on each active day in the range (as defined by This is an ISO-8601 time in the format | N/A | N/A | N/A | |
TZ | string | No | The timezone to be used in order to calculate the time indicated by the period e.g. "Europe/London", "America/New_York". String is an IANA timezone string (see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) | N/A | /Range/TZ | N/A | |
Type | integer | No | The type of constraint:
| N/A | /TimeConstraints/Type | N/A |