POST api/AFNI/SaveVaccinesBoosterSurvey
Request Information
URI Parameters
None.
Body Parameters
VaccineSurveyClass| Name | Description | Type | Additional information |
|---|---|---|---|
| empID | string |
None. |
|
| hasCovidVaccine | boolean |
None. |
|
| Vaccine | integer |
None. |
|
| TimesVaccinated | integer |
None. |
|
| LastDose | date |
None. |
|
| WillingToBeVaccinated | boolean |
None. |
|
| CreatedDate | date |
None. |
|
| Reason | integer |
None. |
|
| IsBooster | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"empID": "sample string 1",
"hasCovidVaccine": true,
"Vaccine": 3,
"TimesVaccinated": 4,
"LastDose": "2025-12-18T19:59:20.6842554+00:00",
"WillingToBeVaccinated": true,
"CreatedDate": "2025-12-18T19:59:20.6842554+00:00",
"Reason": 8,
"IsBooster": true
}
application/xml, text/xml
Sample:
<VaccineSurveyClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AFNIAPI.Classes"> <CreatedDate>2025-12-18T19:59:20.6842554+00:00</CreatedDate> <IsBooster>true</IsBooster> <LastDose>2025-12-18T19:59:20.6842554+00:00</LastDose> <Reason>8</Reason> <TimesVaccinated>4</TimesVaccinated> <Vaccine>3</Vaccine> <WillingToBeVaccinated>true</WillingToBeVaccinated> <empID>sample string 1</empID> <hasCovidVaccine>true</hasCovidVaccine> </VaccineSurveyClass>
application/x-www-form-urlencoded
Sample:
Sample not available.
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>