Lead Module API Documentation + Tester

This documentation refers to the API endpoints for the staging environment. Please note that these endpoints are not connected to the administration server and are intended for testing and development purposes only.

Base URL: https://contact.swiss-stemcell.ch

Get Reps API

Endpoint: https://contact.swiss-stemcell.ch/getRepsApi.php

Response:
Click 'Test API' to see response...

Get Products API

Endpoint: https://contact.swiss-stemcell.ch/getProductsApi.php

Response:
Click 'Test API' to see response...

Get Origins API

Endpoint: https://contact.swiss-stemcell.ch/getOriginsApi.php

Response:
Click 'Test API' to see response...

Get Channels API

Endpoint: https://contact.swiss-stemcell.ch/getChannelsApi.php

Response:
Click 'Test API' to see response...

Get Physicians API

Endpoint: https://contact.swiss-stemcell.ch/getPhysiciansApi.php

Example: type=gynaecologist, search=Smith
Returns list of matching physicians with name, email, city, etc.
use type
1)gynaecologist,
2)obstetrician,
3)doctor
Response:
Click 'Test API' to see response...

Get Hospitals API

Endpoint: https://contact.swiss-stemcell.ch/getHospitalsApi.php

Example: search=General
Returns hospitals with name, email, phone, and address.
Response:
Click 'Test API' to see response...

Get Lead API

Endpoint: https://contact.swiss-stemcell.ch/getleadApi.php

Example: id=123
Returns lead details for the given ID.
Response:
Click 'Test API' to see response...

Update Lead Reps API

Endpoint: https://contact.swiss-stemcell.ch/updateLeadRepsApi.php

This POST endpoint updates the representative for a given lead.

Response:
Response will appear here...

Create Folder API

Endpoint: https://contact.swiss-stemcell.ch/createFolderApi.php

This POST endpoint creates a new folder and related entities (mother, father, physicians, hospital, etc.).

Response:
Response will appear here...