curl -v -X GET https://api.swfi.com/v1/people?before_created_at=2022-10-17&after_created_at=2022-10-12&before_updated_at=2022-10-17&after_updated_at=2022-10-12&first_name=Gei&last_name=Ny&name=eir%20%C3%98iv&title=Chief%20Risk%20Off&email=1&phone=1&linkedin=1&entity_id=598cdaa60124e9fd2d05c04a&limit=10&offset=0&sort_field=name&sort_dir=ASC \ -H "Accept: application/json" \ -H "Authorization: $API_KEY"
{ "data": [ { "_id": "5b3173eea6e5a3f3b1ce4ec6", "first_name": "Geir", "last_name": "Nygård", "name": "Geir Nygård", "age": "", "phone": "", "email": "name@company.com", "gender": "Male", "nationality": "Norway", "country": "Norway", "region": "Europe", "city": "Oslo", "linkedin": "https://no.linkedin.com/in/geir-%C3%B8ivind-nyg%C3%A5rd", "created_at": "2018-06-25T23:01:32.588Z", "updated_at": "2022-01-12T18:14:50.539Z", "history": [ { "active": true, "role": "job", "title": "Chief Asset Strategies Officer", "entity_id": "598cdaa60124e9fd2d05b9af", "started_at": "2020-09-07T00:00:00.000Z", "ended_at": "", "created_at": "2022-01-12T18:15:40.995Z", "updated_at": "" }, { "active": false, "role": "job", "title": "Chief Investment Officer for Asset Strategies", "entity_id": "598cdaa60124e9fd2d05b9af", "started_at": "2016-12-01T00:00:00.000Z", "ended_at": "2020-08-05T00:00:00.000Z", "created_at": "2018-07-20T00:39:17.431Z", "updated_at": "2022-01-12T18:15:17.133Z" }, { "active": false, "role": "job", "title": "Portfolio Manager in Equity Asset Strategies and other positions", "entity_id": "598cdaa60124e9fd2d05b9af", "started_at": "2007-01-01T00:00:00.000Z", "ended_at": "2016-12-05T00:00:00.000Z", "created_at": "2019-01-10T01:49:13.133Z", "updated_at": "" } ], "education": [] }, { "_id": "5b2c913440bc077d5786c339", "first_name": "Gideon", "last_name": "Gono", "name": "Gideon Gono", "age": "", "phone": "", "email": "", "gender": "Male", "nationality": "Zimbabwe", "country": "Zimbabwe", "region": "Africa", "city": "Harare", "linkedin": "", "created_at": "2018-06-22T06:03:32.854Z", "updated_at": "2018-06-22T06:04:33.423Z", "history": [ { "active": false, "role": "job", "title": "Governor", "entity_id": "598cdaa60124e9fd2d05bce5", "started_at": "2003-01-01T00:00:00.000Z", "ended_at": "2013-01-01T00:00:00.000Z", "created_at": "2018-06-22T06:04:05.313Z", "updated_at": "" } ], "education": [] } ], "total_items": 10 }
{ "errors": [ { "query_parameter": "sort_field", "message": "Value not in available options." } ], "status": 400 }
Retrieve one person.
curl -v -X GET https://api.swfi.com/v1/people/:_id \ -H "Accept: application/json" \ -H "Authorization: $API_KEY"
{ "data": { "_id": "5b3173eea6e5a3f3b1ce4ec6", "first_name": "Geir", "last_name": "Nygård", "name": "Geir Nygård", "age": "", "phone": "", "email": "name@company.com", "gender": "Male", "nationality": "Norway", "country": "Norway", "region": "Europe", "city": "Oslo", "linkedin": "https://no.linkedin.com/in/geir-%C3%B8ivind-nyg%C3%A5rd", "created_at": "2018-06-25T23:01:32.588Z", "updated_at": "2022-01-12T18:14:50.539Z", "history": [ { "active": true, "role": "job", "title": "Chief Asset Strategies Officer", "entity_id": "598cdaa60124e9fd2d05b9af", "started_at": "2020-09-07T00:00:00.000Z", "ended_at": "", "created_at": "2022-01-12T18:15:40.995Z", "updated_at": "" }, { "active": false, "role": "job", "title": "Chief Investment Officer for Asset Strategies", "entity_id": "598cdaa60124e9fd2d05b9af", "started_at": "2016-12-01T00:00:00.000Z", "ended_at": "2020-08-05T00:00:00.000Z", "created_at": "2018-07-20T00:39:17.431Z", "updated_at": "2022-01-12T18:15:17.133Z" }, { "active": false, "role": "job", "title": "Portfolio Manager in Equity Asset Strategies and other positions", "entity_id": "598cdaa60124e9fd2d05b9af", "started_at": "2007-01-01T00:00:00.000Z", "ended_at": "2016-12-05T00:00:00.000Z", "created_at": "2019-01-10T01:49:13.133Z", "updated_at": "" } ], "education": [] } }
{ "errors": [ { "path": "/v1/aum/:_id", "message": "Not Found" } ], "status": 404 }