POST
/
marketing
/
v3
/
campaigns
/
batch
/
read
キャンペーンを一括読み取り
curl --request POST \
  --url https://api.hubapi.com/marketing/v3/campaigns/batch/read \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "inputs": [
    {
      "id": "<string>"
    }
  ]
}'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "requestedAt": "2023-11-07T05:31:56Z",
  "startedAt": "2023-11-07T05:31:56Z",
  "links": {},
  "results": [
    {
      "createdAt": "2023-11-07T05:31:56Z",
      "businessUnits": [
        {
          "id": 123
        }
      ],
      "assets": {},
      "id": "<string>",
      "properties": {},
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "status": "PENDING"
}
サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing HubProfessional
Sales HubSales Hub無料ツール
Service HubService Hub無料ツール
Content HubContent Hub無料ツール

必須スコープ

この API には、次のいずれかのスコープが必要です。
  • marketing.campaigns.read

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

startDate
string

アセット測定指標を取得する開始日で、形式はYYYY-MM-DDとなります。この日付は指定された期間のアセットに関連付けられている測定指標の取得に使用されます。指定されない場合、アセット測定指標は取得されません。

endDate
string

アセット測定指標を取得する終了日で、形式はYYYY-MM-DDとなります。この日付は指定された期間のアセットに関連付けられている測定指標の取得に使用されます。指定されない場合、アセット測定指標は取得されません。

properties
string[]

レスポンスで返されるプロパティーのカンマ区切りリスト。指定されたプロパティーのいずれかに要求されたオブジェクトの空の値が含まれる場合は無視され、レスポンスで返されません。このパラメーターが空の場合、レスポンスには空のプロパティーマップが含まれます。

Body

application/json

Response

200
application/json

successful operation

The response is of type object.