POST api/{programid}/Timesheets/IVRManualEntryReasons
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programid | string |
Required |
Body Parameters
ManualEntryReasonParamsName | Description | Type | Additional information |
---|---|---|---|
ConsumerNo | string |
None. |
|
EmployeeNo | string |
None. |
|
DateWorked | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ConsumerNo": "sample string 1", "EmployeeNo": "sample string 2", "DateWorked": "2024-11-16T04:26:51.5164187-05:00" }
application/xml, text/xml
Sample:
<ManualEntryReasonParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.WebApi.Models.Timesheet"> <ConsumerNo>sample string 1</ConsumerNo> <DateWorked>2024-11-16T04:26:51.5164187-05:00</DateWorked> <EmployeeNo>sample string 2</EmployeeNo> </ManualEntryReasonParams>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ManualEntryReasonsIVRResponseName | Description | Type | Additional information |
---|---|---|---|
EntryReasons | Collection of ManualEntryReason |
None. |
|
ReasonRequired | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "EntryReasons": [ { "Id": 1, "Description": "sample string 2", "IsEnabled": true }, { "Id": 1, "Description": "sample string 2", "IsEnabled": true } ], "ReasonRequired": true }
application/xml, text/xml
Sample:
<ManualEntryReasonsIVRResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.WebApi.Models.Timesheet"> <EntryReasons xmlns:d2p1="http://schemas.datacontract.org/2004/07/PPL.Services.Models.NavisionData.Timesheets"> <d2p1:ManualEntryReason> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Id>1</d2p1:Id> <d2p1:IsEnabled>true</d2p1:IsEnabled> </d2p1:ManualEntryReason> <d2p1:ManualEntryReason> <d2p1:Description>sample string 2</d2p1:Description> <d2p1:Id>1</d2p1:Id> <d2p1:IsEnabled>true</d2p1:IsEnabled> </d2p1:ManualEntryReason> </EntryReasons> <ReasonRequired>true</ReasonRequired> </ManualEntryReasonsIVRResponse>