Params

Param name
Description
auth_token
optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String

owner_id
required

The ID for the record that owns this record.

  • Must be an Integer ID reference to an object on Trackdrive.

owner_type
required

The type of record that owns this record.

  • Must be String

owner_relation
required

The relation.

  • Must be String

open_times
optional

Define the days and hours that are open. EX:

{:day=>0, :time_from=>“00:00”, :time_to=>“23:59”}, {:day=>1, :time_from=>“00:00”, :time_to=>“23:59”}, {:day=>2, :time_from=>“00:00”, :time_to=>“23:59”}, {:day=>3, :time_from=>“00:00”, :time_to=>“23:59”}, {:day=>4, :time_from=>“00:00”, :time_to=>“23:59”}, {:day=>5, :time_from=>“00:00”, :time_to=>“23:59”}, {:day=>6, :time_from=>“00:00”, :time_to=>“23:59”}
  • Must be an array of any type

sortable_order
optional , nil allowed

The order in which records will be sorted. Values are sorted in ascending order; smaller values are listed first.

  • Must be a decimal number.