Organizations

Sync employee data from ewihub.com (admin-based)

Super-admin endpoint. Logs in to ewihub.com with admin credentials creates a temporary org user, scrapes every employee profile, upserts the data, and removes the temp user. No org-user credentials required.

post/api/organizations/{id}/sync-ewihub-super-admin

Request

  • Base URL: https://ewihub.posechecker.com (the document declares no server; this is the origin it was published from)
  • URL: https://ewihub.posechecker.com/api/organizations/{id}/sync-ewihub-super-admin
  • Auth: HTTP bearer

Path parameters

idstring required

Response

successboolean required

Whether the sync completed

messagestring required

Human-readable summary

totalScrapednumber required

Number of profiles scraped

creatednumber required

New employees created

updatednumber required

Existing employees updated

errorsstring[] required

Per-employee errors (non-fatal)

Example response

{
  "success": true,
  "message": "Synced 42 employees from ewihub.com",
  "totalScraped": 42,
  "created": 10,
  "updated": 32
}

Changes

No recorded changes to this operation across all 1 revision of this API.