Last active
March 24, 2025 05:53
-
-
Save victorabraham/0e510e79a42e8339c0ebb66086f75f59 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Use below API call to make SOAP login call. It will return a session token | |
| curl --location --request POST 'https://login.salesforce.com/services/Soap/u/49.0' \ | |
| --header 'SOAPAction: login' \ | |
| --header 'Content-Type: text/xml' \ | |
| --header 'charset: UTF-8' \ | |
| --data-raw '<?xml version="1.0" encoding="utf-8" ?> | |
| <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> | |
| <env:Body> | |
| <n1:login xmlns:n1="urn:partner.soap.sforce.com"> | |
| <n1:username>USERNAMEHERE</n1:username> | |
| <n1:password>PASSWORD+SECURITYTOKEN</n1:password> | |
| </n1:login> | |
| </env:Body> | |
| </env:Envelope>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" | |
| xmlns="urn:partner.soap.sforce.com" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <soapenv:Body> | |
| <loginResponse> | |
| <result> | |
| <metadataServerUrl>https://salesforcecodestest-dev-ed.my.salesforce.com/services/Soap/m/49.0/00D3h000007NZNL</metadataServerUrl> | |
| <passwordExpired>false</passwordExpired> | |
| <sandbox>false</sandbox> | |
| <serverUrl>https://salesforcecodestest-dev-ed.my.salesforce.com/services/Soap/u/49.0/00D3h000007NZNL</serverUrl> | |
| <sessionId>00D3h000007NZNL!ARcAQLOeKShbULku1z4e9_2J6kKPUO.GStIgWzrxz2rpMSzUIykkVqDQ5YIapg_Iz0fxX7XlVXVHRjLESJPNdsX.tmxK83H</sessionId> | |
| <userId>0053h0000031gxzAAA</userId> | |
| <userInfo> | |
| <accessibilityMode>false</accessibilityMode> | |
| <chatterExternal>false</chatterExternal> | |
| <currencySymbol>$</currencySymbol> | |
| <orgAttachmentFileSizeLimit>26214400</orgAttachmentFileSizeLimit> | |
| <orgDefaultCurrencyIsoCode>USD</orgDefaultCurrencyIsoCode> | |
| <orgDefaultCurrencyLocale>en_US</orgDefaultCurrencyLocale> | |
| <orgDisallowHtmlAttachments>false</orgDisallowHtmlAttachments> | |
| <orgHasPersonAccounts>false</orgHasPersonAccounts> | |
| <organizationId>00D3h000007NZILEA4</organizationId> | |
| <organizationMultiCurrency>false</organizationMultiCurrency> | |
| <organizationName>SalesforceCodes</organizationName> | |
| <profileId>00e3h000001hnwxAAA</profileId> | |
| <roleId xsi:nil="true"/> | |
| <sessionSecondsValid>7200</sessionSecondsValid> | |
| <userDefaultCurrencyIsoCode xsi:nil="true"/> | |
| <userEmail>salesforcecodestest@gmail.com</userEmail> | |
| <userFullName>SalesforceCodes</userFullName> | |
| <userId>0053h0000031gxzAAA</userId> | |
| <userLanguage>en_US</userLanguage> | |
| <userLocale>en_US</userLocale> | |
| <userName>salesforcecodestest@grace.com</userName> | |
| <userTimeZone>America/Los_Angeles</userTimeZone> | |
| <userType>Standard</userType> | |
| <userUiSkin>Theme3</userUiSkin> | |
| </userInfo> | |
| </result> | |
| </loginResponse> | |
| </soapenv:Body> | |
| </soapenv:Envelope> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment