Load weekly calendar overrides

Loads weekly calendar overrides into GAINS X; one record adds or removes working time at one location on the listed days of the week, between its start and end dates. Records that pass validation are loaded asynchronously; follow the returned task. See Demand Planning.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length between 1 and 80

Location code the calendar override applies to

string
required
^([EI])$

Whether the override adds or removes working time. Accepted values: 'E' (exclude) and 'I' (include)

string
length between 0 and 100

Free-text note describing why the override exists

date
required

Required. First day the override is in effect (YYYY-MM-DD)

date
required

Required. Last day the override is in effect (YYYY-MM-DD); must be on or after StartDate

ModifiedSchedule
array of strings
required
length ≥ 1

The days of the week the override applies to, within the start and end date range. Lowercase day names, monday to sunday, with no duplicates

ModifiedSchedule*

The days of the week the override applies to, within the start and end date range. Lowercase day names, monday to sunday, with no duplicates

AppliesTo
array of strings
required
length ≥ 1

The activities the override applies to. Accepted values: 'receive', 'ship', 'production', 'release', 'delivery', lowercase, with no duplicates

AppliesTo*

The activities the override applies to. Accepted values: 'receive', 'ship', 'production', 'release', 'delivery', lowercase, with no duplicates

Headers
string
length ≤ 255

Optional key that makes a retry safe. A request repeating a key already used on this endpoint within the last 24 hours is refused with 400 and nothing is submitted again. A UUID is recommended; at most 255 characters

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/json