Endpoint: Dates: Difference between revisions
No edit summary |
mNo edit summary |
||
| (8 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
The | The OdataLink '''Dates''' [[Endpoints|endpoint]] allows you to access a list of dates. | ||
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. | |||
== Fields == | == Fields == | ||
The following fields are available for the | The following fields are available for the Dates endpoint. | ||
;Date | ;Date | ||
| Line 14: | Line 16: | ||
;DatesByMonthID | ;DatesByMonthID | ||
:A [[Field Type: Text|text field]] used to link to the [[Endpoint: | :A [[Field Type: Text|text field]] used to link to the [[Endpoint: DatesByMonth|DatesByMonth]] endpoint. | ||
;FinancialYear | ;FinancialYear | ||
| Line 60: | Line 62: | ||
;MM | ;MM | ||
:A [[Field Type: Text|text field]] that provides the month as 2 digits. | :A [[Field Type: Text|text field]] that provides the month as 2 digits. | ||
:e.g. ' | :e.g. '08' | ||
;MMM | ;MMM | ||
| Line 72: | Line 74: | ||
;MM-MMM | ;MM-MMM | ||
:A [[Field Type: Text|text field]] that provides the month as 2 digits and 3 letters. | :A [[Field Type: Text|text field]] that provides the month as 2 digits and 3 letters. | ||
:e.g. ' | :e.g. '08-Aug' | ||
;MM-MMMM | ;MM-MMMM | ||
:A [[Field Type: Text|text field]] that provides the month as 2 digits and 4 letters. | :A [[Field Type: Text|text field]] that provides the month as 2 digits and 4 letters. | ||
:e.g. ' | :e.g. '08-August' | ||
;MM-YY | ;MM-YY | ||
:A [[Field Type: Text|text field]] that provides the month as 2 digits for the month and 2 digits for the calendar year. | :A [[Field Type: Text|text field]] that provides the month as 2 digits for the month and 2 digits for the calendar year. | ||
:e.g. ' | :e.g. '08-21' | ||
;MM-YYYY | ;MM-YYYY | ||
:A [[Field Type: Text|text field]] that provides the month as 2 digits for the month and 4 digits for the calendar year. | :A [[Field Type: Text|text field]] that provides the month as 2 digits for the month and 4 digits for the calendar year. | ||
:e.g. ' | :e.g. '08-2021' | ||
;MMM-YY | ;MMM-YY | ||
| Line 104: | Line 106: | ||
:[[Endpoint: DatesByMonth|DatesByMonth]] | :[[Endpoint: DatesByMonth|DatesByMonth]] | ||
:[[Endpoint: DatesByYear|DatesByYear]] | :[[Endpoint: DatesByYear|DatesByYear]] | ||
== Related Topics == | |||
:[[Endpoints]] | |||
:[[MYOB Endpoints]] | |||
:[[Xero Accounting Endpoints]] | |||