Master Salesforce API Integration with Platform API Superbadge!

  Рет қаралды 2,784

AnkitKPunjabi

AnkitKPunjabi

Күн бұрын

*****Guys important note - there is one issue i have found in my video that JSON which i am putting is wrong please refer pinned comment section*******
Unlock the power of Salesforce API integration! In this video, I demonstrate the skills needed to earn the Salesforce Platform API Superbadge. Learn how to:
Ingest records using Bulk API 2.0
Execute REST API requests efficiently
Optimize complex data processes with Composite REST API
Perfect for developers looking to enhance their Salesforce integration skills. Don't forget to like, subscribe, and hit the bell icon for more Salesforce tutorials!"
Badges Description (100 characters each):
Bulk API: Efficiently load large data volumes.
Composite REST API: Execute multiple operations in one call.

Пікірлер: 106
@AnkitKPunjabi
@AnkitKPunjabi Ай бұрын
******************IMPORTENT POINT TO **************************** If you stuck please delete all job and create new job with below json. 1. Create Job { "object": "Lead", "operation": "insert", "contentType":"CSV", "lineEnding" : "LF" } 2. Upload CSV 3. Update State of job - 3API in Collection (Abort or Close Job) run that { "state":"UploadComplete" } Then your job will go in in-progress state
@rutujayewale8872
@rutujayewale8872 Ай бұрын
It worked after closing the job. Thank you !!
@saanskritdoubt1303
@saanskritdoubt1303 Ай бұрын
@@rutujayewale8872 Challenge 2 completed?
@star77670
@star77670 Ай бұрын
@@rutujayewale8872 can you pls tell me in more detailed , I was unable to do
@star77670
@star77670 Ай бұрын
. Update State of job - 3API in Collection (Abort or Close Job) run that what does this mean ? can you pls help its been 3 days bro pls help i gave admin access to you pls check bro
@star77670
@star77670 Ай бұрын
finally worked bro
@JeeRaay
@JeeRaay 3 күн бұрын
That celebration at the end tho 🎉 Ty ty
@SurajTandalwade-s9i
@SurajTandalwade-s9i 12 күн бұрын
@AnkitKPunjabi Can you please post json for challenge 2
@AnkitKPunjabi
@AnkitKPunjabi 22 сағат бұрын
it there already in chats
@snehatekriwal4574
@snehatekriwal4574 Ай бұрын
Can you please provide the code for challenge 2
@asmrrrrrrrrrrrrrrelaxsingg5140
@asmrrrrrrrrrrrrrrelaxsingg5140 7 күн бұрын
bro faciing one issue, my create job is working fine but when loading the file getting this error, [ { "errorCode": "API_ERROR", "message": "Unexpected character ('C' (code 67)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [line:1, column:2]" } ] I checked every where but unable to sort it
@AnkitKPunjabi
@AnkitKPunjabi 7 күн бұрын
@@asmrrrrrrrrrrrrrrelaxsingg5140 file you upload it got corrupted its seems
@asmrrrrrrrrrrrrrrelaxsingg5140
@asmrrrrrrrrrrrrrrelaxsingg5140 7 күн бұрын
@@AnkitKPunjabi bhai tried everything still the same issue m getting, anyother way to upload the csv file
@SupriyaKasukurthi
@SupriyaKasukurthi Ай бұрын
I followed all the steps as mentioned, but still getting this error "Challenge Not yet complete... here's what's wrong: The bulk data load job submitted by the Integration User isn't complete. Make sure the job has successfully completed." and in the Bulk Data Load Jobs also the job is not reflecting
@AnkitKPunjabi
@AnkitKPunjabi Ай бұрын
You need to make sure your bulk job get status - completed after that only you should test you challenge
@AnkitKPunjabi
@AnkitKPunjabi Ай бұрын
If you stuck please delete all job and create new job with below json. 1. Create Job { "object": "Lead", "operation": "insert", "contentType":"CSV", "lineEnding" : "LF" } 2. Upload CSV 3. Update State of job - 3API in Collection (Abort or Close Job) run that { "state":"UploadComplete" } Then your job will go in in-progress state
@ajaychoudhary-m7t
@ajaychoudhary-m7t Ай бұрын
I am still stuck at step 2, it is throwing the error We can't find the expected contact and related opportunity records. Make sure the API call is made by the Integration User. I even created OpportunityContactRole, I am trying to solve this before watching your video, but still no luck after watching your video.
@AnkitKPunjabi
@AnkitKPunjabi Ай бұрын
@@ajaychoudhary-m7t you need to authorise org with integration user unless it won’t pass
@AnkitKPunjabi
@AnkitKPunjabi Ай бұрын
Make sure contact created by is Integration User. If it coming created by your name then it will fail
@ajaychoudhary-m7t
@ajaychoudhary-m7t Ай бұрын
@@AnkitKPunjabi Solved it, I was creating OpportunityContactRole explicitly in the api request instead of setting contactId on opportunity.
@asadshaikh1961
@asadshaikh1961 Ай бұрын
I am getting tis error "ClientInputError : LineEnding is invalid on user data. Current LineEnding setting is CRLF" why is to so I performed each step which was given by you
@AnkitKPunjabi
@AnkitKPunjabi Ай бұрын
@@asadshaikh1961 i have attached correct json in my comment section
@supriyakasukurthi7169
@supriyakasukurthi7169 Ай бұрын
Thank you. It's working. Pls upload plaform Events superbadge unit
@AnkitKPunjabi
@AnkitKPunjabi Ай бұрын
As soon as possible
@star77670
@star77670 Ай бұрын
After uploading Csv file , I’m getting 201 response. Job was created , but it always staying in open not progressing ? I’m struck at here what should I do . Please help me Even I waited for 30mins after upload CsV file still status was in open
@AnkitKPunjabi
@AnkitKPunjabi Ай бұрын
@@star77670 add me your org
@star77670
@star77670 Ай бұрын
@@AnkitKPunjabi bro I have created user for you, can u pls check
@star77670
@star77670 Ай бұрын
@@AnkitKPunjabiI have created user for you , can u pls check
@user-cw1nc8xz8q
@user-cw1nc8xz8q 25 күн бұрын
I followed the video, but in Challenge 2, I receive this message: (Challenge Not yet complete... here's what's wrong: We can't find the expected contact record with its related task record.) The Opportunity, Case, and Task are all linked to the Contact. How can I resolve this?
@AnkitKPunjabi
@AnkitKPunjabi 25 күн бұрын
@@user-cw1nc8xz8q there might issue with composite api JSON
@user-cw1nc8xz8q
@user-cw1nc8xz8q 25 күн бұрын
@@AnkitKPunjabi { "method" : "POST", "url" : "/services/data/v61.0/sobjects/Task", "referenceId" : "newTask2", "body" : { "Subject": "Learning Resource", "Priority": "Normal", "WhoId": "@{newContact.id}", "Status": "Not Started" } }, { "method" : "POST", "referenceId" : "newCase", "url" : "/services/data/v61.0/sobjects/Case", "body" : { "Subject" : "Class Survey", "Priority": "Low", "Status": "New", "ContactId": "@{newContact.id}" } } ] }
@kirtinagare223
@kirtinagare223 18 күн бұрын
The JSON is - { "allOrNone": true, "compositeRequest": [ { "method": "POST", "url": "/services/data/v61.0/sobjects/Contact", "referenceId": "newContact", "body": { "FirstName": "Emily", "LastName": "Cloudshine" } }, { "method": "POST", "url": "/services/data/v61.0/sobjects/Opportunity", "referenceId": "newOpportunity", "body": { "Name": "Advanced Training", "StageName": "Prospecting", "CloseDate": "2024-12-31", // Replace with desired close date "ContactId": "@{newContact.id}" } }, { "method": "POST", "url": "/services/data/v61.0/sobjects/Task", "referenceId": "newTask1", "body": { "Subject": "Initial Follow-up", "Priority": "High", "Status": "Not Started", "WhoId": "@{newContact.id}", "WhatId": "@{newOpportunity.id}" } }, { "method": "POST", "url": "/services/data/v61.0/sobjects/Task", "referenceId": "newTask2", "body": { "Subject": "Learning Resources", "Priority": "Normal", "Status": "Not Started", "WhoId": "@{newContact.id}" } }, { "method": "POST", "url": "/services/data/v61.0/sobjects/Case", "referenceId": "newCase", "body": { "Subject": "Class Survey", "Priority": "Low", "Status": "New", "ContactId": "@{newContact.id}" } } ] }
@-GTarunkumarPeela
@-GTarunkumarPeela Ай бұрын
please upload Platform Events Superbadge Unit
@AnkitKPunjabi
@AnkitKPunjabi Ай бұрын
@@-GTarunkumarPeela i have uploaded challenge 1
@sheelambhavani1943
@sheelambhavani1943 9 күн бұрын
Please confirm me what is the password need to give while signing into the integration user
@manishjangra5585
@manishjangra5585 10 күн бұрын
Please use data loader with bulk api 2.0 and use the integration user to upload the data this will successfully complete the challenge 1
@asmrrrrrrrrrrrrrrelaxsingg5140
@asmrrrrrrrrrrrrrrelaxsingg5140 7 күн бұрын
Not working, data can uplaod but challenge cannot be completed
@manishjangra5585
@manishjangra5585 7 күн бұрын
@@asmrrrrrrrrrrrrrrelaxsingg5140 it works for me I had done like this only…
@LokeshKumar-mx9hv
@LokeshKumar-mx9hv 12 күн бұрын
In challenge one If job get stuck in queue Activate all leadSource picklist values then uplode the job
@AnkitKPunjabi
@AnkitKPunjabi 11 күн бұрын
@@LokeshKumar-mx9hv no as i remember i have not done anything like that
@sheelambhavani1943
@sheelambhavani1943 10 күн бұрын
When I try to authorize I’m not able to please help me with this
@AnkitKPunjabi
@AnkitKPunjabi 10 күн бұрын
@@sheelambhavani1943 what do you mean by authorise you mean via integration user?
@sheelambhavani1943
@sheelambhavani1943 10 күн бұрын
Yes when I try to authorize with integration user I’m not able to sign in. Tried giving the password as org password and the question answer which is asking when we resetting the password. Both I tried but unable to sign in
@sheelambhavani1943
@sheelambhavani1943 4 күн бұрын
@@AnkitKPunjabi please help me with this
@star77670
@star77670 Ай бұрын
bro where can i find 2nd module postman BODY ? can u pls send me that body to call
@pratikrane6060
@pratikrane6060 Ай бұрын
have you found the body?
@asadshaikh1961
@asadshaikh1961 Ай бұрын
Please post the json format as well
@AnkitKPunjabi
@AnkitKPunjabi Ай бұрын
{ "object": "Lead", "operation": "insert", "contentType":"CSV", "lineEnding" : "LF" } This is the one dude, its already there. While Creating Job use above JSON
@snehatekriwal4574
@snehatekriwal4574 Ай бұрын
@ankitpunjabi can you please provide the postman code in message so that we can copy because the code is not working for challenge 2
@AnkitKPunjabi
@AnkitKPunjabi Ай бұрын
Sure sure i will i think i missed your old message
@snehatekriwal4574
@snehatekriwal4574 Ай бұрын
​@@AnkitKPunjabi yes please help me out I am stuck in challenge 2
@snehatekriwal4574
@snehatekriwal4574 Ай бұрын
​@@AnkitKPunjabi I am also stuck in the platform event challenge 1 for that postman code getting error as { "Error code ": "Not found" The requested resource does not exist
@AnkitKPunjabi
@AnkitKPunjabi Ай бұрын
@@snehatekriwal4574 { "allOrNone": true, "compositeRequest": [ { "method": "POST", "url": "/services/data/v61.0/sobjects/Account", "referenceId": "newAccount", "body": { "Name": "Maverick" } }, { "method": "POST", "url": "/services/data/v61.0/sobjects/Contact", "referenceId": "newContact", "body": { "FirstName": "Olivia", "LastName": "Cloudwalker", "Email": "olivia.cloudwalker@example.com", "AccountId": "@{newAccount.id}" } }, { "method": "POST", "url": "/services/data/v61.0/sobjects/Case", "referenceId": "newCase", "body": { "Subject": "Lightning Registration", "Origin": "Web", "Reason": "Installation", "Priority": "High", "Status": "New", "ContactId": "@{newContact.id}", "AccountId": "@{newAccount.id}" } }, { "method": "POST", "url": "/services/data/v61.0/sobjects/Opportunity", "referenceId": "newOpportunity", "body": { "Name": "Range Extenders", "StageName": "Prospecting", "CloseDate": "2024-12-31", // Replace with desired close date "AccountId": "@{newAccount.id}" } }, { "method": "POST", "url": "/services/data/v61.0/sobjects/Contract", "referenceId": "newContract", "body": { "AccountId": "@{newAccount.id}", "ContractTerm": 12, "StartDate": "2024-01-01", // Replace with desired start date "Status": "Draft", "CustomerSignedId": "@{newContact.id}", "Name": "SkyCheck" } }, { "method": "PATCH", "url": "/services/data/v61.0/sobjects/Contract/@{newContract.id}", "referenceId": "activateContract", "body": { "Status": "Activated" } } ] }
@AnkitKPunjabi
@AnkitKPunjabi Ай бұрын
@@snehatekriwal4574 { "allOrNone": true, "compositeRequest": [ { "method": "POST", "url": "/services/data/v61.0/sobjects/Contact", "referenceId": "newContact", "body": { "FirstName": "Olivia", "LastName": "Cloudwalker", "Email": "olivia.cloudwalker@example.com" //"AccountId": "@{newAccount.id}" } }, { "method": "POST", "url": "/services/data/v61.0/sobjects/Case", "referenceId": "newCase", "body": { "Subject": "Lightning Registration", "Origin": "Web", "Reason": "Installation", "Priority": "High", "Status": "New", "ContactId": "@{newContact.id}" //"AccountId": "@{newAccount.id}" } }, { "method": "POST", "url": "/services/data/v61.0/sobjects/Opportunity", "referenceId": "newOpportunity", "body": { "Name": "Range Extenders", "StageName": "Prospecting", "CloseDate": "2024-12-31" // Replace with desired close date //"AccountId": "@{newAccount.id}" } }, { "method": "POST", "url": "/services/data/v61.0/sobjects/Contract", "referenceId": "newContract", "body": { //"AccountId": "@{newAccount.id}", "ContractTerm": 12, "StartDate": "2024-01-01", // Replace with desired start date "Status": "Draft", //"SignedById": "@{newContact.id}", "Name": "SkyCheck" } }, { "method": "PATCH", "url": "/services/data/vXX.X/sobjects/Contract/@{newContract.id}", "referenceId": "activateContract", "body": { "Status": "Activated" } } ] }
@shruthireddy6054
@shruthireddy6054 Ай бұрын
Please upload apex web services superbadge unit
@AnkitKPunjabi
@AnkitKPunjabi Ай бұрын
github.com/LogicLuminaryy/Apex-Web-Services-Superbadge-Unit
@rbmacadamy7695
@rbmacadamy7695 Ай бұрын
@@AnkitKPunjabi Please help with : Apex Callouts Superbadge Unit
@rutujayewale8872
@rutujayewale8872 Ай бұрын
In my case the job is getting queued and not processing anything. Can you help me on this ?
@AnkitKPunjabi
@AnkitKPunjabi Ай бұрын
@@rutujayewale8872 you need to wait for sometime for job to get completed. And make sure your no other job is running
@rutujayewale8872
@rutujayewale8872 Ай бұрын
@@AnkitKPunjabi waited for 1hr and there is no other job is running. I am doing it from postman browser. Should i try with desktop app..?
@user-nr2wj2xi9b
@user-nr2wj2xi9b Ай бұрын
Is your issue got resolved? I am facing same issue my job is in queue from more than 2 hrs and its still in queue
@AnkitKPunjabi
@AnkitKPunjabi Ай бұрын
@@user-nr2wj2xi9b if that doest not solve try to create new org
@AnkitKPunjabi
@AnkitKPunjabi Ай бұрын
@@rutujayewale8872 if with new org you face issue let me know - you can add me in your org then i will take look.
Platform Events Superbadge Unit | Challenge 1 | Solution
31:49
Salesforce ThunderBird
Рет қаралды 557
Elon Musk fires employees in twitter meeting DUB
1:58
GeoMFilms
Рет қаралды 15 МЛН
Underwater Challenge 😱
00:37
Topper Guild
Рет қаралды 46 МЛН
Dad Makes Daughter Clean Up Spilled Chips #shorts
00:16
Fabiosa Stories
Рет қаралды 7 МЛН
PEDRO PEDRO INSIDEOUT
00:10
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 25 МЛН
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 18 МЛН
Creating and Updating Records in Bulk using Postman with CSV File | REST API
13:52
Oracle Cloud SunilKumar Vlogs
Рет қаралды 20 М.
Introducing AKS Automatic
9:28
Azure Kubernetes Service (AKS)
Рет қаралды 1,8 М.
Part 1: Platform Events In Salesforce #salesforce  #integration #platformEvents
37:08
Excellent DevOps Cloud Engineer Live Interview
32:21
DevOps and Cloud Labs
Рет қаралды 87 М.
Use SOAP API  || Platform API Basics
18:17
salesforce buddy
Рет қаралды 1,7 М.
Underwater Challenge 😱
00:37
Topper Guild
Рет қаралды 46 МЛН