Comments (4)
I'll try to whip up a start for the documentation later this week. I think we should probably highlight the following in order:
- Point out that the properties of all models relate to the fields available in the API (but some API's may have restrictions to the field usage, reference API)
- Show an example of selecting the appropriate fields using the Select method, using both multiple params and multiple Select calls
- Examples using Where/And methods
- Since each operator is only applicable to certain data types, it might be worth highlighting the possible combinations (or at the very least, the important ones!)
- Advanced functions (trim, substring, etc). We should probably point out that at this time only string functions are supported (Contains, EndsWith, StartsWith, IndexOf, Substring, ToLower, ToUpper, Trim, Concat). Also I just noticed (while skimming over the OData specifications) that there is a function "Length" which the library currently doesn't support. DateTime, Math, Type and Geo functions are also not implemented (yet) at this time. I reckon we will want to support all Date/Math/Type functions at some point, and forsace the Geo functions? Might be worth making a note on this point as well.
- Example of using SortBy
I think this should cover everything?
from exactonline-api-dotnet-client.
Sounds good.
Advanced functions (trim, substring, etc).
I don't recommend using such functions. For some of them there is a significant performance price so at some point they may not be supported anymore or only very limited.
from exactonline-api-dotnet-client.
I haven't used all aspects of the API extensively yet, but I did run into the issue of having to trim the Account.Code in the where search due to the field being fixed width (which is one of the reasons I added the support for it in the first place). Perhaps this case should be mentioned?
from exactonline-api-dotnet-client.
For account code you can also consider padding it with spaces if you have to use it in a where clause. The Code property in the Account model already has a remark mentioning this issue. Unfortunately the intellisense doesn't show the remark in the editor right now but I think we can fix that the next time we regenerate all the models.
from exactonline-api-dotnet-client.
Related Issues (20)
- Unassign Bank Accounts from Supplier
- Successful lookup depending on administration open in EOL HOT 3
- The Parsing is horribly slow: with solution HOT 5
- Inserting an AcceptQuotation results in ExactOnline.Client.Sdk.Exceptions.IncorrectJsonException
- "Memoriaalboeking" aanmaken HOT 1
- Error detection too broad
- Make this a netstandard20 compatible project HOT 1
- Nuget package is outdated HOT 1
- Connecting HOT 2
- The request was aborted: Could not create SSL/TLS secure channel HOT 11
- WARNING: This repository contains serious bugs and is unmaintained HOT 1
- Entity identifier value not found HOT 1
- AccessTokenDelegate async HOT 1
- OAuth2 automatic retrieval. Does anyone see my mistake? HOT 26
- Provide skiptoken usage in the readme
- Error: Failed to execute the ExtractVariables: ExtractAccessToken HOT 16
- Unable to download
- UnauthorizedException when waiting too long
- Implement missing bulk endpoints HOT 3
- Authentication only lasting 3 days
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 exactonline-api-dotnet-client.