POST api/{programid}/McoConfig/TimesheetModel

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programid

integer

Required

Body Parameters

TimesheetModelConfigsParams
NameDescriptionTypeAdditional information
OrganizationName

string

None.

SubOrganizationName

string

None.

DateOfService

date

None.

TimesheetModel

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OrganizationName": "sample string 1",
  "SubOrganizationName": "sample string 2",
  "DateOfService": "2024-11-16T04:35:20.5690491-05:00",
  "TimesheetModel": "sample string 4"
}

application/xml, text/xml

Sample:
<TimesheetModelConfigsParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.WebApi.Models.Mco">
  <DateOfService>2024-11-16T04:35:20.5690491-05:00</DateOfService>
  <OrganizationName>sample string 1</OrganizationName>
  <SubOrganizationName>sample string 2</SubOrganizationName>
  <TimesheetModel>sample string 4</TimesheetModel>
</TimesheetModelConfigsParams>

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 'TimesheetModelConfigsParams'.

Response Information

Resource Description

Collection of TimesheetModelConfig
NameDescriptionTypeAdditional information
Id

integer

None.

ProgramId

integer

None.

OrganizationName

string

None.

SubOrganizationName

string

None.

TimesheetModel

string

None.

StartDate

date

None.

EndDate

date

None.

IsProgramLevel

boolean

None.

Configuration

McoConfiguration

None.

EvvEffectiveDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ProgramId": 2,
    "OrganizationName": "sample string 3",
    "SubOrganizationName": "sample string 4",
    "TimesheetModel": "sample string 5",
    "StartDate": "2024-11-16T04:35:20.5690491-05:00",
    "EndDate": "2024-11-16T04:35:20.5690491-05:00",
    "IsProgramLevel": false,
    "Configuration": {
      "ESignature": true,
      "ShowGeoLocation": true,
      "ManualEntryCapture": true,
      "ClockInLocationRequired": true,
      "LocationRequired": true,
      "AllowEditEntry": true,
      "MaxClockInMiles": 7.1,
      "ShowManualEntryReasons": true,
      "ManualEntryReasonsOptional": true,
      "MaxShiftDuration": 10,
      "EvvTimeEditToleranceMinutes": 11,
      "ShowAlternateLocation": true,
      "ShowServiceLocation": true,
      "ShowEvvWarningMsg": true,
      "IsTCareEnabled": true
    },
    "EvvEffectiveDate": "2024-11-16T04:35:20.5690491-05:00"
  },
  {
    "Id": 1,
    "ProgramId": 2,
    "OrganizationName": "sample string 3",
    "SubOrganizationName": "sample string 4",
    "TimesheetModel": "sample string 5",
    "StartDate": "2024-11-16T04:35:20.5690491-05:00",
    "EndDate": "2024-11-16T04:35:20.5690491-05:00",
    "IsProgramLevel": false,
    "Configuration": {
      "ESignature": true,
      "ShowGeoLocation": true,
      "ManualEntryCapture": true,
      "ClockInLocationRequired": true,
      "LocationRequired": true,
      "AllowEditEntry": true,
      "MaxClockInMiles": 7.1,
      "ShowManualEntryReasons": true,
      "ManualEntryReasonsOptional": true,
      "MaxShiftDuration": 10,
      "EvvTimeEditToleranceMinutes": 11,
      "ShowAlternateLocation": true,
      "ShowServiceLocation": true,
      "ShowEvvWarningMsg": true,
      "IsTCareEnabled": true
    },
    "EvvEffectiveDate": "2024-11-16T04:35:20.5690491-05:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTimesheetModelConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Mco">
  <TimesheetModelConfig>
    <Configuration>
      <AllowEditEntry>true</AllowEditEntry>
      <ClockInLocationRequired>true</ClockInLocationRequired>
      <ESignature>true</ESignature>
      <EvvTimeEditToleranceMinutes>11</EvvTimeEditToleranceMinutes>
      <IsTCareEnabled>true</IsTCareEnabled>
      <LocationRequired>true</LocationRequired>
      <ManualEntryCapture>true</ManualEntryCapture>
      <ManualEntryReasonsOptional>true</ManualEntryReasonsOptional>
      <MaxClockInMiles>7.1</MaxClockInMiles>
      <MaxShiftDuration>10</MaxShiftDuration>
      <ShowAlternateLocation>true</ShowAlternateLocation>
      <ShowEvvWarningMsg>true</ShowEvvWarningMsg>
      <ShowGeoLocation>true</ShowGeoLocation>
      <ShowManualEntryReasons>true</ShowManualEntryReasons>
      <ShowServiceLocation>true</ShowServiceLocation>
    </Configuration>
    <EndDate>2024-11-16T04:35:20.5690491-05:00</EndDate>
    <EvvEffectiveDate>2024-11-16T04:35:20.5690491-05:00</EvvEffectiveDate>
    <Id>1</Id>
    <OrganizationName>sample string 3</OrganizationName>
    <ProgramId>2</ProgramId>
    <StartDate>2024-11-16T04:35:20.5690491-05:00</StartDate>
    <SubOrganizationName>sample string 4</SubOrganizationName>
    <TimesheetModel>sample string 5</TimesheetModel>
  </TimesheetModelConfig>
  <TimesheetModelConfig>
    <Configuration>
      <AllowEditEntry>true</AllowEditEntry>
      <ClockInLocationRequired>true</ClockInLocationRequired>
      <ESignature>true</ESignature>
      <EvvTimeEditToleranceMinutes>11</EvvTimeEditToleranceMinutes>
      <IsTCareEnabled>true</IsTCareEnabled>
      <LocationRequired>true</LocationRequired>
      <ManualEntryCapture>true</ManualEntryCapture>
      <ManualEntryReasonsOptional>true</ManualEntryReasonsOptional>
      <MaxClockInMiles>7.1</MaxClockInMiles>
      <MaxShiftDuration>10</MaxShiftDuration>
      <ShowAlternateLocation>true</ShowAlternateLocation>
      <ShowEvvWarningMsg>true</ShowEvvWarningMsg>
      <ShowGeoLocation>true</ShowGeoLocation>
      <ShowManualEntryReasons>true</ShowManualEntryReasons>
      <ShowServiceLocation>true</ShowServiceLocation>
    </Configuration>
    <EndDate>2024-11-16T04:35:20.5690491-05:00</EndDate>
    <EvvEffectiveDate>2024-11-16T04:35:20.5690491-05:00</EvvEffectiveDate>
    <Id>1</Id>
    <OrganizationName>sample string 3</OrganizationName>
    <ProgramId>2</ProgramId>
    <StartDate>2024-11-16T04:35:20.5690491-05:00</StartDate>
    <SubOrganizationName>sample string 4</SubOrganizationName>
    <TimesheetModel>sample string 5</TimesheetModel>
  </TimesheetModelConfig>
</ArrayOfTimesheetModelConfig>