Comments (7)
I had this issue at first and applied the above solution which gave me what I wanted, but limit does not work.
I've tried this:
const result = await hubspotClient.crm.deals.getAll(2, "0", ['dealName', 'amount', 'address']);
It returns all of the deals. I don't want all the deals, but just two.
from hubspot-api-nodejs.
Hi, @Krulaks! I'd update your request to:
const result = await hubspotClient.crm.contacts.getAll(null, "0", properties);
from hubspot-api-nodejs.
hey @javonclarke use the deals.basicApi.getPage
function
from hubspot-api-nodejs.
@sushovan-mryum I'm using basicApi.getPage
but it throws HTTP Request Failed error. Any idea?
const {response} = await client.crm[obj].basicApi.getPage(1, '0', properties);
from hubspot-api-nodejs.
Hey, I know it's a little off topic but I can't get single contact without using getById function. I want to get a contact based on the email field but can't find any methods to do that.
from hubspot-api-nodejs.
Hey, I know it's a little off topic but I can't get single contact without using getById function. I want to get a contact based on the email field but can't find any methods to do that.
Hi @RUPAAK .
Workable example:
hubspotClient.crm.contacts.basicApi.getById('[email protected]', undefined, undefined, undefined, undefined, 'email')
The SDK version 8.4.1 .
from hubspot-api-nodejs.
@sushovan-mryum I'm using
basicApi.getPage
but it throws HTTP Request Failed error. Any idea?
const {response} = await client.crm[obj].basicApi.getPage(1, '0', properties);
Hi @HenonoaH .
if it still actual please create a new Issue and add more details.
For me it works correctly.
const contact = await hubspotClient.crm.contacts.basicApi.getPage(1, '0', properties);
from hubspot-api-nodejs.
Related Issues (20)
- No idea how to use the updated `SimplePublicObjectInputForCreate` HOT 3
- Retry mechanism logs error messages for status codes. HOT 2
- No timeout on requests HOT 1
- Are CRM object IDs numbers or strings? HOT 4
- Interface error on TimelineEventTemplateToken, options field must be required only if type === enumeration HOT 1
- How set an http proxy for hubspot api calls? HOT 1
- [BUG] Wrong type for HubDbTableRowV3BatchUpdateRequest 'id' property, should be string instead of number HOT 1
- TypeError: source.on is not a function, when uploading File HOT 1
- TypeError: url_1.URL is not a constructor HOT 2
- Does this module abstract away batching and pagination?
- Missing Notes endpoint HOT 3
- Question | How to get all notes for a specific deal with the info (property) which deal is pinned HOT 8
- Support for Account Informatio API
- What are the best limiter settings for TEN_SECONDLY_ROLLING HOT 3
- Submit Form data? HOT 6
- Several Import errors : Error: ENOENT: no such file or directory, open '/node_modules/@hubspot/api-client/src/discovery/settings/users/UsersDiscovery.ts' HOT 5
- Can `associations` in creation request be optional? HOT 1
- `crm.objects.basicApi.getById` always throws exception on 404 HOT 10
- Functions API is missing the POST_ACTION_EXECUTION on type definition HOT 2
- Automation functions API createOrReplaceByFunctionType doesn't works HOT 2
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 hubspot-api-nodejs.