create a company/person with custom fields with the highrise api
Highrise::Company.create({
name: "My Company",
subject_datas: [
{
subject_field_id: 123456,
value: Time.now.strftime('%d.%m.%Y %H:%M:%S')
},
{
subject_field_id: 7891234,
value: 'API SYNC'
}
]
})
get the subject field ids from the api or inspect the html in you highrise custom field options.
PS: the Highrise API is crap
Written by Benjamin Knofe
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#