POST api/{programid}/McoConfig/TimesheetModel
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programid | integer |
Required |
Body Parameters
TimesheetModelConfigsParamsName | Description | Type | Additional 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:42:17.8261246-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:42:17.8261246-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:
Response Information
Resource Description
Collection of TimesheetModelConfigName | Description | Type | Additional 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:42:17.8417503-05:00", "EndDate": "2024-11-16T04:42:17.8417503-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 }, "EvvEffectiveDate": "2024-11-16T04:42:17.8417503-05:00" }, { "Id": 1, "ProgramId": 2, "OrganizationName": "sample string 3", "SubOrganizationName": "sample string 4", "TimesheetModel": "sample string 5", "StartDate": "2024-11-16T04:42:17.8417503-05:00", "EndDate": "2024-11-16T04:42:17.8417503-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 }, "EvvEffectiveDate": "2024-11-16T04:42:17.8417503-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> <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:42:17.8417503-05:00</EndDate> <EvvEffectiveDate>2024-11-16T04:42:17.8417503-05:00</EvvEffectiveDate> <Id>1</Id> <OrganizationName>sample string 3</OrganizationName> <ProgramId>2</ProgramId> <StartDate>2024-11-16T04:42:17.8417503-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> <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:42:17.8417503-05:00</EndDate> <EvvEffectiveDate>2024-11-16T04:42:17.8417503-05:00</EvvEffectiveDate> <Id>1</Id> <OrganizationName>sample string 3</OrganizationName> <ProgramId>2</ProgramId> <StartDate>2024-11-16T04:42:17.8417503-05:00</StartDate> <SubOrganizationName>sample string 4</SubOrganizationName> <TimesheetModel>sample string 5</TimesheetModel> </TimesheetModelConfig> </ArrayOfTimesheetModelConfig>