POST api/travel/day/dayofweek/validate

Validates a day of week flag preset configuration. Checks whether the provided day of week flag combination is valid according to system rules.

Request Information

URI Parameters

None.

Body Parameters

The DayOfWeekFlag value to validate. Sent in the request body as JSON.

DayOfWeekFlag

Request Formats

application/json, text/json, application/javascript

Sample:
0

application/xml, text/xml

Sample:
<DayOfWeekFlag>Undefined</DayOfWeekFlag>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DayOfWeekFlag'.

Response Information

Resource Description

Returns HTTP 200 (OK) with the validated DayOfWeekFlag value if valid.

DayOfWeekFlag

Response Formats

application/json, text/json, application/javascript

Sample:
0

application/xml, text/xml

Sample:
<DayOfWeekFlag>Undefined</DayOfWeekFlag>