Create a profile type

POST {{baseUrl}}/profile_type

Create a profile type

Request Body

{"profile_type"=>{"name"=>"Worker", "category"=>"employee", "bypass_dup_protection"=>false, "archived"=>false, "permitted_role_ids"=>["33f072dd-13b4-41e1-8ea0-16f2a59b57c8"], "isc_synced"=>false, "profile_type_dup_attributes_attributes"=>[{"ne_attribute_id"=>"33f072dd-13b4-41e1-8ea0-16f2a59b57c8"}, {"ne_attribute_id"=>"33f072dd-13b4-41e1-8ea0-16f2a59b57c8"}], "profile_type_namings_attributes"=>[{"ne_attribute_id"=>"33f072dd-13b4-41e1-8ea0-16f2a59b57c8", "order"=>0}, {"ne_attribute_id"=>"33f072dd-13b4-41e1-8ea0-16f2a59b57c8", "order"=>0}]}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"profile_type":{"id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","uid":"fugiat do veniam eu incididuntcu","name":"Worker","category":"employee","bypass_dup_protection":false,"archived":false,"permitted_role_ids":["33f072dd-13b4-41e1-8ea0-16f2a59b57c8"],"isc_synced":false,"profile_type_dup_attributes":[{"id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","uid":"est do qui utincididunt doloreut","profile_type_id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","ne_attribute_id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8"},{"id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","uid":"est laborisea sed quiea Duis ut ","profile_type_id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","ne_attribute_id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8"}],"profile_type_namings":[{"id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","uid":"elit magna ullamco exercitationa","profile_type_id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","ne_attribute_id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","order":0},{"id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","uid":"aliquip ipsum minim donon nulla ","profile_type_id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","ne_attribute_id":"33f072dd-13b4-41e1-8ea0-16f2a59b57c8","order":0}]}}