POST api/{programid}/TimeEntry/SubmitTimeEntry
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programid | string |
Required |
Body Parameters
SubmitTimeEntryRequestName | Description | Type | Additional information |
---|---|---|---|
ProgramCode | string |
None. |
|
ParticipantId | string |
None. |
|
ProviderId | string |
None. |
|
UserName | string |
None. |
|
Action | string |
None. |
|
SubmitTimeEntries | Collection of SubmitTimeEntry |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProgramCode": "sample string 1", "ParticipantId": "sample string 2", "ProviderId": "sample string 3", "UserName": "sample string 4", "Action": "sample string 5", "SubmitTimeEntries": [ { "TimesheetNo": "sample string 1", "LineNo": 2, "LineId": 3, "ServiceCode": "sample string 4", "TimesheetServiceActivities": [ "sample string 1", "sample string 2" ], "ManualEntryReasons": [ 1, 2 ], "TimeIn": "2024-11-16T05:00:40.680031-05:00", "TimeOut": "2024-11-16T05:00:40.680031-05:00", "PayCycleStartDate": "2024-11-16T05:00:40.680031-05:00", "PayCycleEndDate": "2024-11-16T05:00:40.680031-05:00", "ShiftId": "sample string 9", "LineEntryType": 10, "Notes": "sample string 11", "NumberConsumersServed": 12, "AlternateLocation": "sample string 13", "ServiceLocationType": 14, "ExternalReferenceId": "sample string 15" }, { "TimesheetNo": "sample string 1", "LineNo": 2, "LineId": 3, "ServiceCode": "sample string 4", "TimesheetServiceActivities": [ "sample string 1", "sample string 2" ], "ManualEntryReasons": [ 1, 2 ], "TimeIn": "2024-11-16T05:00:40.680031-05:00", "TimeOut": "2024-11-16T05:00:40.680031-05:00", "PayCycleStartDate": "2024-11-16T05:00:40.680031-05:00", "PayCycleEndDate": "2024-11-16T05:00:40.680031-05:00", "ShiftId": "sample string 9", "LineEntryType": 10, "Notes": "sample string 11", "NumberConsumersServed": 12, "AlternateLocation": "sample string 13", "ServiceLocationType": 14, "ExternalReferenceId": "sample string 15" } ] }
application/xml, text/xml
Sample:
<SubmitTimeEntryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO"> <Action>sample string 5</Action> <ParticipantId>sample string 2</ParticipantId> <ProgramCode>sample string 1</ProgramCode> <ProviderId>sample string 3</ProviderId> <SubmitTimeEntries> <SubmitTimeEntryRequest.SubmitTimeEntry> <AlternateLocation>sample string 13</AlternateLocation> <ExternalReferenceId>sample string 15</ExternalReferenceId> <LineEntryType>10</LineEntryType> <LineId>3</LineId> <LineNo>2</LineNo> <ManualEntryReasons xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </ManualEntryReasons> <Notes>sample string 11</Notes> <NumberConsumersServed>12</NumberConsumersServed> <PayCycleEndDate>2024-11-16T05:00:40.680031-05:00</PayCycleEndDate> <PayCycleStartDate>2024-11-16T05:00:40.680031-05:00</PayCycleStartDate> <ServiceCode>sample string 4</ServiceCode> <ServiceLocationType>14</ServiceLocationType> <ShiftId>sample string 9</ShiftId> <TimeIn>2024-11-16T05:00:40.680031-05:00</TimeIn> <TimeOut>2024-11-16T05:00:40.680031-05:00</TimeOut> <TimesheetNo>sample string 1</TimesheetNo> <TimesheetServiceActivities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </TimesheetServiceActivities> </SubmitTimeEntryRequest.SubmitTimeEntry> <SubmitTimeEntryRequest.SubmitTimeEntry> <AlternateLocation>sample string 13</AlternateLocation> <ExternalReferenceId>sample string 15</ExternalReferenceId> <LineEntryType>10</LineEntryType> <LineId>3</LineId> <LineNo>2</LineNo> <ManualEntryReasons xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </ManualEntryReasons> <Notes>sample string 11</Notes> <NumberConsumersServed>12</NumberConsumersServed> <PayCycleEndDate>2024-11-16T05:00:40.680031-05:00</PayCycleEndDate> <PayCycleStartDate>2024-11-16T05:00:40.680031-05:00</PayCycleStartDate> <ServiceCode>sample string 4</ServiceCode> <ServiceLocationType>14</ServiceLocationType> <ShiftId>sample string 9</ShiftId> <TimeIn>2024-11-16T05:00:40.680031-05:00</TimeIn> <TimeOut>2024-11-16T05:00:40.680031-05:00</TimeOut> <TimesheetNo>sample string 1</TimesheetNo> <TimesheetServiceActivities xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </TimesheetServiceActivities> </SubmitTimeEntryRequest.SubmitTimeEntry> </SubmitTimeEntries> <UserName>sample string 4</UserName> </SubmitTimeEntryRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of SubmitTimeEntryResponseName | Description | Type | Additional information |
---|---|---|---|
TimesheetNo | string |
None. |
|
LineNo | string |
None. |
|
Actions | Collection of string |
None. |
|
PendMessages | Collection of string |
None. |
|
ShiftId | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "TimesheetNo": "sample string 1", "LineNo": "sample string 2", "Actions": [ "sample string 1", "sample string 2" ], "PendMessages": [ "sample string 1", "sample string 2" ], "ShiftId": "sample string 3" }, { "TimesheetNo": "sample string 1", "LineNo": "sample string 2", "Actions": [ "sample string 1", "sample string 2" ], "PendMessages": [ "sample string 1", "sample string 2" ], "ShiftId": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfSubmitTimeEntryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.TimeEntry"> <SubmitTimeEntryResponse> <Actions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Actions> <LineNo>sample string 2</LineNo> <PendMessages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </PendMessages> <ShiftId>sample string 3</ShiftId> <TimesheetNo>sample string 1</TimesheetNo> </SubmitTimeEntryResponse> <SubmitTimeEntryResponse> <Actions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Actions> <LineNo>sample string 2</LineNo> <PendMessages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </PendMessages> <ShiftId>sample string 3</ShiftId> <TimesheetNo>sample string 1</TimesheetNo> </SubmitTimeEntryResponse> </ArrayOfSubmitTimeEntryResponse>