Time entries

List all time entries

Returns a paginated list of all time entries in the administration.

The filter argument allows you to filter the list of time entries. Filters are a combination of keys and values, separated by a comma: period:this_year,state:all. The available options for filtering are:

Filter Type Default Description
state String all all, open or non_billable
period String this_year This can either be the description of a period (this_month, prev_month, next_month, this_quarter, prev_quarter, next_quarter, this_year, prev_year, next_year) or a custom period (201301..201302, 20130101..20130131)
contact_id Integer   Select time entries belonging to a certain contact
include_nil_contacts Boolean false Whether to include time entries that have no assigned contact
project_id Integer   Select time entries beloging to a certain project
user_id Integer   Select time entries beloging to a certain user
day Date   Select time entries on a specific date

You can filter by multiple states at the same time as well. To do this, separate the state values by a pipe: state:open|non_billable.

Parameters

Parameter Type Description
filter String
query String

Allows filtering by time entry description.

Example: returns all time entries of an administration

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?
    

Response

        
          
          Status: 200 OK
        
      
      [
  {
    "id": "292221170022876395",
    "administration_id": 123,
    "contact_id": "292221169911727335",
    "project_id": "292221169956816105",
    "user_id": 15929034182111,
    "started_at": "2020-06-23T09:17:00.000Z",
    "ended_at": "2020-06-23T10:17:00.000Z",
    "description": "Test",
    "paused_duration": 0,
    "billable": true,
    "created_at": "2020-06-23T09:17:26.258Z",
    "updated_at": "2020-06-23T09:17:26.258Z",
    "contact": {
      "id": "292221169911727335",
      "firstname": "",
      "lastname": "",
      "company_name": "Foobar Holding B.V."
    },
    "detail": null,
    "user": {
      "id": 15929034182111,
      "name": "Moneybird",
      "created_at": "2020-06-23T09:10:18.464Z",
      "updated_at": "2020-06-23T09:10:19.723Z"
    },
    "project": {
      "id": "292221169956816105",
      "name": "My project name",
      "state": "active"
    },
    "events": [
      {
        "administration_id": 123,
        "user_id": 15929034182111,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {
        },
        "created_at": "2020-06-23T09:17:26.276Z",
        "updated_at": "2020-06-23T09:17:26.276Z"
      }
    ],
    "notes": [

    ]
  },
  {
    "id": "292221170069013741",
    "administration_id": 123,
    "contact_id": null,
    "project_id": null,
    "user_id": 15929034182111,
    "started_at": "2020-06-23T09:17:00.000Z",
    "ended_at": "2020-06-23T09:18:00.000Z",
    "description": "Test",
    "paused_duration": 0,
    "billable": false,
    "created_at": "2020-06-23T09:17:26.300Z",
    "updated_at": "2020-06-23T09:17:26.300Z",
    "contact": null,
    "detail": null,
    "user": {
      "id": 15929034182111,
      "name": "Moneybird",
      "created_at": "2020-06-23T09:10:18.464Z",
      "updated_at": "2020-06-23T09:10:19.723Z"
    },
    "project": null,
    "events": [
      {
        "administration_id": 123,
        "user_id": 15929034182111,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {
        },
        "created_at": "2020-06-23T09:17:26.314Z",
        "updated_at": "2020-06-23T09:17:26.314Z"
      }
    ],
    "notes": [

    ]
  },
  {
    "id": "292221170103616751",
    "administration_id": 123,
    "contact_id": null,
    "project_id": null,
    "user_id": 15929034182111,
    "started_at": "2020-06-23T09:17:00.000Z",
    "ended_at": "2020-06-23T09:18:00.000Z",
    "description": "Test",
    "paused_duration": 0,
    "billable": true,
    "created_at": "2020-06-23T09:17:26.336Z",
    "updated_at": "2020-06-23T09:17:26.336Z",
    "contact": null,
    "detail": null,
    "user": {
      "id": 15929034182111,
      "name": "Moneybird",
      "created_at": "2020-06-23T09:10:18.464Z",
      "updated_at": "2020-06-23T09:10:19.723Z"
    },
    "project": null,
    "events": [
      {
        "administration_id": 123,
        "user_id": 15929034182111,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {
        },
        "created_at": "2020-06-23T09:17:26.345Z",
        "updated_at": "2020-06-23T09:17:26.345Z"
      }
    ],
    "notes": [

    ]
  }
]
      

Example: returns all time entries filtered on period

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?filter=period%3Athis_month
    

