FmObject
Depending on your integration, a FidelityMember may have a collection of "object" stored into FmObject
id
Adelya Internal object ID
Alphanumeric (even if yet just number are in), it's the table primary key, returned on persist or use for fast look-up
idExternal
Your reference
alpha (see faq entry on idExternal) can be null (i.e. not specified) but not the empty string (aka "")
127 characters max
group
Wherer is attached this object
actif
The status of the object.
actif = 0 (DISABLED)
actif = 1 (ENABLED)parent
Who this object pertains to
see FidelityMember
type
Kind of object, one of the value of the
MANAGE_MEMBER_LINKED_OBJ
parameterpets, car, ...
20 characters max
dateCreate
creation date of this object
datetime
dateUpdate
when was the last update of this object
datetime
image
URL image
alpha
255 characters max
varchar1
Usually object descr
String (mandatory)
255 characters max
varchar2
String
255 characters max
varchar3
String
255 characters max
varchar4
String
255 characters max
varchar5
String
255 characters max
varchar6
String
255 characters max
varchar7
String
255 characters max
varchar8
String
255 characters max
varchar9
String
255 characters max
varchar10
String
255 characters max
date1
Date
date2
Date
date3
Date
date4
Date
date5
Date
double1
Double
double2
Double
double3
Double
double4
Double
double5
Double
FmObjectNoteEvent
when a change is requested on a fmObject (through an HTP PUT see below) a FmObjectUpdateEvent is added to the history of the member.You can explicitly attach an event to a FmObject thanks to the FmObjectEvent.
Examples
FmObject creation
the fields are linked to your customization
HTTP PUT
{"FmObject":{"type":"mytype","varchar1":"title of my fmobject","idExternal":"MYFMOBJKEY","parent":{"loadFromKeys":{"idExternal":"FMIdExtrenal"}}}}
FmObject update
HTTP PUT
{"FmObject":{"varchar1":"title updt of my fmobject","loadFromKeys":{"idExternal":"MYFMOBJKEY"}}}
Add a note on the fmObject
HTTP PUT
{"FmObjectNoteEvent":{"comment":"Leave a note by api","member":{"id":21267484},"fmObject":{loadFromKeys:{"idExternal":"MYFMOBJKEY"}}}}