{baseUrl}/customer/create-customer
{
"updates":{
"fullName":"New Name for Simon Davis"
"monthlyIncome":10000,
"employerName":"David moo",
"apps":[
{
"appName":"Grab",
"installDate":"new Date()",
"packageName":"Grab"
}
],
"appsUsageTime":[
{
"totalTime":100000,
"packageName":"Grab"
}
]
}
}
{
"success": true,
"customerId": [customerId]
}
{baseUrl}/customer/create-customer?phoneNumber={phoneNumber}&email={email}
// or
{baseUrl}/customer/create-customer?customerId={customerId}
{
"updates":{
"fullName":"New Name for Simon Davis"
"monthlyIncome":10000,
"employerName":"David moo",
"apps":[
{
"appName":"Grab",
"installDate":"new Date()",
"packageName":"Grab"
}
],
"appsUsageTime":[
{
"totalTime":100000,
"packageName":"Grab"
}
]
}
}
{
"success": true
}
{baseUrl}/customer/create-customer?phoneNumber={phoneNumber}&email={email}
// OR
{baseUrl}/customer/create-customer?customerId={customerId}
{
["All inserted customer data"]
}
{baseUrl}/score/finance?phoneNumber={phoneNumber}&email={email}
// OR
{baseUrl}/score/finance?customerId={customerId}
{baseUrl}/score/social?phoneNumber={phoneNumber}&email={email}
// OR
{baseUrl}/score/social?customerId={customerId}
{baseUrl}/score/life-style?phoneNumber={phoneNumber}&email={email}
// OR
{baseUrl}/score/life-style?customerId={customerId}
{baseUrl}/score/health?phoneNumber={phoneNumber}&email={email}
//OR
{baseUrl}/score/health?customerId={customerId}
{baseUrl}/auth/authenticate
{
email,
password
}
{
token: "token",
success: true
}