Comments (3)
I believe you can handle a response in Zapier.
from espocrm.
Returning array is not right. GET sends object, POST/PUT returns object. Which is symmetrical. We'd better not to adopt APIs for specific cases. You can modify the response in Zapier action, wrapping the object into an array.
from espocrm.
Yes, indeed, it is possible to activate "code mode" in Zapier and then manipulate the return object. Here is how it works:
`const options = {
url: 'http://mycrm.com/api/v1/PurchaseOrders/6633509f45bcd12d6',
method: 'GET',
headers: {
'X-API-KEY': bundle.authData['Api-Key'],
'Accept': 'application/json',
'X-No-Total': 'true'
},
params: {
}
}
return z.request(options)
.then((response) => {
response.throwForStatus();
const result = z.JSON.parse(response.content);
return [result];
});`
from espocrm.
Related Issues (20)
- Set Database Port via Docker
- Viewing attached images in the note stream: Preview is missing a "show full-screen" option or could take more size
- Field level inline editing functionality HOT 6
- Kanban: Ability to show/hide fields HOT 1
- Navbar menu defined in metadata HOT 1
- List view does not update on many-to-many relationships HOT 10
- Emails: Import EML HOT 5
- Linking records in detail view failing after upgrade to 8.3.0 HOT 3
- Log statements do not print data in the second parameter HOT 3
- Records not related through Link One field HOT 1
- Emails: Hiding quote part HOT 1
- Emails: Error when collapsing and then expanding 'Compose Email' modal HOT 1
- Emails: Archive folder HOT 1
- Meeting/Call: List attendees in ICS file
- Lead: Ability to select existing Account when converting to Contact HOT 1
- Regular users can't see a Team's users HOT 2
- Can't install extensions with dependencies HOT 1
- Mass Email: One-click unsubscribe email headers HOT 1
- Mass Email: Unsubscribe requires click HOT 1
- Attachment-Multiple field: After edit, previous items are displayed HOT 1
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 espocrm.