キャンペーン対象のリードを取得する

指定したキャンペーンの対象となっているリードを取得します。

HTTP種類 : GET

URL : [BASE URL]/SpringRest/campaign/component/customer/get

HTTP戻り値 : JSON

パラメータ :

名 前

必 須

access_token

String

True

campaignId

Intger

True

JSON戻り値 例:

{
    "code": 200,
    "message": "Success",
    "status": "OK",
    "generatedId": null,
    "generatedIds": null,
    "statusObject": "OK",
    "pagination": {
        "offset": 0,
        "nextOffset": 0,
        "prevOffset": 0,
        "limit": 1,
        "total": 1,
        "nextUrl": null,
        "prevUrl": null,
        "accountId": null,
        "message": "Data available",
        "sort": null
    },
    "data": [
        {
            "customerId": null,
            "firstName": null,
            "lastName": null,
            "name": "ancil",
            "email": null,
            "gender": null,
            "birthday": null,
            "company": null,
            "statusNew": null,
            "statusActive": null,
            "statusHot": null,
            "statusRankup": null,
            "statusRankdown": null,
            "statusWatch": null,
            "statusCWatch": null,
            "primaryStatus": {}
        }
    ]
}

サンプルコード

このメソッドは指定したキャンペーンの対象となっているリードを取得します。 このメソッドを使用するには、アクセストークンとキャンペーンIDを指定する必要があります。APIからはJSONレスポンスが返されます。

呼び出し方法

Last updated

Was this helpful?