Get Serving Periods

post

/config/sim/v2/setup/getServingPeriods

Request

Supported Media Types
Body ()
Root Schema : schema
Type: object
Show Source
  • If specified, limits the data returned to these fields.
    Example: hierUnitId, objectNum, name
  • If this value is specified, the include parameter is ignored.
    Value Description
    basic Forces the response to include all fields except option string details
    detailed Forces the response to include all fields including option string details
    Example: detailed
  • If specified, limits translated strings returned
    Example: 1,2,3
  • If using paging, number of results returned in this page.
    Example: 100
  • Starting resource record index. Not required if paging parameters are not supported
    Example: 0
  • Sorts the response by the specified field name and sort order. Allowed fields are hierUnitId, name and objectNum.
    Example: hierUnitId:asc
  • If specified, returns records that match the criteria. Allowed fields are hierUnitId, name and objectNum.
    Example: where equals(hierUnitId, 1792)
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : items
Type: array
Serving Period records
Show Source
Nested Schema : ServingPeriod
Type: object
Serving Period record
Show Source
Nested Schema : activeDaysOfWeekExt
Type: object
An object containing the descriptive active days of week.
Show Source
  • A boolean flag representing the 6th option bit in activeDaysOfWeek, indicating serving period as active on Friday.
    Example: true
  • A boolean flag representing the 2nd option bit in activeDaysOfWeek, indicating serving period as active on Monday.
    Example: true
  • A boolean flag representing the 7th option bit in activeDaysOfWeek, indicating serving period as active on Saturday.
    Example: true
  • A boolean flag representing the 1st option bit in activeDaysOfWeek, indicating serving period as active on Sunday.
    Example: true
  • A boolean flag representing the 5th option bit in activeDaysOfWeek, indicating serving period as active on Thursday.
    Example: true
  • A boolean flag representing the 3rd option bit in activeDaysOfWeek, indicating serving period as active on Tuesday.
    Example: true
  • A boolean flag representing the 4th option bit in activeDaysOfWeek, indicating serving period as active on on Wednesday.
    Example: true
Nested Schema : dataExtensions
Type: array
An array of data extensions for the serving period
Show Source
Nested Schema : name
Type: object
Serving period name
Example:
{
    "1":"Enterprise",
    "2":"Unternehmen",
    "3":"Empresa"
}
Nested Schema : taxesEnabledExt
Type: object
An object containing the descriptive taxes enabled.
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top