Endpoint: Dates

From OdataLink
Revision as of 19:17, 2 September 2021 by Nic (talk | contribs) (Created page with "== Overview == The MYOB '''Currencies''' endpoint allows you to access the list of foreign currencies used in MYOB. This endpoint is not part of the [https://d...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

The MYOB Currencies endpoint allows you to access the list of foreign currencies used in MYOB.

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


Fields

The following fields are available for the Currencies endpoint.

Date
A date field that provides the date.
DatesByMonthID
A text field used as key to some other tables.
FinancialYear
A intger field that provides the financial year for this date.
FinancialMonth
A intger field that provides the financial month period for this date.
CalendarYear
A intger field that provides the calendar year for this date.
CalendarMonth
A intger field that provides the calendar month for this date.
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.


PP
A text field that provides the period index as 2 digits.
e.g. '02'
PP-MMM
A text field that provides the period index as 2 digits for the period index and 3 letters for the month.
e.g. '02-Aug'
PP-MMMM
A text field that provides the period index as 2 digits for the period index and all letters for the month.
e.g. '02-August'
PP-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. '02-21'
PP-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. '02-2021'
MM
A text field that provides the month as 2 digits.
e.g. '07'
MMM
A text field that provides the month as 3 letters.
e.g. 'Aug'
MMMM
A text field that provides the month as 4 letters.
e.g. 'August'
MM-MMM
A text field that provides the month as 2 digits and 3 letters.
e.g. '07-Aug'
MM-MMMM
A text field that provides the month as 2 digits and 4 letters.
e.g. '07-August'
MM-YY
A text field that provides the month as 2 digits for the month and 2 digits for the calendar year.
e.g. '07-21'
MM-YYYY
A text field that provides the month as 2 digits for the month and 4 digits for the calendar year.
e.g. '07-2021'
MMM-YY
A text field that provides the month as 3 letters for the month and 2 digits for the calendar year.
e.g. 'Aug-21'
MMMM-YYYY
A text field that provides the month as 4 letters for the month and 4 digits for the calendar year.
e.g. 'August-2021'


MYOB API

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


Related Endpoints

DatesByMonth
DatesByYear