Pupulate Employee data using API


I am new in API integration in ERPNext. I have an API of employee data which is Password Based Authentication. Here the link:


API is ok. It returns json data of employee informations. I have checked there is a frappe documentation about rest api. But I don’t know how to populate employee doctype data using this API.

If anyone here have this experience using API to populate data, help me please.