cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
duncant
Helper V
Helper V

Custom Connect: Default Response

I have built a custom connector to the Cascade CMS REST API.  I have used the sample data provided from the responses I have pulled from Postman.  When I attempt to run the flow, the connector response is given the default value of 

 

 

 

 

 

{
     "statusCode":200,"headers":
      {
           "Transfer-Encoding":"chunked",
           "Vary":"Accept-Encoding",
           "Request-Context":"appId=cid-v1:0c37065f-4d7c-47cf-af06-96cd9a75949d",
           "x-ms-function-status":"OK",
           "Date":"Wed, 22 Dec 2021 17:54:49 GMT",
           "Content-Type":"application/json; charset=utf-8",
           "Content-Length":"26"
     },
     "body": 
         {
             "message":"Hello World"
         }
}

 

 

 

 

 

Instead of the correct response of (example create/POST response)

 

 

http://localhost:8080/api/v1/create?u=hill&p=hill
{
  'asset': {
    'page': {
      'name': 'test',
      'parentFolderPath': '/',
      'siteName': 'www.example.com',
      'contentTypeId': 'b9bc37270a00016b00899e533ba18fe5',
      'xhtml': '<div>Content</div>',
      'metadata': {
        'title': 'Page title'
      }
    }
  }  
}

 

 

 

4 REPLIES 4
Red2
Microsoft
Microsoft

Can you provide the YAML definition of the connector here?

Unfortunately now.  Cascade CMS seems to use a combination of REST and SOAP API.  If you happen to have some information on converting the SOAP SML Documentation to a readable format to create the custom connector, I would be grateful.  

Red2
Microsoft
Microsoft

Red2_0-1641590787058.png

If you edit the connector you should be able to edit the swagger to produce a text file.

 

For some reason, the Code (Preview) is displaying the default response after the code is disabled.

 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Top Kudoed Authors
Users online (2,105)