<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/281069#M3445</link>
    <description>&lt;P&gt;Hi, Could you please help me to understand what I might be missing. I am using central plan; but receiving the following 403 error while trying out from business accelerator hub. I am trying to get the directory information, authorization is enabled already for the directory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anupamduttaroy_0-1692691359418.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/42440iDEF0E7506AEDC393/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anupamduttaroy_0-1692691359418.png" alt="anupamduttaroy_0-1692691359418.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;-Anupam&lt;/P&gt;</description>
    <pubDate>Tue, 22 Aug 2023 08:04:59 GMT</pubDate>
    <dc:creator>ADR</dc:creator>
    <dc:date>2023-08-22T08:04:59Z</dc:date>
    <item>
      <title>SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280681#M3379</link>
      <description>&lt;P&gt;(Check out the &lt;A href="https://blogs.sap.com/2023/08/01/sap-developer-challenge-apis/" target="_blank" rel="noopener"&gt;SAP Developer Challenge - APIs&lt;/A&gt; blog post for everything you need to know about the challenge to which this task relates!)&lt;/P&gt;&lt;P&gt;In this task, you're going to create an instance of the SAP Cloud Management Service, with a specific plan. To find out why, read on.&lt;/P&gt;&lt;H2&gt;Background&lt;/H2&gt;&lt;P&gt;This task follows on from and is in a group with the previous task (&lt;A href="https://groups.community.sap.com/t5/application-development/sap-developer-challenge-apis-task-7-create-a-new-directory-in-an/td-p/280341" target="_blank" rel="noopener"&gt;Task 7 - Create a new directory in an SAP BTP account&lt;/A&gt;). Having created a directory in your SAP Business Technology Platform (SAP BTP) account, you're going to eventually retrieve that directory's details programmatically, through an API endpoint.&lt;/P&gt;&lt;P&gt;In making such a call to the appropriate endpoint, you need to supply authentication details in the HTTP header.&lt;/P&gt;&lt;P&gt;What do the authentication details look like, and how do you obtain them? Well, in this and subsequent tasks, you'll find out, by reading, and by doing!&lt;/P&gt;&lt;H3&gt;The details of the API endpoint&lt;/H3&gt;&lt;P&gt;On the reading part, you should start out by jumping back to the &lt;A href="https://api.sap.com/package/SAPCloudPlatformCoreServices/rest" target="_blank" rel="noopener"&gt;Core Services for SAP BTP&lt;/A&gt; API package landing page on the &lt;A href="https://api.sap.com" target="_blank" rel="noopener"&gt;SAP Business Accelerator Hub&lt;/A&gt; that you viewed in the previous task. You'll see a range of APIs, like this:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.sap.com/assets/core-services-apis.png" border="0" alt="" /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="core-services-apis.png" style="width: 999px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/42353iC5C5558877416E73/image-size/large?v=v2&amp;amp;px=999" role="button" title="core-services-apis.png" alt="core-services-apis.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The Accounts Service API is described thus: "Manage the directories and subaccounts in your global account's structure". This is the API containing the endpoint that you'll eventually use to look at the details of the directory you created in the previous task.&lt;/P&gt;&lt;P&gt;Selecting this API, and navigating to its API Reference section, specifically to the &lt;A href="https://api.sap.com/api/APIAccountsService/resource/Directory_Operations" target="_blank" rel="noopener"&gt;Directory Operations&lt;/A&gt; group, you'll see quite a list of endpoints, some of which you can see in this screenshot:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.sap.com/assets/directory-operations-endpoints.png" border="0" alt="" /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="directory-operations-endpoints.png" style="width: 999px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/42354i8DDFA3A9998CFC54/image-size/large?v=v2&amp;amp;px=999" role="button" title="directory-operations-endpoints.png" alt="directory-operations-endpoints.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;One of them is the one you'll eventually be calling:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.sap.com/assets/get-directory-endpoint.png" border="0" alt="" /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="get-directory-endpoint.png" style="width: 999px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/42355i566316864124C9B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="get-directory-endpoint.png" alt="get-directory-endpoint.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note that the final part of the endpoint's path, {directoryGUID}, is what we need to specify when making a call to this endpoint. Remind you of anything? Yes, it's the GUID value of your newly created directory that you determined in the previous task.&lt;/P&gt;&lt;P&gt;While you're &lt;A href="https://qmacro.org/blog/posts/2017/02/19/the-beauty-of-recursion-and-list-machinery/#initialrecognition" target="_blank" rel="noopener"&gt;staring at&lt;/A&gt; the details of this endpoint, make a mental note of this part:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Required scope: $XSAPPNAME.global-account.account-directory.read&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This will become relevant shortly.&lt;/P&gt;&lt;H3&gt;The documentation on this API&lt;/H3&gt;&lt;P&gt;While you're still in reading mode, jump back to the &lt;A href="https://api.sap.com/api/APIAccountsService/overview" target="_blank" rel="noopener"&gt;Accounts Service API Overview&lt;/A&gt; and follow the link to the SAP Help Portal documentation &lt;A href="https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/17b6a171552544a6804f12ea83112a3f.html" target="_blank" rel="noopener"&gt;Account Administration Using APIs of the SAP Cloud Management Service&lt;/A&gt;. It's here that you'll find information on setting up for calls to this API and its endpoints. Take some time to read through the linked section and the subsections within.&lt;/P&gt;&lt;P&gt;Here's a very brief summary of what it says, so you have something concise to which you can refer in this and subsequent tasks in this group.&lt;/P&gt;&lt;P&gt;In order to make calls to API endpoints in this API (and indeed the other APIs in the package), you'll need to follow these steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;create an instance of the SAP Cloud Management Service, with a plan that contains the appropriate scope(s) that you need&lt;/LI&gt;&lt;LI&gt;create a service key based on that instance&lt;/LI&gt;&lt;LI&gt;use the details in the service key to request an access token&lt;/LI&gt;&lt;LI&gt;use the access token thus obtained to authenticate a call to the API endpoint&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The documentation mentions different environments in which you might create an instance of the service; for the purposes of this Developer Challenge as a whole, please use a Cloud Foundry environment. This is for a couple of reasons:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;everyone can get a Cloud Foundry environment on SAP BTP; for example, if you're using a trial account you will most likely have a Cloud Foundry environment automatically set up for you in your subaccount, and if you don't have one, you can create one&lt;/LI&gt;&lt;LI&gt;it makes running this task and the related tasks simpler and we can all take part in the same collective and shared conversation about what we're doing&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;OK, let's look at precisely what your task is. That list of steps above looks quite a lot of work ... but don't worry. Your task today relates only to step 1 in the list.&lt;/P&gt;&lt;H2&gt;Your task&lt;/H2&gt;&lt;P&gt;There are two parts to your task here. In both parts, you should use the cf command line tool for Cloud Foundry (also known as the "cf CLI").&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;There are different ways you could go about creating a service instance on Cloud Foundry, but here the cf CLI is prescribed because it can be used for not only creating the instance, but also for retrieving detailed information afterwards. And of course, also because &lt;A href="https://twitter.com/search?q=%23TheFutureIsTerminal" target="_blank" rel="noopener"&gt;#TheFutureIsTerminal&lt;/A&gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;For &lt;STRONG&gt;part one&lt;/STRONG&gt;, you must complete step 1 in the list above, i.e. create an instance of the SAP Cloud Management Service (short name: cis). Do this in your SAP BTP account that you used in the previous task. Make sure you choose the appropriate plan when doing this, and create the instance in your Cloud Foundry environment.&lt;/P&gt;&lt;P&gt;Information on where to find the service plan details, and tips on how to create the instance itself, are detailed in the "Hints and tips" section.&lt;/P&gt;&lt;P&gt;For &lt;STRONG&gt;part two&lt;/STRONG&gt;, you must use the &lt;A href="https://apidocs.cloudfoundry.org/226/" target="_blank" rel="noopener"&gt;Cloud Foundry API&lt;/A&gt; to retrieve information about your newly created service instance. Specifically, you should use the &lt;A href="https://apidocs.cloudfoundry.org/226/service_instances/list_all_service_instances.html" target="_blank" rel="noopener"&gt;List all Service Instances&lt;/A&gt; endpoint (GET /v2/service_instances). And as you'll have already been using the cf CLI for part one of this task, you are strongly encouraged to use it for this part as well. Did you know that you can use the cf CLI to make calls to the CF API as well? Find out more in the "Hints and tips section below".&lt;/P&gt;&lt;P&gt;From the information you retrieve via the GET /v2/service_instances endpoint, you should identify the appropriate object in the resources property in the JSON returned, and pick out the value of the entity type.&lt;/P&gt;&lt;P&gt;Here's an example (with some properties removed for brevity):&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;  &lt;SPAN class=""&gt;"total_results"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;1&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;  &lt;SPAN class=""&gt;"resources"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;    &lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;      &lt;SPAN class=""&gt;"metadata"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;"guid"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"58314563-ab6d-48db-b40c-ae4abf0e0355"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;"url"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"/v2/service_instances/58314563-ab6d-48db-b40c-ae4abf0e0355"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;"created_at"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"2023-08-15T10:31:13Z"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;"updated_at"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"2023-08-15T10:31:15Z"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;      &lt;SPAN class=""&gt;},&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;      &lt;SPAN class=""&gt;"entity"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;"name"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"cis-central"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;"credentials"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;{},&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;"service_plan_guid"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"7cc70093-3c5f-47f2-acf6-8de4185ba63c"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;"space_guid"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"52311e40-efaa-4176-bef1-505f3a9889bd"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;"gateway_data"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;null&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;"dashboard_url"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;null&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;"type"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"&amp;lt;instance-type&amp;gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;"last_operation"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;          &lt;SPAN class=""&gt;"type"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"create"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;          &lt;SPAN class=""&gt;"state"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"succeeded"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;          &lt;SPAN class=""&gt;"updated_at"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"2023-08-15T10:31:15Z"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;          &lt;SPAN class=""&gt;"created_at"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"2023-08-15T10:31:15Z"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;},&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;"tags"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;[]&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;"maintenance_info"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;{},&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;        &lt;SPAN class=""&gt;"service_guid"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"4eacd0ef-9a9d-4cb3-8fb1-60fb685d8f82"&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;      &lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;    &lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;  &lt;SPAN class=""&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;As you can see in this example, there's only one service instance in the Cloud Foundry environment org / space used to set up this example. This is reflected in the fact that there's only a single object contained in the resources array. That object represents and contains the details of that service instance.&lt;/P&gt;&lt;P&gt;The type of the service instance is given in the entity.type property within the object. In the example above, the value is deliberately hidden, and has been replaced by the string &amp;lt;instance-type&amp;gt;.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;For those of you who are curious and have also tried to use cf service to list details of the service, note that the entity type shown in the output to cf service is not quite the same, and not what is required here. You have been warned!&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It's the actual value of this entity.type property that you must determine and send to be hashed and shared in a reply to this discussion thread as described in &lt;A href="https://groups.community.sap.com/t5/application-development/sap-developer-challenge-apis-task-0-learn-to-share-your-task/m-p/276058" target="_blank" rel="noopener"&gt;Task 0&lt;/A&gt;. So whatever that value is, in the JSON that's returned, that's what you need to send to be hashed (don't include the double quotes, because they're just part of the JSON syntax of course).&lt;/P&gt;&lt;H2&gt;Hints and tips&lt;/H2&gt;&lt;P&gt;Here are some pointers to help you with this task.&lt;/P&gt;&lt;H3&gt;Creation of the service instance&lt;/H3&gt;&lt;P&gt;If you read through the &lt;A href="https://help.sap.com/docs/btp/sap-business-technology-platform/account-administration-using-apis-of-sap-cloud-management-service" target="_blank" rel="noopener"&gt;Account Administration Using APIs of the SAP Cloud Management Service&lt;/A&gt; documentation, you will have come across the &lt;A href="https://help.sap.com/docs/btp/sap-business-technology-platform/sap-cloud-management-service-service-plans" target="_blank" rel="noopener"&gt;SAP Cloud Management Service - Service Plans&lt;/A&gt; section. In this section, the details of each service plan offered are available, including a list of scopes provided by each.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.sap.com/assets/service-plan-details.png" border="0" alt="" /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="service-plan-details.png" style="width: 980px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/42356i1FBEB77A4A71E706/image-size/large?v=v2&amp;amp;px=999" role="button" title="service-plan-details.png" alt="service-plan-details.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When creating the service instance, make sure you specify the appropriate plan, the plan that contains the scope that you need to make a GET request to the /accounts/v1/directories/{directoryGUID} API endpoint.&lt;/P&gt;&lt;H3&gt;Using the cf CLI&lt;/H3&gt;&lt;P&gt;You are required to use the cf CLI for both parts of this task. Some of you may already have the cf CLI installed. Others may not.&lt;/P&gt;&lt;P&gt;For those of you who have it installed, or are willing and able to install it in their own system, we recommend you use the latest major version, i.e. version 8. The reason for this is twofold:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the major version of the cf CLI available in all Dev Spaces in the SAP Business Application Studio is 8 (specifically, at the time of writing, version 8.5.0+73aa161.2022-09-12)&lt;/LI&gt;&lt;LI&gt;there are some breaking changes introduced between major versions 7 and 8, including in the area of the output of service binding details, so it's best that we're all on the same version and we also recommend you move to 8 now anyway&lt;/LI&gt;&lt;/UL&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;See &lt;A href="https://docs.cloudfoundry.org/cf-cli/v8.html" target="_blank" rel="noopener"&gt;Upgrading to cf CLI v8&lt;/A&gt; for details of what's new and different with version 8.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;For those who don't already have the cf CLI installed, and don't want to install it right now, we recommend you make use of a Dev Space in the SAP Business Application Studio. Just like the Cloud Foundry environment itself, a subscription to the SAP Business Application Studio is available to anyone and everyone, not least within a trial SAP BTP account context. You can follow the tutorial &lt;A href="https://developers.sap.com/tutorials/appstudio-onboarding.html" target="_blank" rel="noopener"&gt;Set Up SAP Business Application Studio for Development&lt;/A&gt; if you need some guidance on getting access.&lt;/P&gt;&lt;P&gt;Once you have a subscription to the SAP Business Application Studio, create yourself a Dev Space. It doesn't have to be anything special - even a Basic Dev Space contains the cf CLI, as you can see:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.sap.com/assets/basic-dev-space-with-cf-cli.png" border="0" alt="" /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="basic-dev-space-with-cf-cli.png" style="width: 999px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/42357i070F58837321244E/image-size/large?v=v2&amp;amp;px=999" role="button" title="basic-dev-space-with-cf-cli.png" alt="basic-dev-space-with-cf-cli.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Once you have a Dev Space up and running, and you have of course opened up a terminal session therein (use menu path "Terminal -&amp;gt; New Terminal"), you have the cf CLI at your disposal.&lt;/P&gt;&lt;P&gt;At this point you should log in, and specify the API endpoint that relates to your specific Cloud Foundry environment instance.&lt;/P&gt;&lt;P&gt;There are different ways to find out what the API endpoint is (including programmatically, see &lt;A href="https://github.com/SAP-samples/cloud-btp-cli-api-codejam/blob/main/exercises/05-core-services-api-prep/README.md#determining-your-cf-api-endpoint" target="_blank" rel="noopener"&gt;Determining your CF API endpoint&lt;/A&gt;), but a simple way for the purposes of this task is to head over to the SAP BTP Cockpit and check in the subaccount overview:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.sap.com/assets/cf-api-endpoint-cockpit.png" border="0" alt="" /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cf-api-endpoint-cockpit.png" style="width: 999px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/42358i20F32D3A676D9256/image-size/large?v=v2&amp;amp;px=999" role="button" title="cf-api-endpoint-cockpit.png" alt="cf-api-endpoint-cockpit.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Once you've logged in, you'll need to familiarize yourself with the cf CLI commands related to this task.&lt;/P&gt;&lt;P&gt;For the first part of the task, look into the "Services integration" commands (get to this list using the command cf help):&lt;/P&gt;&lt;PRE&gt;Services integration:
  marketplace,m        create-user-provided-service,cups
  services,s           update-user-provided-service,uups
  create-service,cs    create-service-key,csk
  update-service       delete-service-key,dsk
  delete-service,ds    service-keys,sk
  service              service-key
  bind-service,bs      bind-route-service,brs
  unbind-service,us    unbind-route-service,urs&lt;/PRE&gt;&lt;P&gt;In particular:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;cf marketplace will give you a list of service offerings; specifying a particular service offering with the -e option is also worth looking into&lt;/LI&gt;&lt;LI&gt;cf create-service will allow you to create a new service instance, specifying the plan as well as the service&lt;/LI&gt;&lt;LI&gt;cf services will allow you to list services instances that already exist, allowing you to check that your service instance creation was successful&lt;/LI&gt;&lt;/UL&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;When using cf marketplace, note that the service offerings will be listed using their technical name. The technical name for the SAP Cloud Management Service is cis, as noted in the &lt;A href="https://help.sap.com/docs/btp/sap-business-technology-platform/account-administration-using-apis-of-sap-cloud-management-service" target="_blank" rel="noopener"&gt;Account Administration Using APIs of the SAP Cloud Management Service&lt;/A&gt; section on the SAP Help Portal.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;For the second part of the task, you'll want to look at:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;cf curl&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Interestingly, if you want to find this command in the list of possible commands in the cf CLI, you must use:&lt;/P&gt;&lt;PRE&gt;cf help -a&lt;/PRE&gt;&lt;P&gt;(i.e. include the -a option) otherwise it's not shown.&lt;/P&gt;&lt;P&gt;Good luck and have fun!&lt;/P&gt;&lt;H2&gt;For discussion&lt;/H2&gt;&lt;P&gt;How else might one create an instance of a service? Is this your first encounter with the cf CLI? How did you find it? What is your favorite place to run command line tools?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 05:56:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280681#M3379</guid>
      <dc:creator>qmacro</dc:creator>
      <dc:date>2023-08-21T05:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280690#M3380</link>
      <description>&lt;P&gt;057e2524e63d3e78b9b49796f58370bcbe5ed40676c8542265e16a0998371793&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 06:13:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280690#M3380</guid>
      <dc:creator>ajmaradiaga</dc:creator>
      <dc:date>2023-08-21T06:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280695#M3381</link>
      <description>&lt;P&gt;I wasn't familiar with &lt;EM&gt;cf curl... &lt;/EM&gt;Thanks for highlighting this :-). It is funny how that type value for the instance is different in &lt;EM&gt;cf curl&lt;/EM&gt; than what is output in &lt;EM&gt;cf service.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 06:16:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280695#M3381</guid>
      <dc:creator>ajmaradiaga</dc:creator>
      <dc:date>2023-08-21T06:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280704#M3383</link>
      <description>&lt;P&gt;You're welcome! The best thing about this challenge is that we can impart little nuggets of info like this to the wider community &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 06:28:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280704#M3383</guid>
      <dc:creator>qmacro</dc:creator>
      <dc:date>2023-08-21T06:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280706#M3384</link>
      <description>&lt;P&gt;b152bfdff2edc5f99862897bc41a20c071de259c07eb47d7bb81120f1fa0be08&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 06:41:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280706#M3384</guid>
      <dc:creator>nicoschoenteich</dc:creator>
      <dc:date>2023-08-21T06:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280707#M3385</link>
      <description>&lt;P&gt;cf curl... sounds like something DJ's dreams are made of!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 06:42:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280707#M3385</guid>
      <dc:creator>nicoschoenteich</dc:creator>
      <dc:date>2023-08-21T06:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280714#M3387</link>
      <description>&lt;P&gt;aa3c78e57f331a73be835d872a491757b15c82ec5016b3442689f6c7c575e32e&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 07:36:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280714#M3387</guid>
      <dc:creator>vladimirs_semikins</dc:creator>
      <dc:date>2023-08-21T07:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280739#M3391</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;220633&lt;/SPAN&gt;&lt;SPAN&gt;a&lt;/SPAN&gt;&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN class=""&gt;99&lt;/SPAN&gt;&lt;SPAN&gt;b&lt;/SPAN&gt;&lt;SPAN class=""&gt;57576&lt;/SPAN&gt;&lt;SPAN&gt;a&lt;/SPAN&gt;&lt;SPAN class=""&gt;5&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN class=""&gt;24&lt;/SPAN&gt;&lt;SPAN&gt;a&lt;/SPAN&gt;&lt;SPAN class=""&gt;31&lt;/SPAN&gt;&lt;SPAN&gt;b&lt;/SPAN&gt;&lt;SPAN class=""&gt;1&lt;/SPAN&gt;&lt;SPAN class=""&gt;c&lt;/SPAN&gt;&lt;SPAN class=""&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;bb&lt;/SPAN&gt;&lt;SPAN class=""&gt;0334&lt;/SPAN&gt;&lt;SPAN&gt;afc&lt;/SPAN&gt;&lt;SPAN class=""&gt;6&lt;/SPAN&gt;&lt;SPAN&gt;bcdc&lt;/SPAN&gt;&lt;SPAN class=""&gt;37040&lt;/SPAN&gt;&lt;SPAN class=""&gt;c&lt;/SPAN&gt;&lt;SPAN class=""&gt;1&lt;/SPAN&gt;&lt;SPAN class=""&gt;c&lt;/SPAN&gt;&lt;SPAN class=""&gt;9759&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN class=""&gt;4286&lt;/SPAN&gt;&lt;SPAN&gt;b&lt;/SPAN&gt;&lt;SPAN class=""&gt;23&lt;/SPAN&gt;&lt;SPAN&gt;b&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 09:28:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280739#M3391</guid>
      <dc:creator>bztoy</dc:creator>
      <dc:date>2023-08-21T09:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280741#M3392</link>
      <description>&lt;P&gt;&lt;SPAN&gt;ed&lt;/SPAN&gt;&lt;SPAN class=""&gt;571857&lt;/SPAN&gt;&lt;SPAN&gt;ef&lt;/SPAN&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;c&lt;/SPAN&gt;&lt;SPAN class=""&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;a&lt;/SPAN&gt;&lt;SPAN class=""&gt;6960&lt;/SPAN&gt;&lt;SPAN&gt;b&lt;/SPAN&gt;&lt;SPAN class=""&gt;444&lt;/SPAN&gt;&lt;SPAN&gt;dee&lt;/SPAN&gt;&lt;SPAN class=""&gt;5&lt;/SPAN&gt;&lt;SPAN&gt;bb&lt;/SPAN&gt;&lt;SPAN class=""&gt;4&lt;/SPAN&gt;&lt;SPAN&gt;ff&lt;/SPAN&gt;&lt;SPAN class=""&gt;147&lt;/SPAN&gt;&lt;SPAN&gt;b&lt;/SPAN&gt;&lt;SPAN class=""&gt;5&lt;/SPAN&gt;&lt;SPAN&gt;b&lt;/SPAN&gt;&lt;SPAN class=""&gt;89&lt;/SPAN&gt;&lt;SPAN&gt;fbb&lt;/SPAN&gt;&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;ace&lt;/SPAN&gt;&lt;SPAN class=""&gt;1&lt;/SPAN&gt;&lt;SPAN class=""&gt;c&lt;/SPAN&gt;&lt;SPAN class=""&gt;9&lt;/SPAN&gt;&lt;SPAN&gt;eea&lt;/SPAN&gt;&lt;SPAN class=""&gt;9&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN class=""&gt;7&lt;/SPAN&gt;&lt;SPAN&gt;fe&lt;/SPAN&gt;&lt;SPAN class=""&gt;5&lt;/SPAN&gt;&lt;SPAN&gt;fe&lt;/SPAN&gt;&lt;SPAN class=""&gt;307&lt;/SPAN&gt;&lt;SPAN&gt;d&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 09:35:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280741#M3392</guid>
      <dc:creator>kasch-code</dc:creator>
      <dc:date>2023-08-21T09:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280764#M3394</link>
      <description>&lt;P&gt;75cbe82859bdda7fba56d9458f3003fd6f8a21ebf844bb05fb5ff4cbfdf1e4df&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 10:14:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280764#M3394</guid>
      <dc:creator>stickman_0x00</dc:creator>
      <dc:date>2023-08-21T10:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280772#M3395</link>
      <description>&lt;P&gt;66db926f62d72794c9f27c0379bdb41c9e2105dc56acba0e121b3ee288b18913&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 10:31:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280772#M3395</guid>
      <dc:creator>SandipAgarwalla</dc:creator>
      <dc:date>2023-08-21T10:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280773#M3396</link>
      <description>&lt;P&gt;Took a while to get used to the cli and find the required info. Finally, it worked for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But why cf service returns a different value for type than the get api?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 10:33:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280773#M3396</guid>
      <dc:creator>SandipAgarwalla</dc:creator>
      <dc:date>2023-08-21T10:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280775#M3398</link>
      <description>&lt;P&gt;How do I switch global accounts when working with CF CLI? My email adress is associated to two global accounts. When I login with my email address always the wrong global account is selected. I can't find a way to switch global accounts.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 10:36:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280775#M3398</guid>
      <dc:creator>ceedee666</dc:creator>
      <dc:date>2023-08-21T10:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280777#M3400</link>
      <description>&lt;P&gt;I had the same problem. My account was linked with 2 global accounts. For one of the account, it said no orgs assigned. Had to reset the password for the other account and then I could login. Took a long while to login to the correct account.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 10:45:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280777#M3400</guid>
      <dc:creator>SandipAgarwalla</dc:creator>
      <dc:date>2023-08-21T10:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280783#M3401</link>
      <description>&lt;P&gt;I tried the same. I event set the default global account. But it does not work in my case. Maybe the reason is one of the global accounts is quite old and still linked to feature set A. I just opend up a service request to get my user removed from the old account.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 11:10:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280783#M3401</guid>
      <dc:creator>ceedee666</dc:creator>
      <dc:date>2023-08-21T11:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280786#M3403</link>
      <description>&lt;P&gt;Just curious - did you specify the appropriate CF API endpoint when logging in?&amp;nbsp;&lt;BR /&gt;cf login -a [endpoint URL]&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 11:23:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280786#M3403</guid>
      <dc:creator>qmacro</dc:creator>
      <dc:date>2023-08-21T11:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280788#M3404</link>
      <description>&lt;P&gt;cbcf2c6b1281e441f7b4bf8f80c0a50f926c3457653e068856bfc2c75b8eb0b9&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 11:25:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280788#M3404</guid>
      <dc:creator>Dan_Wroblewski</dc:creator>
      <dc:date>2023-08-21T11:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280792#M3405</link>
      <description>&lt;P&gt;yes. I have the following setup, an old (feature set a) global account (SAP Mentors ABAP Cloud System) and a new Free Tier account.&lt;/P&gt;&lt;P&gt;When I log in using the UI I allways see this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ceedee666_0-1692617181882.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/42380i405459A7D9AC6572/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ceedee666_0-1692617181882.png" alt="ceedee666_0-1692617181882.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I allready specified the other global account as the default. However, this doesn't seem to have the desired effect.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ceedee666_1-1692617245215.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/42381i1F4A925B25F92E00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ceedee666_1-1692617245215.png" alt="ceedee666_1-1692617245215.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I login with the CF CLI i get this:&lt;/P&gt;&lt;LI-CODE lang="bash"&gt;❯ cf l                                                                                                                                                                                    
