GET api/{programid}/Employee/GPSConsentStatuses?employeeNo={employeeNo}&consumerNo={consumerNo}
Gets the GPS Consent statuses for a provider/consumer pair, or all for a provider or consumer.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programid | string |
Required |
|
employeeNo | string |
None. |
|
consumerNo | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of ProviderGPSConsentStatusName | Description | Type | Additional information |
---|---|---|---|
EmployeeNo | string |
None. |
|
ConsumerNo | string |
None. |
|
EmployeeConsentProvided | byte |
None. |
|
EmployeeConsentDate | date |
None. |
|
EmployeeSignature | string |
None. |
|
ConsumerConsentProvided | byte |
None. |
|
ConsumerConsentDate | date |
None. |
|
ConsumerSignature | string |
None. |
|
EffectiveDate | date |
None. |
|
EndDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "EmployeeNo": "sample string 1", "ConsumerNo": "sample string 2", "EmployeeConsentProvided": 64, "EmployeeConsentDate": "2025-06-23T13:47:04.9935603-04:00", "EmployeeSignature": "sample string 3", "ConsumerConsentProvided": 64, "ConsumerConsentDate": "2025-06-23T13:47:04.9935603-04:00", "ConsumerSignature": "sample string 4", "EffectiveDate": "2025-06-23T13:47:04.9935603-04:00", "EndDate": "2025-06-23T13:47:04.9935603-04:00" }, { "EmployeeNo": "sample string 1", "ConsumerNo": "sample string 2", "EmployeeConsentProvided": 64, "EmployeeConsentDate": "2025-06-23T13:47:04.9935603-04:00", "EmployeeSignature": "sample string 3", "ConsumerConsentProvided": 64, "ConsumerConsentDate": "2025-06-23T13:47:04.9935603-04:00", "ConsumerSignature": "sample string 4", "EffectiveDate": "2025-06-23T13:47:04.9935603-04:00", "EndDate": "2025-06-23T13:47:04.9935603-04:00" } ]
application/xml, text/xml
Sample:
<ArrayOfProviderGPSConsentStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.WebAPI_DTO.Employee"> <ProviderGPSConsentStatus> <ConsumerConsentDate>2025-06-23T13:47:04.9935603-04:00</ConsumerConsentDate> <ConsumerConsentProvided>64</ConsumerConsentProvided> <ConsumerNo>sample string 2</ConsumerNo> <ConsumerSignature>sample string 4</ConsumerSignature> <EffectiveDate>2025-06-23T13:47:04.9935603-04:00</EffectiveDate> <EmployeeConsentDate>2025-06-23T13:47:04.9935603-04:00</EmployeeConsentDate> <EmployeeConsentProvided>64</EmployeeConsentProvided> <EmployeeNo>sample string 1</EmployeeNo> <EmployeeSignature>sample string 3</EmployeeSignature> <EndDate>2025-06-23T13:47:04.9935603-04:00</EndDate> </ProviderGPSConsentStatus> <ProviderGPSConsentStatus> <ConsumerConsentDate>2025-06-23T13:47:04.9935603-04:00</ConsumerConsentDate> <ConsumerConsentProvided>64</ConsumerConsentProvided> <ConsumerNo>sample string 2</ConsumerNo> <ConsumerSignature>sample string 4</ConsumerSignature> <EffectiveDate>2025-06-23T13:47:04.9935603-04:00</EffectiveDate> <EmployeeConsentDate>2025-06-23T13:47:04.9935603-04:00</EmployeeConsentDate> <EmployeeConsentProvided>64</EmployeeConsentProvided> <EmployeeNo>sample string 1</EmployeeNo> <EmployeeSignature>sample string 3</EmployeeSignature> <EndDate>2025-06-23T13:47:04.9935603-04:00</EndDate> </ProviderGPSConsentStatus> </ArrayOfProviderGPSConsentStatus>