POST api/{programid}/Employee/CheckDisassociation

Returns if the date worked is after or before disassociation

Request Information

URI Parameters

NameDescriptionTypeAdditional information
programid

Program Id

string

Required

Body Parameters

Necessary Information for checking association

EmployeeParticipantAssociationRequest
NameDescriptionTypeAdditional 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:53:56.4537807-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:53:56.4537807-05:00</DateWorked>
  <EmployeeNo>sample string 2</EmployeeNo>
</EmployeeParticipantAssociationRequest>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>