GET: /client
POST: /client
{
"companyName": "Apple",
"address": "New York ST 3000",
"city": "New York",
"state": "New York",
"zip": "3000",
"headCount": "12322"
}
GET: /client/get-by-name?name=someName
GET: /client/get-by-state?state=somestate
GET: /member
POST: /member
{
"name": "John",
"phoneNumber": "Somewhere ST 3000",
"email": "john@gmail.com",
"note": [{
"content": "first note"
}],
"clientId": "6320df4c310c6867c679cc00"
}
PATH: /member/add-note
{
"name": "John",
"note": [{
"content": "second note"
}]
}
PATH: /member/move-member
{
"memberName": "John",
"newClient": "Amazon",
"note": [{
"content": "Change note"
},
{
"content": "Could be an array or nothing"
}]
}
