Skip to main content

Create Record Using SOAP API In Postman

Here I’ll show you one by one step.

First, create a new tab. select post method. Enter the URL. ‘https://EnteryourclassicorgURL/services/Soap/c/49.0

Enter your classic org url

second, pass parameter in Header.

pass parameter in Header

Third, click on body select Raw and choose XML

Select row in Body

Now add this code in the Body section. Add your org session Id. and click on send button.

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:urn="urn:enterprise.soap.sforce.com"
xmlns:urn1="urn:sobject.enterprise.soap.sforce.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soapenv:Header>
    <urn:SessionHeader>
        <urn:sessionId>*Add your org Session Id*</urn:sessionId>
    </urn:SessionHeader>
    <urn:MruHeader>
        <urn:updateMru>false</urn:updateMru>
    </urn:MruHeader>
  </soapenv:Header>
  <soapenv:Body>
    <urn:create>
        <urn:sObjects xsi:type="urn1:Student__c">
            <Student_Name__c>NR Test</Student_Name__c>
            <Phone_Number__c>2222222222</Phone_Number__c>
            <Address__c> Test NR </Address__c>
            <School__c>a0F8a00001VgnABEAZ</School__c>
        </urn:sObjects>
    </urn:create>  
  </soapenv:Body>
</soapenv:Envelope>

Now your student record is created.

Student Record created

Thank you!! I hope this information is helpful for you.

 

Subscribe For More Updates

 

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!