Purpose and structure
The DTO (Data Transfer Object) CompanyDTO is used to represent the company data model, and reflects the structural characteristics of the Business Object class CompanyBO
Properties
This table lists the whole set of properties contained into this data type.
Some properties are "native", and have a single serialization format.
Some properties are "polymorphic", and can be serialized/deserialized using multiple formats (known as "styles")
Name | Kind | Description |
---|---|---|
address | native | Indirizzo The address of the entity |
anagraphicCompanyTypeId | polymorphic | Tipo azienda The contact typology |
anagraphicIndustryId | polymorphic | Settore The sector of the company |
billed | native | Classe di fatturato The year billing of the company |
boStatus | polymorphic | Stato anagrafica The status of the object |
categories | polymorphic | Categorie The company categories |
city | native | Città The city of the entity |
code | native | Codice The custom code of the anagraphic |
commercialZone | polymorphic | Zona The area id of the entity |
companyName | native | Ragione sociale The name of the company |
createdById | native | Creato da The creator of the entity |
createdDate | native | Data creazione The creation date for the entity |
customerFrom | native | Cliente da The customer of the anagraphic |
description | native | Descrizione società A free company description |
emails | polymorphic | Indirizzi e-mail The normalization of the emails |
employees | native | Dipendenti The employees of the company |
estimate | native | Valutazione The cross rating of the company |
externalReferences | native | Campi aggiuntivi The external references linked to current object |
fromLead | native | Da Lead The id of the lead this company was converted from |
geoLocalization | polymorphic | The geo localization object |
id | native | Company Unique Id |
language | native | Lingua |
lastContact | native | Data ultimo contatto The Customer of the anagraphic |
lastModifiedById | native | Modificato da The last modified by id |
lastModifiedDate | native | Data modifica The last modified date |
lockReason | native | The object lock reason |
naturalPersonId | native | The company's person id |
naturalPersonName | native | Nome The company's person name |
naturalPersonSurname | native | Cognome The company's person surname |
nextContact | native | Data prossimo contatto The Customer of the anagraphic |
noContact | native | Non contattare Show if you cannot contact this company |
ownerId | polymorphic | Proprietario The owner of the entity |
phones | polymorphic | Numeri di telefono The normalization of the phones |
photoUrl | native | The photo of the contact |
privacySettings | polymorphic | Privacy Settings |
province | native | Provincia The province of the entity |
region | native | Regione The province of the entity |
salesPersons | polymorphic | Commerciale The salesPersons Id |
score | native | |
source | polymorphic | Origine The product interested of the lead |
state | native | Nazione The state of the entity |
syncProperties | native | Sync Properties |
tags | polymorphic | |
taxIdentificationNumber | native | Codice fiscale The tax identification number of the entity |
vatId | native | Partita IVA The vat identification number of the entity |
webSite | native | Sito web The WebSite of the entity |
zipCode | native | CAP The zip code of the entity |
zoneCode | native | Zona The zone's code of the entity |
address
Indirizzo
The address of the entity
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
anagraphicCompanyTypeId
Tipo azienda
The contact typology
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | ContactTypeId |
Physical property type | int |
Is Required | NO |
Is Polymorphic | YES |
Is Nullable | NO |
Is Logical Primitive | NO |
Is Enumerable | NO |
Is Searchable | YES - OData example: $filter=anagraphicCompanyTypeId eq 123 |
Is Enum | NO |
Foreign Key |
|
Polymorphic styles for version 'v1'
For more details about using the polymorphic properties, please refer to the general guide on the options
Crm-AnagraphicCompanyTypeIdStyle
Crm-AnagraphicCompanyTypeIdStyle: AdaptiveDescription
Style name | Serialized as |
---|---|
AdaptiveDescription | string |
AdaptiveStringOnlyDescription | string |
Description | string |
FlattenedExpansion | FlattenedExpansionSchema |
Id | int |
anagraphicIndustryId
Settore
The sector of the company
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | CompanyTypeId |
Physical property type | long |
Is Required | NO |
Is Polymorphic | YES |
Is Nullable | NO |
Is Logical Primitive | NO |
Is Enumerable | NO |
Is Searchable | YES - OData example: $filter=anagraphicIndustryId eq 123 |
Is Enum | NO |
Foreign Key |
|
Polymorphic styles for version 'v1'
For more details about using the polymorphic properties, please refer to the general guide on the options
Crm-AnagraphicIndustryIdStyle: AdaptiveDescription
Style name | Serialized as |
---|---|
AdaptiveDescription | string |
AdaptiveStringOnlyDescription | string |
Description | string |
FlattenedExpansion | FlattenedExpansionSchema |
Id | int |
billed
Classe di fatturato
The year billing of the company
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
boStatus
Stato anagrafica
The status of the object
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | BoStatus |
Physical property type | AnagraphicStatus |
Is Required | NO |
Is Polymorphic | YES |
Is Nullable | NO |
Is Logical Primitive | YES |
Is Enumerable | NO |
Is Searchable | YES - OData example: $filter=boStatus eq 'EnumValue' |
Is Enum | YES |
Polymorphic styles for version 'v1'
For more details about using the polymorphic properties, please refer to the general guide on the options
Crm-AnagraphicStatusEnumStyle: AdaptiveInteger
Style name | Serialized as |
---|---|
AdaptiveInteger | int |
AdaptiveString | string |
categories
Categorie
The company categories
OData support
This property is searchable using OData.
$filter
The values must have a string representations (the description of the category).
The supported operators/functions are:
- eq
- startswith
- endswith
$select
The property can be specified into the $select parameter
$orderby
The property cannot be specified into the $orderby parameter
OData examples
- api/latest/Contact/Search?$filter=categories eq 'wifi'&$select=id,name,categories
- api/latest/Contact/Search?$filter=startswith(categories,'wifi')&$select=id,name,categories
- api/latest/Contact/Search?$filter=endswith(categories,'wifi')&$select=id,name,categories
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | Categories |
Physical property type | array of long |
Is Required | NO |
Is Polymorphic | YES |
Is Nullable | NO |
Is Logical Primitive | YES |
Is Enumerable | YES |
Is Searchable | NO |
Is Enum | NO |
Polymorphic styles for version 'v1'
For more details about using the polymorphic properties, please refer to the general guide on the options
Crm-CompanyCategoriesStyle: AdaptiveCsv
Style name | Serialized as |
---|---|
AdaptiveCsv | string |
AdaptiveExternalReference | string |
AdaptiveName | string |
AdaptiveStringOnlyName | string |
CsvOfIds | string |
CsvOfNames | string |
Id | long |
city
Città
The city of the entity
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
code
Codice
The custom code of the anagraphic
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
commercialZone
Zona
The area id of the entity
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Polymorphic styles for version 'v1'
For more details about using the polymorphic properties, please refer to the general guide on the options
Crm-CommercialZoneStyle: AdaptiveCode
Style name | Serialized as |
---|---|
AdaptiveCode | string |
AdaptiveDescription | string |
AdaptiveExternalReference | string |
AdaptiveStringOnlyCode | string |
AdaptiveStringOnlyDescription | string |
Id | int |
companyName
Ragione sociale
The name of the company
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
createdById
Creato da
The creator of the entity
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | CreatedById |
Physical property type | int |
Is Required | NO |
Is Polymorphic | NO |
Is Nullable | NO |
Is Logical Primitive | YES |
Is Enumerable | NO |
Is Searchable | YES - OData example: $filter=createdById eq 123 |
Is Enum | NO |
Foreign Key |
|
createdDate
Data creazione
The creation date for the entity
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
customerFrom
Cliente da
The customer of the anagraphic
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
description
Descrizione società
A free company description
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
emails
Indirizzi e-mail
The normalization of the emails
This is a polymorphic property and contains an array of emails.
For more details about the serialization/deserialization styles, please refere to the following section "Polymorphic styles"
OData searches
You can use this property as a filter condition in an OData expression.
Examples:
'eq' -> GET: /api/{version}/Company/Search?$filter=emails eq 'my@email.com'
'startswith' -> GET: /api/{version}/Company/Search?$filter=startswith(emails,'te')
'endswith' -> GET: /api/{version}/Company/Search?$filter=endswith(emails,'ro')
Complex example -> GET: /api/{version}/Company/Search?$filter=startswith(emails,'te') or endswith(emails,'ro') &$orderby=id asc&$top=10&$skip=0&$select=id,companyName,billed,emails
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | NormalizeEMail |
Physical property type | array of NormalizeEMailDTO |
Is Required | NO |
Is Polymorphic | YES |
Is Nullable | NO |
Is Logical Primitive | NO |
Is Enumerable | YES |
Is Searchable | NO |
Is Enum | NO |
Polymorphic styles for version 'v1'
For more details about using the polymorphic properties, please refer to the general guide on the options
Crm-EmailStyle: Compact
Style name | Serialized as |
---|---|
Compact | CompactItem |
Csv | string |
FlattenedExpansion | FlattenedExpansionSchema |
Full | EMailNormalizedDTO |
Tiny | TinyItem |
ValueOnly | string |
employees
Dipendenti
The employees of the company
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
estimate
Valutazione
The cross rating of the company
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
externalReferences
Campi aggiuntivi
The external references linked to current object
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | ExternalReferences |
Physical property type | array of ExternalReferencesDTO |
Is Required | NO |
Is Polymorphic | NO |
Is Nullable | NO |
Is Logical Primitive | NO |
Is Enumerable | YES |
Is Searchable | NO |
Is Enum | NO |
Max value | -1 |
fromLead
Da Lead
The id of the lead this company was converted from
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
geoLocalization
The geo localization object
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | GeoLocalization |
Physical property type | GeoDTO |
Is Required | NO |
Is Polymorphic | YES |
Is Nullable | NO |
Is Logical Primitive | NO |
Is Enumerable | NO |
Is Searchable | NO |
Is Enum | NO |
Polymorphic styles for version 'v1'
For more details about using the polymorphic properties, please refer to the general guide on the options
Crm-GeoLocalizationStyle: Full
Style name | Serialized as |
---|---|
Full | GeoDTO |
GeoJSON | GeoJsonItem |
id
Company Unique Id
The Id of the company is a Int64 integer.
This property contains the primary key of the object inside the system. It can be used to universally identify the record containing all the object's data
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
language
Lingua
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
lastContact
Data ultimo contatto
The Customer of the anagraphic
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
lastModifiedById
Modificato da
The last modified by id
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | LastModifiedById |
Physical property type | int |
Is Required | NO |
Is Polymorphic | NO |
Is Nullable | NO |
Is Logical Primitive | YES |
Is Enumerable | NO |
Is Searchable | YES - OData example: $filter=lastModifiedById eq 123 |
Is Enum | NO |
Foreign Key |
|
lastModifiedDate
Data modifica
The last modified date
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
lockReason
The object lock reason
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
naturalPersonId
The company's person id
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | NaturalPersonId |
Physical property type | long |
Is Required | NO |
Is Polymorphic | NO |
Is Nullable | NO |
Is Logical Primitive | YES |
Is Enumerable | NO |
Is Searchable | NO |
Is Enum | NO |
naturalPersonName
Nome
The company's person name
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
naturalPersonSurname
Cognome
The company's person surname
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
nextContact
Data prossimo contatto
The Customer of the anagraphic
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
noContact
Non contattare
Show if you cannot contact this company
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
ownerId
Proprietario
The owner of the entity
This polymorphic property is a foreign key, and refers to the account ID of the owner of this object.
Multiple serialization styles are available (see the section below).
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | OwnerId |
Physical property type | int |
Is Required | NO |
Is Polymorphic | YES |
Is Nullable | NO |
Is Logical Primitive | NO |
Is Enumerable | NO |
Is Searchable | YES - OData example: $filter=ownerId eq 123 |
Is Enum | NO |
Foreign Key |
|
Polymorphic styles for version 'v1'
For more details about using the polymorphic properties, please refer to the general guide on the options
Crm-OwnerIdStyle: AdaptiveExternalReference
Style name | Serialized as |
---|---|
AdaptiveExternalReference | string |
AdaptiveStringOnlyUserAccount | string |
AdaptiveUserAccount | string |
FlattenedExpansion | FlattenedExpansionSchema |
Id | int |
StrictEmail | string |
phones
Numeri di telefono
The normalization of the phones
This is a polymorphic property and contains an array of phones.
For more details about the serialization/deserialization styles, please refere to the following section "Polymorphic styles"
OData searches
You can use this property as a filter condition in an OData expression.
Examples:
'eq' -> GET: /api/{version}/Company/Search?$filter=phones eq '123456789'
'startswith' -> GET: /api/{version}/Company/Search?$filter=startswith(phones,'123')
'endswith' -> GET: /api/{version}/Company/Search?$filter=endswith(phones,'789')
Complex example -> GET: /api/{version}/Company/Search?$filter=startswith(phones,'123') or endswith(phones,'789') &$orderby=id asc&$top=10&$skip=0&$select=id,companyName,billed,phones
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | NormalizePhone |
Physical property type | array of NormalizePhoneDTO |
Is Required | NO |
Is Polymorphic | YES |
Is Nullable | NO |
Is Logical Primitive | NO |
Is Enumerable | YES |
Is Searchable | NO |
Is Enum | NO |
Polymorphic styles for version 'v1'
For more details about using the polymorphic properties, please refer to the general guide on the options
Crm-PhoneStyle: Compact
Style name | Serialized as |
---|---|
Compact | CompactItem |
Csv | string |
FlattenedExpansion | FlattenedExpansionSchema |
Full | PhoneNormalizedDTO |
Tiny | TinyItem |
ValueOnly | string |
photoUrl
The photo of the contact
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | PhotoUrl |
Physical property type | string |
Is Required | NO |
Is Polymorphic | NO |
Is Nullable | NO |
Is Logical Primitive | YES |
Is Enumerable | NO |
Is Searchable | NO |
Is Enum | NO |
privacySettings
Privacy Settings
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | PrivacySettings |
Physical property type | array of PrivacyManagementDTO |
Is Required | NO |
Is Polymorphic | YES |
Is Nullable | NO |
Is Logical Primitive | NO |
Is Enumerable | YES |
Is Searchable | NO |
Is Enum | NO |
Polymorphic styles for version 'v1'
For more details about using the polymorphic properties, please refer to the general guide on the options
Crm-PrivacySettingsStyle: Compact
Style name | Serialized as |
---|---|
Compact | CompactItem |
Full | PrivacyManagementDTO |
province
Provincia
The province of the entity
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
region
Regione
The province of the entity
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
salesPersons
Commerciale
The salesPersons Id
OData support
This property is searchable using OData.
$filter
The values must have an integer representations (the ID of the account of the salesperson).
$select
The property can be specified into the $select parameter
$orderby
The property cannot be specified into the $orderby parameter
OData examples
- api/latest/Company/Search?$filter=salesPersons eq 1
- api/latest/Company/Search?$filter=salesPersons gt 0
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | SalesPersons |
Physical property type | array of int |
Is Required | NO |
Is Polymorphic | YES |
Is Nullable | NO |
Is Logical Primitive | YES |
Is Enumerable | YES |
Is Searchable | NO |
Is Enum | NO |
Polymorphic styles for version 'v1'
For more details about using the polymorphic properties, please refer to the general guide on the options
Crm-SalesPersonsStyle: AdaptiveCsv
Style name | Serialized as |
---|---|
AdaptiveCsv | string |
AdaptiveExternalReference | string |
AdaptiveStringOnlyUserAccount | string |
AdaptiveUserAccount | string |
Csv | string |
CsvOfIds | string |
CsvOfNames | string |
Id | int |
score
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
source
Origine
The product interested of the lead
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | Source |
Physical property type | long |
Is Required | NO |
Is Polymorphic | YES |
Is Nullable | NO |
Is Logical Primitive | NO |
Is Enumerable | NO |
Is Searchable | YES - OData example: $filter=source eq 123 |
Is Enum | NO |
Foreign Key |
|
Polymorphic styles for version 'v1'
For more details about using the polymorphic properties, please refer to the general guide on the options
Crm-AnagraphicSourceIdStyle: AdaptiveDescription
Style name | Serialized as |
---|---|
AdaptiveDescription | string |
AdaptiveStringOnlyDescription | string |
Description | string |
FlattenedExpansion | FlattenedExpansionSchema |
Id | long |
state
Nazione
The state of the entity
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
syncProperties
Sync Properties
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | SyncProperties |
Physical property type | SyncPropertyFlag |
Is Required | NO |
Is Polymorphic | NO |
Is Nullable | NO |
Is Logical Primitive | YES |
Is Enumerable | NO |
Is Searchable | NO |
Is Enum | YES |
tags
This polymorphic property is an array of tags (textual labels) associated to the object.
For details on using the different serialization/deserialization styles, refer to the section below "Polymorphic styles"
OData searches
You can use this property as a filter condition in an OData expression via the eq operator and the startswith, endswith functions.
Examples:
'eq' -> GET: /api/{version}/Company/Search?$filter=tags eq 'category'
'startswith' -> GET: /api/{version}/Company/Search?$filter=startswith(tags,'te')
'endswith' -> GET: /api/{version}/Company/Search?$filter=endswith(tags,'ro')
Complex example -> GET: /api/{version}/Company/Search?$filter=startswith(tags,'te') or endswith(tags,'ro') &$orderby=id asc&$top=10&$skip=0&$select=id,companyName,billed,tags
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Name | Value |
---|---|
Physical property name | Tags |
Physical property type | array of long |
Is Required | NO |
Is Polymorphic | YES |
Is Nullable | NO |
Is Logical Primitive | YES |
Is Enumerable | YES |
Is Searchable | NO |
Is Enum | NO |
Polymorphic styles for version 'v1'
For more details about using the polymorphic properties, please refer to the general guide on the options
Crm-TagsStyle: AdaptiveCsv
Style name | Serialized as |
---|---|
AdaptiveCsv | string |
AdaptiveExternalReference | string |
AdaptiveName | string |
AdaptiveStringOnlyName | string |
Csv | string |
CsvOfIds | string |
CsvOfNames | string |
Id | int |
taxIdentificationNumber
Codice fiscale
The tax identification number of the entity
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
vatId
Partita IVA
The vat identification number of the entity
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
webSite
Sito web
The WebSite of the entity
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
zipCode
CAP
The zip code of the entity
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
zoneCode
Zona
The zone's code of the entity
For more details about using the properties and customizing their serialization/deserialization, please refer to the general guide on the options
Features
This table contains all the information about to this property features.
Schema
The following table contains the main schema information about this data type.
Feature | Value |
---|---|
Complex type | CompanyDTO |
Required: |
Polymorphic Schema
The polymorphic schema describe how the object is serialized and deserialized by the Web API pipeline.
Some properties are "native", and have a single serialization format.
Some properties are "polymorphic", and can be serialized/deserialized using multiple formats (known as "styles")
Free Fields
This Business Object is customizable, and it is therefore possible to define a set of custom fields.
These custom fields are called Free Fields.
Free Fields are user-definable custom fields, and can contain data of various kinds.
Each Free Field has a specific data type (selected during configuration), and on the basis of this type, the field data follow certain validation rules.
For more details about Free Fields, refer to the appropriate section
Free Field and polymorphism
As with many other fields, Free Fields also implement polymorphic serialization capabilities, and it is therefore possible to select multiple serialization/deserialization styles.
For more details, refer to the specific descriptive paragraph on the serialization of the Free Fields
Free Field and OData
Free Fields can be used in OData searches as field selectors ($select criterion).
In order to be able to discriminate them from the other standard fields of the Business Object, it is necessary to specify the prefix "FF_"
Example:
GET: /api/{version}/{controller}/Search?$select=id,FF_MyCustomFreeField1,FF_AnotherFreeField