Open API Specificaitons for SunLync API V2
SunLync API (V2) API Definition (0.0.1)
Download OpenAPI description
Overview
API Support
License
Languages
Servers
Sandbox server
https://sandbox.sunlync.net:9000/
- Sandbox serverhttps://sandbox.sunlync.net:9000/slapi/users/register
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://sandbox.sunlync.net:9000/slapi/users/register \
-H 'Content-Type: application/json' \
-d '{
"firstName": "John",
"lastName": "Doe",
"middleInit": "D",
"address1": "1 Main St",
"address2": "Suite 10",
"city": "Buffalo",
"state": "NY",
"zip": "14220",
"homePhone": "7165551245",
"workPhone": "7165555678",
"cellPhone": "7165550987",
"email": "test@test.com",
"dob": "1980-12-25",
"storecode": "0000000001",
"empNo": "0000000001",
"gender": "male",
"doNotSolicit": 0,
"emailCommPref": 1,
"cellVoiceCommPref": 1,
"cellTextCommPref": 1,
"homePhoneCommPref": 1,
"mailCommPref": 1,
"workPhoneCommPref": 1,
"password": "Password123"
}'Response
applicaiton/json
{ "clientNumber": "0000000001", "message": "", "userId": 1 }
- Sandbox serverhttps://sandbox.sunlync.net:9000/slapi/users/resetpassword
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://sandbox.sunlync.net:9000/slapi/users/resetpassword \
-H 'Content-Type: application/json' \
-d '{
"email": "test@test.com",
"password": "Password123"
}'Response
applicaiton/json
{ "clientNumber": "0000000001", "message": "", "userId": 1 }
- Sandbox serverhttps://sandbox.sunlync.net:9000/slapi/users/login
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
https://sandbox.sunlync.net:9000/slapi/users/login \
-H 'Content-Type: application/json' \
-d '{
"email": "test@test.com",
"password": "Password123"
}'Response
applicaiton/json
{ "clientNumber": "0000000001", "message": "", "userId": 1 }