cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
m_salihin
New Member

Integrate SMS API into Custom Connector

Hi folks,

 

im new to the Custom Connector and have only the basic knowledge in programming.

 

i want to integrate the SMS API to Custom Connector to allow it to do meaningful work in Flows.

 

I know that the API works, as i was able to call it via Postman Chrome extension, and receive SMS on my phone.

 

But I'm stuck and have hit a brick wall with the integration and i need someone to advise or tell me how far off im at.

 

 

 

Im using API ID 125000002 and vendor advise me basic authentication.

 

intuitively, i tried to supply the information using 'Import From Sample' with the JSON body below.

 

Validation and the code did not throw any errors at this point.

 

But im stuck at Stage 4: Test Stage, after i create a 'New Connection', and signed using my API ID and password

 

after that, i "Updated Connector' and did a test by populating the fields.

 

i tried so many different combinations but nothing happens.

 

The response code 01011 tells me there is:

Invalid request format; check request format definition (e.g.
parameter names, the length of the values you are passing
into the parameters, the type of values such as
numeric/alphabet).

 

m_salihin_0-1612763663081.png

m_salihin_2-1612764054165.png

 

m_salihin_3-1612764792741.png

 

 

Swagger Code:

m_salihin_4-1612764989513.png

 

swagger: '2.0'
info: {title: SMS Gateway, description: SATS SMS Gateway, version: '1.0'}
host: www.commzgate.net
basePath: /
schemes: [https]
consumes: []
produces: []
paths:
/gateway/SendMsg:
post:
responses:
default:
description: default
schema: {}
summary: Send SMS to user
description: Send SMS to user
operationId: Send_sms
parameters:
- name: body
in: body
required: false
schema:
type: object
properties:
ID: {type: string, description: ID}
Password: {type: string, description: Password}
Type: {type: string, description: Type}
Message: {type: string, description: Message}
Mobile: {type: string, description: Mobile}
definitions: {}
parameters: {}
responses: {}
securityDefinitions:
basic_auth: {type: basic}
security:
- basic_auth: []
tags: []

 

 

 

 

0 REPLIES 0

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (14,842)