メールのステータスを取得する

キャンペーンで送付したメールが、開封されたかクリックされたかなどのステータスを取得します。

HTTP種類 : GET

URL : [BASE URL]/SpringRest/campaign/status/get

HTTP戻り値 : JSON

指定したステータスに合致したリードの一覧の取得、または指定したリードのステータスを取得します。

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": [
        {
            "campaign": {
                "campaignId": ,
                "type": {
                    "id": 1,
                    "text": "Mail Magazine"
                },
                "title": "",
                "description": null
            },
            "customer": {
                "customerId": ,
                "firstName": null,
                "lastName": null,
                "name": "",
                "email": "",
                "gender": {
                    "id": 0,
                    "text": "Male"
                },
                "birthday": null,
                "company": null,
                "statusNew": null,
                "statusActive": null,
                "statusHot": null,
                "statusRankup": null,
                "statusRankdown": null,
                "statusWatch": null,
                "statusCWatch": null
    "primaryStatus": {}
            },
            "status": {
                "id": 1,
                "text": "開封"
            },
            "responseStatus": null,
            "creationDate": null
        }
    ]
}

1. キャンペーンIDとステータスを指定してリードリストのステータスを取得する

パラメータ :

名 前

必 須

access_token

String

True

campaignId

Integer

True

status

Integer[]

True

status:

このメソッドは、指定したキャンペーンでstatusパラメータに合致しているリードを取得します。 キャンペーンID、ステータス(ステータス値は上記のとおり)、およびアクセストークンを渡す必要があります。 APIからJSONレスポンスを返します。

サンプルコード

呼び出し方法

2. キャンペーンIDとリードIDを指定してリードのステータスを取得する

パラメータ :

名 前

必 須

access_token

String

True

campaignId

Integer

True

customerId

Integer[]

True

このメソッドは、キャンペーンにおけるリードのステータスを取得します。APIからJSONレスポンスを返します。

サンプルコード

呼び出し方法

Last updated

Was this helpful?