REST-Sample-Code | Marketo REST API sample code | REST library
kandi X-RAY | REST-Sample-Code Summary
kandi X-RAY | REST-Sample-Code Summary
This repository contains language-specific directories with samples. The samples simply show how to invoke various REST API endpoints.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Add data to the specified endpoint .
- Post data to the endpoint
- Retrieve data from the market server
- Request the data from the market .
- Request access token .
- This method builds the request .
- Read a file and return it as a String .
- Entry point for testing
- Converts an array of fields into a CSV string .
- Add multipart data
REST-Sample-Code Key Features
REST-Sample-Code Examples and Code Snippets
Community Discussions
Trending Discussions on REST-Sample-Code
QUESTION
I'm creating a new application to regularly import custom object data to Marketo. In my code I am using the REST sample for importing leads that can be found here. That works just fine. But how to import custom object data in the same way - from a csv file?
I have found the SyncCustomObjects class but it is not using a csv file and I am confused. The Marketo web interface provides a way to import a csv file with custom object records.
...ANSWER
Answered 2019-Apr-14 at 18:59You can use Marketo Bulk API. /bulk/v1/customobjects/{apiName}/import.json
This imports a file containing data records into the target instance. Required Permissions: Read-Write Custom Object
More information is at, http://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#!/Bulk_CustomObjects/importCustomObjectUsingPOST
Hope this helps
Rajesh Talele
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install REST-Sample-Code
You can use REST-Sample-Code like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the REST-Sample-Code component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page