fields/groups/contacts/contact
POST {{base_url}}/{{base_path}}/fields/groups/contacts/contact
Generated from a curl request:
curl -X POST '{{base
url}}/{{base
path}}/fields/groups/contacts/contact' -H 'X-Joomla-Token: {{auth
apikey}}' -H 'Content-Type: application/json' -d '{
access
:1,
context
:"com
contact.contact
,
default
value
:
,
description
:
,
group
id
:0,
label
:
contact field
,
language
:
*
,
name
:
contact-field3
,
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"}'
Request Body
{"access"=>1, "context"=>"com_contact.contact", "default_value"=>"", "description"=>"", "group_id"=>0, "label"=>"contact field", "language"=>"*", "name"=>"contact-field3", "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 | | |
RESPONSES
status: ``