Endpoint: DatesByYear: Difference between revisions

From OdataLink
Jump to navigation Jump to search
Created page with "== Overview == The MYOB '''DatesByYear''' endpoint allows you to access a list of dates for each financial year. This endpoint is not part of the [https://deve..."
 
Ash (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==


The MYOB '''DatesByYear''' [[Endpoints|endpoint]] allows you to access a list of dates for each financial year.
The OdataLink '''DatesByYear''' [[Endpoints|endpoint]] allows you to access a list of dates for each financial year.


This endpoint is not part of the [https://developer.myob.com/api/accountright/v2 MYOB API] but specific to OdataLink to ease development.
This endpoint is not part of the [https://developer.xero.com/documentation/api/accounting/overview Xero API] or [https://developer.myob.com/api/accountright/v2 MYOB API] but specific to OdataLink to ease development.
 
The dates provided are based on the [[Default Date Range|default date range configured for your model]] or based on filters applied to some columns.




Line 47: Line 49:
:[[Endpoint: Dates|Dates]]
:[[Endpoint: Dates|Dates]]
:[[Endpoint: DatesByMonth|DatesByMonth]]
:[[Endpoint: DatesByMonth|DatesByMonth]]
== Related Topics ==
:[[Endpoints]]
:[[MYOB Endpoints]]
:[[Xero Accounting Endpoints]]

Latest revision as of 00:19, 23 March 2026

Overview

The OdataLink DatesByYear endpoint allows you to access a list of dates for each financial year.

This endpoint is not part of the Xero API or MYOB API but specific to OdataLink to ease development.

The dates provided are based on the default date range configured for your model or based on filters applied to some columns.


Fields

The following fields are available for the DatesByYear endpoint.

FinancialYear
A intger field that provides the financial year for this month.
FirstDate
A date time offset field that provides the first date of the month.
LastDate
A date time offset field that provides the last date of the month.
DisplayStrings
A record field that provides many preformatted display strings.
See DisplayStrings Fields for more information.


DisplayStrings Fields

The DisplayStrings field contains the following sub-fields.


FY-YY
A text field that provides the period index as 2 digits for the period index and 2 digits for the financial year.
e.g. 'FY 21'
FY-YYYY
A text field that provides the period index as 2 digits for the period index and 4 digits for the financial year.
e.g. 'FY 2021'


MYOB API

This endpoint is not part of the MYOB API but specific to OdataLink to ease development.


Related Endpoints

Dates
DatesByMonth


Related Topics

Endpoints
MYOB Endpoints
Xero Accounting Endpoints