Resource type : addressCompletionFields
With this API call all fields can be queried, which are marked / selected for address completion.
Parameters:
- (none)
Request example
1 2 3 4 5 6 7 | { "actionid" : "urn:onoffice-de-ns:smart:2.5:smartml:action:get" , "resourceid" : "" , "identifier" : "" , "resourcetype" : "addressCompletionFields" , "parameters" : [] } |
Response:
name
Name of the categoryfields
Array of JSON objects. List of fields in a category.id
Unique field keyname
Name of fieldtype
Type of field (Data type,singleselect
,multiselect
)values
OPTIONAL. Only for typesingleselect
andmultiselect
. JSON object with individual key-value pairs.default
OPTIONAL. Only for typesingleselect
andmultiselect
. Default value of the singleselect or multiselect values.
Example:
1 2 3 4 5 6 7 8 9 10 11 12 | ... elements: { name: "Verwaltung" , fields: [ { id: "ArtDaten" , name: "Kontaktart" , type: "multiselect" , values: { indMulti5509Select5509: "Objektesammler" , indMulti5507Select5507: "Mensch" , ... |