Profile 🎨
Profile Search
📌 POST
:/client/profilesearch
Request (body)
isforceget
* : Only 0,1 allowed.rf
: only 0,1,2 .clientnos
* : Alpha Numeric,Max 10 Characters Required.groupnos
* : Alpha Numeric.profilenos
* : Max 10 Characters Required, Array Only, Max 1000 Values.profilenos.*
* : Only Integers.profiletypes
: Array Only .
Response
// Success
{
"success":true,
"data" : [...],
"Params" : {...},
"msg": "Profile Loaded"
}
// Error
{
"error": [],
"success":false,
"msg":"Check Parameters"
}
Profile Info
📌 POST
:/client/profileinfo
Request (body)
propfileid
* : Only Integers.
Response
// Success
{
"success":true,
"data" : "Info" ,
"msg": "Profile Info Loaded"
}
// Error
{
"error": [],
"success":false,
"msg":"Check Parameters"
}
Profile Create
📌 POST
:/client/profilecreate
Request (body)
clientno
* : Max 10 Characters,only Alpha Numeric.
Note :
- For creating a profile the user must have
hascontact
Permission.
Response
// Success
{
"success":true,
"params" : {.....},
"msg": "Profile created"
}
// Error
{
"error": [],
"success":false,
"msg":"Check Parameters"
}
Profile Update
📌 POST
:/client/profileupdate
Request (body)
clientno
* : Max 10 Characters,only Alpha Numeric.profileid
* : Only Integers.dtype
* : 'Only 0,1,2 allowed.profiletype
* : min: 1, max: 100 Characters allowed.attri
* : min: 1 max: 100 Characters allowed.info
* : min: 1 max: 250 Characters allowed.iscommu
* : Contains Only 0,1 allowed.isgroupinfo
* : Contains Only 0,1 allowed.descp
: min: 2 max: 500 Characters allowed.
Note :
- For creating a profile the user must have
hascontact
Permission.
Response
// Success
{
"success":true,
"params" : {.....},
"no" : "profileno" ,
"msg": "Profile Updated"
}
// Error
{
"error": [],
"success":false,
"msg":"Check Parameters"
}
Profile Delete
📌 POST
:/client/profiledelete
Request (body)
clientno
* : Max 10 Characters,only Alpha Numeric.profileid
* : Only Integers.
Note :
- For creating a profile the user must have
hasdelete
Permission.
Response
// Success
{
"success":true,
"params" : {.....},
"msg": "Profile Deleted"
}
// Error
{
"error": [],
"success":false,
"msg":"Check Parameters"
}