POST api/{programid}/Employee/CheckDisassociation
Returns if the date worked is after or before disassociation
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programid |
Program Id |
string |
Required |
Body Parameters
Necessary Information for checking association
EmployeeParticipantAssociationRequestName | 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:58:46.1495784-05:00" }
application/xml, text/xml
Sample:
<EmployeeParticipantAssociationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Employee"> <ConsumerNo>sample string 1</ConsumerNo> <DateWorked>2024-11-16T04:58:46.1495784-05:00</DateWorked> <EmployeeNo>sample string 2</EmployeeNo> </EmployeeParticipantAssociationRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>