GET Api/TimeRegistration/V3/Settings

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

TimeRegSettingsModel
NameDescriptionTypeAdditional information
Id

integer

None.

MarginStartTooLate

integer

None.

MarginEndTooSoon

integer

None.

MarginStartTooSoon

integer

None.

MarginEndTooLate

integer

None.

MandatoryCommentOtherShift

boolean

None.

MaySubmitForNrDaysBack

integer

None.

ShowHandledForNrWeeksBack

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "MarginStartTooLate": 2,
  "MarginEndTooSoon": 3,
  "MarginStartTooSoon": 4,
  "MarginEndTooLate": 5,
  "MandatoryCommentOtherShift": true,
  "MaySubmitForNrDaysBack": 7,
  "ShowHandledForNrWeeksBack": 8
}

application/xml, text/xml

Sample:
<TimeRegSettingsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RostarCASWebAPI.Providers">
  <Id>1</Id>
  <MandatoryCommentOtherShift>true</MandatoryCommentOtherShift>
  <MarginEndTooLate>5</MarginEndTooLate>
  <MarginEndTooSoon>3</MarginEndTooSoon>
  <MarginStartTooLate>2</MarginStartTooLate>
  <MarginStartTooSoon>4</MarginStartTooSoon>
  <MaySubmitForNrDaysBack>7</MaySubmitForNrDaysBack>
  <ShowHandledForNrWeeksBack>8</ShowHandledForNrWeeksBack>
</TimeRegSettingsModel>