Comments (4)
I've committed a fix for #41. I'll release a new build in a few minutes.
from harvest.net.
See issue #41. Currently we use string comparison on description to deserialize enums. Harvest seems to like to change the descriptions of the currency values.
Can you send me a sample response with AUD to confirm this is the issue?
from harvest.net.
Thanks for that! Here's an example of the data returned via Postman.
Anytime any client is stored in AUD, it will cause the wrapper to return a null object on getClients().
[
{
"client": {
"id": XXXXXXX,
"name": "Test Client",
"active": true,
"currency": "United States Dollar - USD",
"highrise_id": null,
"updated_at": "2016-12-07T11:19:38Z",
"created_at": "2016-12-07T10:45:29Z",
"statement_key": "3c8d77c01213935b8b66579e9fe31fce",
"default_invoice_kind": null,
"default_invoice_timeframe": null,
"address": "",
"cache_version": 3852294862,
"currency_symbol": "$",
"details": "",
"last_invoice_kind": null
}
},
{
"client": {
"id": XXXXXXX,
"name": "Test Client 2",
"active": true,
"currency": "Euro - EUR",
"highrise_id": null,
"updated_at": "2016-12-07T11:30:52Z",
"created_at": "2016-12-07T11:30:52Z",
"statement_key": "0e89949a5f3a8ff8ce04fc4fe35450a8",
"default_invoice_kind": null,
"default_invoice_timeframe": null,
"address": null,
"cache_version": 2551533894,
"currency_symbol": "€",
"details": null,
"last_invoice_kind": null
}
},
{
"client": {
"id": XXXXXXX,
"name": "Test Client 3",
"active": true,
"currency": "Australian Dollar - AUD",
"highrise_id": null,
"updated_at": "2016-12-07T22:18:01Z",
"created_at": "2016-12-07T11:32:46Z",
"statement_key": "b6c64fb061d967d6055da58c9ee8e266",
"default_invoice_kind": null,
"default_invoice_timeframe": null,
"address": "",
"cache_version": 3049235833,
"currency_symbol": "$",
"details": "",
"last_invoice_kind": null
}
}
]
from harvest.net.
Looks like they've changed it from Australia Dollar - AUD to Australian Dollar - AUD
from harvest.net.
Related Issues (20)
- .ListProjects() returning null HOT 2
- NuGet package is not signed HOT 3
- Async Support HOT 8
- Currency Updated HOT 1
- Currency field in Invoice HOT 10
- Update DailyOptions Model HOT 1
- Throw a HarvestException for any 4xx or 5xx HTTP status code HOT 2
- C# 6 support? HOT 2
- Getting Data in Postman, but not in c# Code HOT 8
- Add Resource methods to IHarvestRestClient to allow for Mocking of HarvestRestClient for testing. HOT 1
- .net core support HOT 11
- .ListExpenses() returning empty list HOT 1
- .ListProjects() Returning null
- Creating payments using OAuth2 results in a 500 HOT 1
- Weekly Capacity not returned by ListUsers HOT 1
- Listing invoice with only "from" parameter returns incorrect results HOT 1
- project.ListTaskAssignments returns null
- supporting Harvest API V2 HOT 11
- .ListContacts returning null
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from harvest.net.