Response

        
          
          Status: 200 OK
        
      
      [
  {
    "id": "292221170706547959",
    "administration_id": 123,
    "contact_id": "292221170464326899",
    "project_id": "292221170535630069",
    "user_id": 15929034182111,
    "started_at": "2020-06-23T09:17:00.000Z",
    "ended_at": "2020-06-23T10:17:00.000Z",
    "description": "Test",
    "paused_duration": 0,
    "billable": true,
    "created_at": "2020-06-23T09:17:26.906Z",
    "updated_at": "2020-06-23T09:17:26.906Z",
    "contact": {
      "id": "292221170464326899",
      "firstname": "",
      "lastname": "",
      "company_name": "Foobar Holding B.V."
    },
    "detail": null,
    "user": {
      "id": 15929034182111,
      "name": "Moneybird",
      "created_at": "2020-06-23T09:10:18.464Z",
      "updated_at": "2020-06-23T09:10:19.723Z"
    },
    "project": {
      "id": "292221170535630069",
      "name": "My project name",
      "state": "active"
    },
    "events": [
      {
        "administration_id": 123,
        "user_id": 15929034182111,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {
        },
        "created_at": "2020-06-23T09:17:26.928Z",
        "updated_at": "2020-06-23T09:17:26.928Z"
      }
    ],
    "notes": [

    ]
  },
  {
    "id": "292221170762122489",
    "administration_id": 123,
    "contact_id": null,
    "project_id": null,
    "user_id": 15929034182111,
    "started_at": "2020-06-23T09:17:00.000Z",
    "ended_at": "2020-06-23T09:18:00.000Z",
    "description": "Test",
    "paused_duration": 0,
    "billable": false,
    "created_at": "2020-06-23T09:17:26.962Z",
    "updated_at": "2020-06-23T09:17:26.962Z",
    "contact": null,
    "detail": null,
    "user": {
      "id": 15929034182111,
      "name": "Moneybird",
      "created_at": "2020-06-23T09:10:18.464Z",
      "updated_at": "2020-06-23T09:10:19.723Z"
    },
    "project": null,
    "events": [
      {
        "administration_id": 123,
        "user_id": 15929034182111,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {
        },
        "created_at": "2020-06-23T09:17:26.982Z",
        "updated_at": "2020-06-23T09:17:26.982Z"
      }
    ],
    "notes": [

    ]
  },
  {
    "id": "292221170823988475",
    "administration_id": 123,
    "contact_id": null,
    "project_id": null,
    "user_id": 15929034182111,
    "started_at": "2020-06-23T09:17:00.000Z",
    "ended_at": "2020-06-23T09:18:00.000Z",
    "description": "Test",
    "paused_duration": 0,
    "billable": true,
    "created_at": "2020-06-23T09:17:27.021Z",
    "updated_at": "2020-06-23T09:17:27.021Z",
    "contact": null,
    "detail": null,
    "user": {
      "id": 15929034182111,
      "name": "Moneybird",
      "created_at": "2020-06-23T09:10:18.464Z",
      "updated_at": "2020-06-23T09:10:19.723Z"
    },
    "project": null,
    "events": [
      {
        "administration_id": 123,
        "user_id": 15929034182111,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {
        },
        "created_at": "2020-06-23T09:17:27.032Z",
        "updated_at": "2020-06-23T09:17:27.032Z"
      }
    ],
    "notes": [

    ]
  }
]
      

Example: returns all time entries filtered on search query

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?query=Custom
    

Response

        
          
          Status: 200 OK
        
      
      [
  {
    "id": "292221176886854923",
    "administration_id": 123,
    "contact_id": null,
    "project_id": null,
    "user_id": 15929034182111,
    "started_at": "2020-06-23T09:17:00.000Z",
    "ended_at": "2020-06-23T09:18:00.000Z",
    "description": "Custom description",
    "paused_duration": 0,
    "billable": true,
    "created_at": "2020-06-23T09:17:32.791Z",
    "updated_at": "2020-06-23T09:17:32.791Z",
    "contact": null,
    "detail": null,
    "user": {
      "id": 15929034182111,
      "name": "Moneybird",
      "created_at": "2020-06-23T09:10:18.464Z",
      "updated_at": "2020-06-23T09:10:19.723Z"
    },
    "project": null,
    "events": [
      {
        "administration_id": 123,
        "user_id": 15929034182111,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {
        },
        "created_at": "2020-06-23T09:17:32.808Z",
        "updated_at": "2020-06-23T09:17:32.808Z"
      }
    ],
    "notes": [

    ]
  }
]
      

Example: returns all time entries filtered on state

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?filter=state%3Anon_billable
    

Response

        
          
          Status: 200 OK
        
      
      [
  {
    "id": "292221177654412565",
    "administration_id": 123,
    "contact_id": null,
    "project_id": null,
    "user_id": 15929034182111,
    "started_at": "2020-06-23T09:17:00.000Z",
    "ended_at": "2020-06-23T09:18:00.000Z",
    "description": "Test",
    "paused_duration": 0,
    "billable": false,
    "created_at": "2020-06-23T09:17:33.527Z",
    "updated_at": "2020-06-23T09:17:33.527Z",
    "contact": null,
    "detail": null,
    "user": {
      "id": 15929034182111,
      "name": "Moneybird",
      "created_at": "2020-06-23T09:10:18.464Z",
      "updated_at": "2020-06-23T09:10:19.723Z"
    },
    "project": null,
    "events": [
      {
        "administration_id": 123,
        "user_id": 15929034182111,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {
        },
        "created_at": "2020-06-23T09:17:33.538Z",
        "updated_at": "2020-06-23T09:17:33.538Z"
      }
    ],
    "notes": [

    ]
  }
]
      

Example: returns paginated time entries on page 1

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?per_page=1
    

Response

        
          
          Status: 200 OK
        
      
      [
  {
    "id": "292221178167166239",
    "administration_id": 123,
    "contact_id": "292221178057065755",
    "project_id": "292221178106348829",
    "user_id": 15929034182111,
    "started_at": "2020-06-23T09:17:00.000Z",
    "ended_at": "2020-06-23T10:17:00.000Z",
    "description": "Test",
    "paused_duration": 0,
    "billable": true,
    "created_at": "2020-06-23T09:17:34.017Z",
    "updated_at": "2020-06-23T09:17:34.017Z",
    "contact": {
      "id": "292221178057065755",
      "firstname": "",
      "lastname": "",
      "company_name": "Foobar Holding B.V."
    },
    "detail": null,
    "user": {
      "id": 15929034182111,
      "name": "Moneybird",
      "created_at": "2020-06-23T09:10:18.464Z",
      "updated_at": "2020-06-23T09:10:19.723Z"
    },
    "project": {
      "id": "292221178106348829",
      "name": "My project name",
      "state": "active"
    },
    "events": [
      {
        "administration_id": 123,
        "user_id": 15929034182111,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {
        },
        "created_at": "2020-06-23T09:17:34.026Z",
        "updated_at": "2020-06-23T09:17:34.026Z"
      }
    ],
    "notes": [

    ]
  }
]
      

Example: returns paginated time entries on page 2

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?page=2&per_page=1
    

Response

        
          
          Status: 200 OK
        
      
      [
  {
    "id": "292221178740737325",
    "administration_id": 123,
    "contact_id": null,
    "project_id": null,
    "user_id": 15929034182111,
    "started_at": "2020-06-23T09:17:00.000Z",
    "ended_at": "2020-06-23T09:18:00.000Z",
    "description": "Test",
    "paused_duration": 0,
    "billable": false,
    "created_at": "2020-06-23T09:17:34.564Z",
    "updated_at": "2020-06-23T09:17:34.564Z",
    "contact": null,
    "detail": null,
    "user": {
      "id": 15929034182111,
      "name": "Moneybird",
      "created_at": "2020-06-23T09:10:18.464Z",
      "updated_at": "2020-06-23T09:10:19.723Z"
    },
    "project": null,
    "events": [
      {
        "administration_id": 123,
        "user_id": 15929034182111,
        "action": "time_entry_created",
        "link_entity_id": null,
        "link_entity_type": null,
        "data": {
        },
        "created_at": "2020-06-23T09:17:34.573Z",
        "updated_at": "2020-06-23T09:17:34.573Z"
      }
    ],
    "notes": [

    ]
  }
]
      

Example: returns an error when too many time entries are requested

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?per_page=101
    

Response

        
          
          Status: 400 Bad Request
        
      
      {
  "error": "Per Page is too big",
  "symbolic": {
    "per_page": "max"
  }
}
      

Example: returns an error message if filter contact_id is not found

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?filter=contact_id%3A123
    

Response

        
          
          Status: 404 Not Found
        
      
      {
  "error": "record not found",
  "symbolic": {
    "contact_id": "not_found"
  }
}
      

Example: returns an error message if filter user_id is not found

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries.json?filter=user_id%3A123
    