API endpoint: https://api.cf.eu10.hana.ondemand.com

Email: christian.drumm@gmail.com
Password:

Authenticating...
OK

Targeted org abapcp-mentors-eu10.

Targeted space Trial.

API endpoint:   https://api.cf.eu10.hana.ondemand.com
API version:    3.140.0
user:           christian.drumm@gmail.com
org:            abapcp-mentors-eu10
space:          Trial&lt;/LI-CODE&gt;&lt;P&gt;If I then try to get the orgs I only see this:&lt;/P&gt;&lt;LI-CODE lang="bash"&gt;❯ cf o                                                                                                                                                                                    
Getting orgs as christian.drumm@gmail.com...

name
abapcp-mentors-eu10&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 11:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280792#M3405</guid>
      <dc:creator>ceedee666</dc:creator>
      <dc:date>2023-08-21T11:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280836#M3412</link>
      <description>&lt;P&gt;b944497f61ee22ea371ddf99151f64bda08b277e66c541e6c6c012e9718097d1&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 13:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280836#M3412</guid>
      <dc:creator>Tomas_Buryanek</dc:creator>
      <dc:date>2023-08-21T13:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Developer Challenge - APIs - Task 8 - Create an instance of the SAP Cloud Management Service</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280837#M3413</link>
      <description>&lt;P&gt;My first encounter with cf CLI. It is cool, but I think I will not join #teamTerminal and stay in #teamGUI. But I will give CLI an another try in next steps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 13:27:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-developer-challenge-apis-task-8-create-an-instance-of-the-sap-cloud/m-p/280837#M3413</guid>
      <dc:creator>Tomas_Buryanek</dc:creator>
      <dc:date>2023-08-21T13:27:45Z</dc:date>
    </item>
  </channel>
</rss>

