Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Guys, welcome to the course of Lavallade EPA, Daniel Pantaleo, this is partnered with 13 entities
Feed Your Fuel to create an EPA, which will list all employees.
So if I go back to Ed, in the last video we had created the EPA, which is a destroyer employ inside
our employs people.
We had covered the steps of validation data as well as sending response.
Now at this time, we will use listing Methode, which will list all the employees what we have inside
our database table.
So right now we have created for DUMITRU entries.
So if I go back to Ed in the last few, you successfully we have alluded employ model, so we will use
Inside List employs method as well.
So less employees equals to model called employee and will use get mattered.
So for now if I type being tartlets, the employees save the change.
It should be something employees.
So copy and paste and keep in mind to actually list all the employees.
We have the EPA out as least half of the employees, which we will request if I get a request I.
So if I go back to post man copy this.
Wrote Open a new tab based in.
This time the EPA wrote we have called list hyphen employees.
So if I copy back to Postman Again List employees here we have the Gacha Grass type.
So when we click on this send button, as you can see that we are getting the response.
If I am hoping this you are allowed into the browser because this is a good request, I so easily we
can open that now here, as you can see that we are getting zero a collection object inside this collection,
OPSEC, we are getting the Jobs Act of employee.
So here we have the zero index.
Next we have the first index.
This is for the second row.
Here we have the third index second and next we have the third instance.
So what actually these are we are getting from zero index to third index, which indicates that we have
total number of rules equals to four.
So now we need to read into a proper format so that the EPS would be useful.
So if I go back to Ed, go to API controller, so instead of Prenter, what I will do is return response
will convert into decent format.
A status equals to one message equals ballista listing employees.
And also, if we want to send a custom, SCDP could also in the second value of this Tucson method,
we can pass it here.
So let's add that we want to send two hundred status TTP code.
So simply I will pass 200.
Otherwise by default it will pass the two hundred if we want something more or less typical, like five
hundred for zero one or something else, we can put it here.
So after doing this also we need to send us employees means this is our main data.
Goodhue Allissa data equals to employees.
So if you see all these changes back to Postman, click on Send Button.
And as you can see that we are getting a proper response that is status equals to one message equal
to listing employees.
And here inside this data, we are getting subsect the first object we have, the first draft eval and
so on.
So this is all about guys listing of all employees from people.
In the next video, we will see and discuss about more APIs.
So far this position.
Guys, thank you for watching and have a great day.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.