Response

        
          
          Status: 404 Not Found
        
      
      {
  "error": "record not found",
  "symbolic": {
    "user_id": "not_found"
  }
}
      

Get a time entry by id

Returns a time entry in the administration.

Example: returns time entry by given id

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries/292221181057041755.json?
    

Response

        
          
          Status: 200 OK
        
      
      {
  "id": "292221181057041755",
  "administration_id": 123,
  "contact_id": "292221180867249495",
  "project_id": "292221180916532569",
  "user_id": 15929034182111,
  "started_at": "2020-06-23T09:17:00.000Z",
  "ended_at": "2020-06-23T10:17:00.000Z",
  "description": "Test",
  "paused_duration": 0,
  "billable": true,
  "created_at": "2020-06-23T09:17:36.769Z",
  "updated_at": "2020-06-23T09:17:36.769Z",
  "contact": {
    "id": "292221180867249495",
    "firstname": "",
    "lastname": "",
    "company_name": "Foobar Holding B.V."
  },
  "detail": null,
  "user": {
    "id": 15929034182111,
    "name": "Moneybird",
    "created_at": "2020-06-23T09:10:18.464Z",
    "updated_at": "2020-06-23T09:10:19.723Z"
  },
  "project": {
    "id": "292221180916532569",
    "name": "My project name",
    "state": "active"
  },
  "events": [
    {
      "administration_id": 123,
      "user_id": 15929034182111,
      "action": "time_entry_created",
      "link_entity_id": null,
      "link_entity_type": null,
      "data": {
      },
      "created_at": "2020-06-23T09:17:36.787Z",
      "updated_at": "2020-06-23T09:17:36.787Z"
    }
  ],
  "notes": [

  ]
}
      

Example: returns 404 when time entry does not exist

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XGET \
  https://moneybird.com/api/v2/123/time_entries/34123123.json?
    

Response

        
          
          Status: 404 Not Found
        
      
      {
  "error": "record not found",
  "symbolic": {
    "id": "not_found"
  }
}
      

Create a time entry

started_at and ended_at are rounded down to full minutes when creating a time entry, with a minimum of 1 minute between them.

Parameters

Parameter Type Description
time_entry[user_id] Integer

Required

Should be a valid user id.

time_entry[started_at] Datetime

Required

time_entry[ended_at] Datetime

Required.

time_entry[description] String

Required

time_entry[contact_id] Integer

Should be a valid contact id.

time_entry[project_id] Integer

Should be a valid project id.

time_entry[detail_id] Integer

Should be a valid detail id.

time_entry[billable] Boolean
time_entry[paused_duration] Integer

Total paused duration in seconds, is rounded down to full minutes.

Example: create a basic time entry

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XPOST \
  -d '{"time_entry":{"started_at":"2020-06-23 09:17:00 UTC","ended_at":"2020-06-23 10:17:00 UTC","description":"Test","contact_id":292221181751199079,"project_id":292221181807822185,"user_id":15929034182111,"billable":false}}' \
  https://moneybird.com/api/v2/123/time_entries
    

Response

        
          
          Status: 201 Created
        
      
      {
  "id": "292221181972448619",
  "administration_id": 123,
  "contact_id": "292221181751199079",
  "project_id": "292221181807822185",
  "user_id": 15929034182111,
  "started_at": "2020-06-23T09:17:00.000Z",
  "ended_at": "2020-06-23T10:17:00.000Z",
  "description": "Test",
  "paused_duration": 0,
  "billable": false,
  "created_at": "2020-06-23T09:17:37.676Z",
  "updated_at": "2020-06-23T09:17:37.676Z",
  "contact": {
    "id": "292221181751199079",
    "firstname": "",
    "lastname": "",
    "company_name": "Foobar Holding B.V."
  },
  "detail": null,
  "user": {
    "id": 15929034182111,
    "name": "Moneybird",
    "created_at": "2020-06-23T09:10:18.464Z",
    "updated_at": "2020-06-23T09:10:19.723Z"
  },
  "project": {
    "id": "292221181807822185",
    "name": "My project name",
    "state": "active"
  },
  "events": [
    {
      "administration_id": 123,
      "user_id": 15929034182111,
      "action": "time_entry_created",
      "link_entity_id": null,
      "link_entity_type": null,
      "data": {
      },
      "created_at": "2020-06-23T09:17:37.693Z",
      "updated_at": "2020-06-23T09:17:37.693Z"
    }
  ],
  "notes": [

  ]
}
      

