{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"CCM User Association Service","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":true,"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"ccm-user-association-service","__idx":0},"children":["CCM User Association Service"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["User association API can be used to retrieve all the data partitions that a user has access to."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["API response includes information related to the data partition(s) that are associated to the user such as-"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"b","attributes":{},"children":["Data partition details:"]}," partitionId, slbPartitionId, partitionName"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"b","attributes":{},"children":["Account details: "]}," billingAccountId, billingAccountName, partitionAccountId, partitionAccountName"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"b","attributes":{},"children":["Data Source details: "]}," endpointID, endpointName, instance, repositoryKind"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"b","attributes":{},"children":["Data partition association: "]}," departmentId, groupId,"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"steps-to-access-the-service","__idx":1},"children":["Steps to access the service"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After verifying user’s context and subscription, an application should check for user’s access to the selected data partition. User should be allowed to access a data partition only if they have been granted access to the same by Account Admin."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In order to access the service, you are required to have the AppKey and the AccessToken. Below are the steps to get the appKey and AccessToken.",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["[AppKey] can be obtained from ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/app-management"},"children":["My Apps"]},". Make sure your App subscribes CCM product."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["[Access Token] can be obtained by sending request below using SLB Authenticator"]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SLB Authenticator information can be found in ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/sauth/tutorial/about"},"children":["SAUTH"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Trying out the API"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example Request"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"  curl -X 'GET' \\\n    'https://api.delfi.slb.com/ccm/userAssociation/v1/dataPartitions' \\\n    -H 'Authorization: Bearer [token]' \\\n    -H 'accept: application/json' \\\n    -H 'appkey: <your-app-key>' \n\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example Successful Response"]}]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"[\n  {\n    \"partitionId\": \"string\",\n    \"slbPartitionId\": \"string\",\n    \"partitionName\": \"string\",\n    \"groupId\": \"string\",\n    \"departmentId\": \"string\",\n    \"billingAccountId\": \"string\",\n    \"billingAccountName\": \"string\",\n    \"isRegistered\": true,\n    \"partitionAccountId\": \"string\",\n    \"partitionAccountName\": \"string\",\n    \"endpointID\": \"string\",\n    \"endpointName\": \"string\",\n    \"instance\": \"string\",\n    \"repositoryKind\": \"string\",\n  }\n]\n"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response Parameters"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Type"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["partitionId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["partitionId is the auto-generated or  user provided Id of the registered data partition"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["partitionName"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["name of the Data partition."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["slbPartitionId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["unique id representing the data partition registration in SLB Digital Platform"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["groupId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["user group id from which a user has been granted access to the data partition"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["departmentId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["departmentId from which a user has been granted access to the data partition"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["billingAccountId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["billing account Id in which user was granted access to the data partition via department/user group association"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["billingAccountName"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["billing account name in which user was granted access to the data partition via department/user group association"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["isRegistered"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Whether a data partition has been registered in Digital platform. Only registered data partitions are available for users to select while setting up user context"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["partitionAccountId"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["billing account Id in which data partition was registered in SLB Digital Platform"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["partitionAccountName"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["billing account name in which data partition was registered in SLB Digital Platform"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["endpointID"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["unique id representing the data source under which this data partition has been registered"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["endpointName"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["name of the data source represented by endpointID"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["instance"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["URL of the data source represented by endpointID"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["repositoryKind"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["data source type selected at the time of registration"]}]}]}]}]}]},"headings":[{"value":"CCM User Association Service","id":"ccm-user-association-service","depth":1},{"value":"Steps to access the service","id":"steps-to-access-the-service","depth":3}],"frontmatter":{"seo":{"title":"CCM User Association Service"}},"lastModified":"2025-07-23T19:42:02.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/ccm/tutorial/user-association-service","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}