Create profile form

POST {{backofficeURL}}/ProfileService/profiles/forms?access_token={{useraccessToken}}

  • Using this service, we can create a profile form.
  • Check out the profile form example json in the body below.
  • The first label in the header section needs to be defined as Form Label, and the value can be any name of the profile form you want it to be.
  • The Form Label should ideally be in the Form Header, and the remaining fields can be in the Form Body.

Request Params

KeyDatatypeRequiredDescription
access_tokenstring

Request Body

{"Form Header"=>[{"Type"=>"Varchar", "Value"=>"Customer registration form", "Label"=>"Form Label"}], "Form Body"=>[{"Type"=>"Varchar", "Value"=>"", "Label"=>"National ID"}, {"Type"=>"Varchar", "Value"=>"", "Label"=>"Name"}, {"Type"=>"List", "Value"=>["Male", "Female"], "Label"=>"Gender"}, {"Type"=>"Branch", "Value"=>"L0", "Label"=>"Hierarchy"}, {"Type"=>"Varchar", "Value"=>"", "Label"=>"Latitude"}, {"Type"=>"Varchar", "Value"=>"", "Label"=>"Longitude"}, {"Type"=>"Phone", "Value"=>"", "Label"=>"Mobile Number"}, {"Type"=>"Date", "Value"=>"", "Label"=>"Date of Birth"}]}