Example: returns an error when invalid details are provided

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XPOST \
  -d '{"time_entry":{"started_at":"2020-06-23 09:17:00 UTC","ended_at":"2020-06-23 08:17:00 UTC","user_id":15929034182111,"billable":false}}' \
  https://moneybird.com/api/v2/123/time_entries
    

Response

        
          
          Status: 422 Unprocessable Entity
        
      
      {
  "error": {
    "ended_at": [
      "cannot be before the start time"
    ],
    "description": [
      "cannot be empty"
    ]
  }
}
      

Update a time entry

When updating a time entry, provide only the attributes you want to update. The other attributes will not be changed. started_at and ended_at are rounded down to full minutes when updating a time entry, with a minimum of 1 minute between them.

Parameters

Parameter Type Description
time_entry[started_at] Datetime
time_entry[ended_at] Datetime

Required.

time_entry[paused_duration] Integer

Total paused duration in seconds, is rounded down to full minutes.

time_entry[contact_id] Integer

Should be a valid contact id.

time_entry[project_id] Integer

Should be a valid project id.

time_entry[description] String
time_entry[billable] Boolean

Example: updating the time entry description

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XPATCH \
  -d '{"time_entry":{"description":"Updated description"}}' \
  https://moneybird.com/api/v2/123/time_entries/292221182490445171
    

Response

        
          
          Status: 200 OK
        
      
      {
  "id": "292221182490445171",
  "administration_id": 123,
  "contact_id": null,
  "project_id": "292221182436967793",
  "user_id": 15929034182111,
  "started_at": "2020-06-23T09:17:00.000Z",
  "ended_at": "2020-06-23T10:17:00.000Z",
  "description": "Updated description",
  "paused_duration": 0,
  "billable": true,
  "created_at": "2020-06-23T09:17:38.169Z",
  "updated_at": "2020-06-23T09:17:38.233Z",
  "contact": null,
  "detail": null,
  "user": {
    "id": 15929034182111,
    "name": "Moneybird",
    "created_at": "2020-06-23T09:10:18.464Z",
    "updated_at": "2020-06-23T09:10:19.723Z"
  },
  "project": {
    "id": "292221182436967793",
    "name": "My project name",
    "state": "active"
  },
  "events": [
    {
      "administration_id": 123,
      "user_id": 15929034182111,
      "action": "time_entry_created",
      "link_entity_id": null,
      "link_entity_type": null,
      "data": {
      },
      "created_at": "2020-06-23T09:17:38.178Z",
      "updated_at": "2020-06-23T09:17:38.178Z"
    },
    {
      "administration_id": 123,
      "user_id": 15929034182111,
      "action": "time_entry_updated",
      "link_entity_id": null,
      "link_entity_type": null,
      "data": {
      },
      "created_at": "2020-06-23T09:17:38.246Z",
      "updated_at": "2020-06-23T09:17:38.246Z"
    }
  ],
  "notes": [

  ]
}
      

Delete a time entry

Example: deletes given time entry

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XDELETE \
  -d '{}' \
  https://moneybird.com/api/v2/123/time_entries/292221182864786812.json
    

Response

Adds note to entity

Parameters

Parameter Type Description
note[note] String

Required. Text for the note or to-do.

note[todo] Boolean

If true the note is a to-do.

note[assignee_id] Integer

Assign to-do to user. Should be a valid user id.

Example: create a note

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XPOST \
  -d '{"note":{"note":"Text of the note","assignee_id":9088,"todo":true}}' \
  https://moneybird.com/api/v2/123/time_entries/292221183321965957/notes.json
    

Response

        
          
          Status: 201 Created
        
      
      {
  "id": "292221183875614087",
  "administration_id": 123,
  "entity_id": "292221183321965957",
  "entity_type": "TimeEntry",
  "user_id": 15929034182111,
  "assignee_id": 9088,
  "todo": true,
  "note": "Text of the note",
  "completed_at": null,
  "completed_by_id": null,
  "todo_type": null,
  "data": {
  },
  "created_at": "2020-06-23T09:17:39.467Z",
  "updated_at": "2020-06-23T09:17:39.467Z"
}
      

Destroys note from entity

Example: destroy a note

Request

curl -s -H "Content-Type: application/json" -H "Authorization: Bearer 84ec207ad0154a508f798e615a998ac1fd752926d00f955fb1df3e144cba44ab" \
  -XDELETE \
  -d '{}' \
  https://moneybird.com/api/v2/123/time_entries/292221184527828367/notes/292221184616957329.json
    

Response