Xero-OpenAPI icon indicating copy to clipboard operation
Xero-OpenAPI copied to clipboard

Date format is invalid

Open QuentinLemCode opened this issue 1 year ago • 2 comments

Hello,

The date format used in Payment object is invalid :

The OpenAPI definition defines this :

        Date:
          description: Date the payment is being made (YYYY-MM-DD) e.g. 2009-09-06
          type: string
          x-is-msdate: true

Here is what an API call gave me today :

{
  "date": "2024-09-24T00:00:00.000Z"
 }

Can you fix your backend to send plain date type or fix your OpenAPI schema please ?

QuentinLemCode avatar Sep 25 '24 17:09 QuentinLemCode

PETOSS-599

github-actions[bot] avatar Sep 25 '24 17:09 github-actions[bot]

Thanks for raising an issue, a ticket has been created to track your request

github-actions[bot] avatar Sep 25 '24 17:09 github-actions[bot]