https://github.com/bugbiteme/mule-vax-verify
Process layer API that calls mule-vax-status System layer, and verifies if fully, partially vaccinated or if record not found
https://github.com/bugbiteme/mule-vax-verify
Last synced: 5 months ago
JSON representation
Process layer API that calls mule-vax-status System layer, and verifies if fully, partially vaccinated or if record not found
- Host: GitHub
- URL: https://github.com/bugbiteme/mule-vax-verify
- Owner: bugbiteme
- Created: 2021-09-30T14:32:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-30T18:50:32.000Z (over 4 years ago)
- Last Synced: 2025-01-31T12:36:14.429Z (over 1 year ago)
- Language: DataWeave
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mule-vax-verify
Process layer API that calls mule-vax-status system layer APIs, and verifies if fully, partially vaccinated or if record not found
## Sample calls for testing
```
curl --location --request GET 'http://mule-vax-verify.us-w1.cloudhub.io/api/verify-vaccine?firstName=John&lastName=Talksalot&dob=1981-10-25'
curl --location --request GET 'http://mule-vax-verify.us-w1.cloudhub.io/api/verify-vaccine?firstName=Jack&lastName=Sheppard&dob=1992-05-18'
curl --location --request GET 'http://mule-vax-verify.us-w1.cloudhub.io/api/verify-vaccine?firstName=Aden&lastName=Episcopio&dob=1994-09-11'
curl --location --request GET 'http://mule-vax-verify.us-w1.cloudhub.io/api/verify-vaccine?firstName=Max&lastName=Mule&dob=1991-04-06'
```
## Sample output from the above
```
{
"vaccineStatus": "partially-vaccinated",
"firstName": "John",
"lastName": "Talksalot",
"dob": "1981-10-25",
"doses": [
{
"provider": "WALGREENS",
"doa": "4/19/21",
"lotNumber": "5678",
"type": "Moderna"
}
]
}
```
```
{
"vaccineStatus": "fully-vaccinated",
"firstName": "Jack",
"lastName": "Sheppard",
"dob": "1992-05-18",
"doses": [
{
"provider": "LAX",
"doa": "3/22/21",
"lotNumber": "1234",
"type": "Pfizer"
},
{
"provider": "WALGREENS",
"doa": "4/19/21",
"lotNumber": "5678",
"type": "Pfizer"
}
]
}
```
```
{
"vaccineStatus": "fully-vaccinated",
"firstName": "Aden",
"lastName": "Episcopio",
"dob": "1994-09-11",
"doses": [
{
"provider": "CVS",
"doa": "5/25/21",
"lotNumber": "1234",
"type": "Johnson & Johnson"
}
]
}
```
```
{
"vaccineStatus": "not-found"
}
```