13 () as ResultSms = SendSMS(Token) {
12 param
11 message: "Hi from SPL!)";
10 channelName: "SMS";
9 contact: "87471377154";
8 resource: $sendUrl;
7 //access_token: Token.access_token;
6 //token_type: Token.token_type;
5 }
4 }
3
2 composite SendSMS(input IN) {
1 param
0 expression<rstring> $message;
1 expression<rstring> $channelName;
2 expression<rstring> $contact;
3 expression<rstring> $resource;
4 //expression<rstring> $access_token;
5 //expression<rstring> $token_type;
6 type
7 SMS = tuple<rstring Message, rstring ChannelName, rstring Contact, rstring resource>;
8 graph
9 (stream<HTTPResponse> SmsResponse) = HTTPPost(sendSMS as InputStreamName0)
10 {
11 param
12 url : $resource;
// CDISP0302E ERROR: A value name is expected, but the IN identifier is not a value in this scope.
13 extraHeaders : "Authorization: " + IN.token_type + " " + IN.access_token;
14
15 }