﻿Power AutomateではじめるノーコードiPaaS開発入門

掲載リスト

 
リスト2-2
mul(variable('数の変数1'),0.1)


リスト2-1
int(mul(triggerBody()['number'],0.1))
 

リスト2-3
int(variables('実数の変数1'))


リスト2-4
int(mod(variables('数の変数1'),2))


リスト2-5
int(mod(variables('数の変数1'),3))


リスト3-1　
div(variables('数の変数1'), 1.1)


リスト3-2
replace(triggerBody()['text'],triggerBody()['text_1'],triggerBody()['text_2'])


リスト3-3
int(div(variables('合計'),length(variables('配列1'))))


リスト3-4
split(triggerBody()['text'],',')


リスト3-5
int(items('Apply_to_each'))


リスト3-6
{
  "name": "taro",
  "mail": "taro@yamada",
  "age": 39
}


リスト3-7
私は、[name]（ [age] ）です。
メールアドレスは、[mail] です。


リスト3-8
[
  {
    "name": "taro",
    "mail": "taro@yamada",
    "age": 39
  },
  {
    "name": "hanako",
    "mail": "hanako@flower",
    "age": 28
  },
  {
    "name": "sachiko",
    "mail": "sachiko@jhappy",
    "age": 17
  }
]


リスト3-9
[
  {
    "name": "taro",
    "mail": "taro@yamada",
    "age": 39
  }
]


リスト4-1
If(equals(toUpper(outputs('行の取得')?['body/性別']),'TRUE'),'女性','男性')


リスト4-2
If(equals(toUpper(outputs('行を取得する')?['body/性別']),'TRUE'),'女性','男性')


リスト5-1――「名前」の式
items('Apply_to_each')?['name/displayName']


リスト5-2――「メールアドレス」の式
items('Apply_to_each')?['emailAddresses'][0].value


リスト5-3
items('Apply_to_each')?['emailAddresses'][0].Address


リスト7-1
{
    "TweetText": ツイートしたテキスト,
    "TweetId": ツイートID番号,
    "CreatedAt": 作成日時,
    "CreatedAtIso": ISO形式の日時,
    "RetweetCount": リツイート数,
    "TweetedBy": ツイートしたアカウント,
    "MediaUrls": [ メディ他のURL ],
    "TweetLanguageCode": 言語コード,
    "TweetInReplyToUserId": リプライユーザーID,
    "Favorited": いいねのON/OFF,
    "UserMentions": [ユーザーメンション],
    "UserDetails": {
        "FullName": 名前,
        "Location": 場所,
        "Id": ユーザーID,
        "UserName": アカウント名,
        "FollowersCount": フォロワー数,
        "Description": 自己紹介文,
        "StatusesCount": ステータス数,
        "FriendsCount": フォローユーザー数,
        "FavouritesCount": いいね数,
        "ProfileImageUrl": プロファイルイメージのURL
    }
  },


リスト7-2
{
    "title": タイトル,
    "primaryLink": リンク,
    "links": [ リンク ],
    "updatedOn": 更新日時,
    "publishDate": 公開日時,
    "summary": 要約,
    "copyright": コピーライト,
    "categories": [カテゴリ]
},


リスト7-3
{
  "kind": "",
  "totalItems": 0,
  "items": [
    {
      "kind": "",
      "id": "",
      "etag": "",
      "selfLink": "",
      "volumeInfo": {
        "title": "",
        "authors": [""],
        "publisher": "",
        "publishedDate": "2021-01",
        "description": "",
        "industryIdentifiers": [
          {
            "type": "ISBN",
            "identifier": "0"
          }
        ],
        "pageCount": 0,
        "printType": "",
        "maturityRating": "",
        "contentVersion": "",
        "language": ""
      }
    }
  ]
}


リスト7-4
items('Apply_to_each')?['volumeInfo']?['authors'][0]


リスト7-5
[
  {
    "age":123,
    "id":0,
    "mail":"syoda@tuyano.com",
    "name":"tuyano"
  }
]


リスト7-6
public class Script : ScriptBase
{
    public override async Task<HttpResponseMessage> ExecuteAsync()
    {
        HttpResponseMessage response = new HttpResponseMessage(HttpStatusCode.OK);
        response.Content = CreateJsonContent("{\"message\": \"Hello World\"}");
        return response;
    }
}

　
リスト8-1
concat(items('Apply_to_each')?['メンバー'],';')


リスト8-2
concat(triggerBody()['date'],'T',triggerBody()['number'],':00:00')


リスト8-3
concat(triggerBody()['date'],'T',add(triggerBody()['number'],1),':00:00')

