OData API
Deep Links for URL to SAP Sales Cloud Objects
This subchapter deals with the topic of deep links, which has nothing directly to do with the OData API interface, but is nevertheless very interesting if you want to link objects from SAP Sales Cloud only with the ID
Navigation for OData API
1. Test SAP Sales Cloud OData API with Postman 1.1. OData 1.2. Postman 2. GET Requests 2.1. SAP Sales Cloud Object Collections 2.2 Metadata 2.2.1. Principle 2.2.2. Attributes 2.2.3. SAP-Attributes 2.3. Work with Parameters 2.3.1. Filter 2.3.2. Work with Dates and Datetimes 2.3.3. Orderby 2.3.4. Top 2.3.5. Skip 2.3.6. Format 2.3.7. Select 2.3.8. Count 2.3.9. Inlinecount 2.3.10. Expand 2.4. Examples of GET Requests 2.5. Build OData Queries for Reports 3. X-CSRF-Token 4. POST Request for creating 4.1. Single POST Request 4.2. Create multiple entries with $batch 5. PATCH Request for updating 5.1. Single PATCH Request 5.2. Change multiple entries with $batch 6. DELETE Requests 7. OData Monitor 8. OData Service Explorer 9. Enable customized fields for the API interface 10. Connect Mircosoft Power BI® with SAP Sales Cloud API 11. Deep Links for URL to SAP Sales Cloud Objects
In case you are using Single Sign On (SSO) then you have to add the following parameter to the shown syntax: &OBNRedirect=X. and after the URL parameter ###### add -sso. This results in the following link:
You will find in following table the object keys for different objects:
SAP Sales Cloud Object
Technical key for Deep Link
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#AccountID#¶m.Type=COD_ACCOUNT_TT&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#ContactID#¶m.Type=COD_CONTACT_TT&sapbyd-agent=TAB
COD_COMPETIT_TT
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#CompetitorID#¶m.Type=COD_COMPETIT_TT&sapbyd-agent=TAB
Partner
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#PartnerID#¶m.Type=COD_PARTNER_TT&sapbyd-agent=TAB
Partner Contact
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#PartnerContactID#¶m.Type=COD_PARTNERCONTACT_TT&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#BusinessPartnerID#¶m.Type=COD_EMPLOYEES&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#OpportunityID#¶m.Type=COD_OPPORTUNITY_THINGTYPE&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#SalesQuoteID#¶m.Type=COD_QUOTE_TT&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#SalesOrderID#¶m.Type=COD_SALESORDER_TT&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#ProductID#¶m.Type=COD_MATERIAL&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#AppointmentID#¶m.Type=COD_APPOINTMENT&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#AssignmentID#¶m.Type=COD_ASSIGNMENT_TT&sapbyd-agent=TAB
Phone call
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect&Param.InternalID=#PhoneCallID#¶m.Type=COD_PHONECALL&sapbyd-agent=TAB
COD_TASK
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#TaskID#¶m.Type=COD_TASK&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#EmailID#¶m.Type=COD_EMAIL&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#VisitID#¶m.Type=COD_VISIT_TT&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#SalesLeadID#¶m.Type=COD_MARKETINGLEAD&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#LeadID#¶m.Type=COD_MKT_PROSPECT&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#TicketID#¶m.Type=COD_SRQ_AGENT_TT&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#WarrantyID#¶m.Type=COD_WARRANTY_TT&sapbyd-agent=TAB
COD_IPOINT__TT
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#InstallationPointID#¶m.Type=COD_IPOINT__TT&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#InstalledBaseID#¶m.Type=COD_IBASE_TT&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#RegisteredProductID#¶m.Type=COD_REGISTERED_PRODUCT_TT&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#CampaignID#¶m.Type=COD_CAMPAIGN&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#TargetGroupID#¶m.Type=COD_TARGETGROUP.TT&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#DealID#¶m.Type=COD_DEALREG_TT&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#ProductListID#¶m.Type=COD_PRODUCTLIST_TT&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#OrgID#¶m.Type=COD_ORGUNIT_TT&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#ContractID#¶m.Type=CONTRACT_TT&sapbyd-agent=TAB
https://my######.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#ContractAccountID#¶m.Type=COD_CONTRACTACCOUNT_TT.TT&sapbyd-agent=TAB
The Customer Experience team at Camelot ITLab deals with exciting and challenging CRM related topics every day and serves a large portfolio of different customers from a wide range of industries. Trust in this collaboration and feel free to contact us at tlil@camelot-itlab.com.
Was this article helpful?
If you like our content we would highly appreciate your review on Trustpilot
#SAP C4C #SAP Cloud 4 Customer #Cloud 4 Customer #Cloud for Customer #SAP Sales Cloud #Sales Cloud #OData #API #DeepLinks