Ѧ
What is Ѧ?
How does it work?
Why use it?
What's next?
ѦPI
Library
Ѧbout
auth
validate
create
read
update
destroy
login
logout
udata
phone
name
address
accountType
hospital
cc
subscribe
subscription
activate
hospitals
accountTypes
payload
patient
survey
surveys
/api/validate/
This is the second and final call for account creation. If unsuccessful, it will return the parameter that failed. If successful, the account will be flagged as valid, allowing the /api/login/ calls to succeed.
Create
Generate Header
Test AJAX
POST
/api/validate/?
j=
{
"create":
{
"email":
{
"in_attr":
{
},
"label":
{
}
},
"code":
{
"in_attr":
{
},
"label":
{
}
}
},
"read":
{
},
"update":
{
},
"destroy":
{
}
}
Returns:
validate_id on success, -1 on failure.
Read
Generate Header
Test AJAX
GET
/api/validate/?
i=
[
]
j=
{
"create":
{
"email":
{
"in_attr":
{
},
"label":
{
}
},
"code":
{
"in_attr":
{
},
"label":
{
}
}
},
"read":
{
},
"update":
{
},
"destroy":
{
}
}
Returns:
Update
Generate Header
Test AJAX
POST
/api/validate/?
i=
[
]
j=
{
"create":
{
"email":
{
"in_attr":
{
},
"label":
{
}
},
"code":
{
"in_attr":
{
},
"label":
{
}
}
},
"read":
{
},
"update":
{
},
"destroy":
{
}
}
Returns:
0 on success, -1 on failure.
Delete
Generate Header
Test AJAX
POST
/api/validate/?
i=
[
]
Returns:
0 on success, -1 on failure.