+ Start a Discussion
Sunil Kumar 545Sunil Kumar 545 

have to create rest service of (post method ).rest apex class

* have to create one role object in that name,type ..type should be picklist value manager,staff(this one completed )

* create external user(portal user should create)pass parameter firstname,lastname,email,role)...if firstname,lastname not given means (not required field thorw),if email not given means exception sholud throw it sholud check emailformat ,and then role have check is there are not,

* if i create manger record already means ..again i create na it should throw error