fields/contacts/contact
POST {{base_url}}/{{base_path}}/fields/contacts/contact
Generated from a curl request:
curl -X POST '{{baseurl}}/{{basepath}}/fields/contacts/contact' -H 'X-Joomla-Token: {{authapikey}}' -H 'Content-Type: application/json' -d '{access
:1,context
:"comcontact.contact,
defaultvalue:
,
description:
,
groupid:0,
label:
contact field,
language:
*,
name:
contact-field,
note:
,
params:{
class:
,
display:
2,
displayreadonly:
2,
hint:
,
labelclass:
,
labelrenderclass:
,
layout:
,
prefix:
,
renderclass:
,
showon:
,
showlabel:
1,
suffix:
},
required:0,
state:1,
title:
contact field,
type:
text"}'
Request Body
{"access"=>1, "context"=>"com_contact.contact", "default_value"=>"", "description"=>"", "group_id"=>0, "label"=>"contact field", "language"=>"*", "name"=>"contact-field", "note"=>"", "params"=>{"class"=>"", "display"=>"2", "display_readonly"=>"2", "hint"=>"", "label_class"=>"", "label_render_class"=>"", "layout"=>"", "prefix"=>"", "render_class"=>"", "show_on"=>"", "showlabel"=>"1", "suffix"=>""}, "required"=>0, "state"=>1, "title"=>"contact field", "type"=>"text"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |