Skip to content
This repository has been archived by the owner on Dec 6, 2019. It is now read-only.

Payroll API #36

Open
khazamov opened this issue Jun 15, 2016 · 4 comments
Open

Payroll API #36

khazamov opened this issue Jun 15, 2016 · 4 comments

Comments

@khazamov
Copy link

Are there any available schemas for payroll API's, and if not is there a foreseeable plan to have them in place in the near future?

@pkrajanand
Copy link

@khazamov Just want to check if you did come across any other way to get hold of the schemas for Payroll APIs?

@SidneyAllen
Copy link

@pkrajanand - we have moved on from XSD schemas to OpenAPI spec 3.0

https://github.com/XeroAPI/Xero-OpenAPI

We don't have a payroll spec yet, but should have them by the end of the year. Our new SDKs are being built using these new specs.

@pkrajanand
Copy link

Thanks for your response. Great to know that Payroll spec is going to be out with OpenAPI spec 3.0 by year-end. However, as we are currently using Payroll API 1.0, is there any way you can share the Response XSD schema that you(XERO) used for Employees and SuperFunds endpoint development? That will help us to move forward until year-end.

I could have generated the XSD from the sample response from https://app.xero.com/Preview/payroll/Employees endpoint. But as you know, that response wouldn't have the full-coverage, as it's generated based on the sample data exists in the XERO demo organization.

Thanks for your time, again.

@SidneyAllen
Copy link

Hi @pkrajanand

I wish I could help with your request, but these XSD files are not generated but have been hand crafted over the past 9 years.

There are a lot of big changes coming this year. OAuth 2 is a major one and with that new SDKs that will be generated off our OpenAPISpec. This is a massive undertaking and will be taking up all our time.

We are moving on from XML to JSON and no longer working on XSD files. You are welcome to fork this repo and modify as you see fit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants