セグメントに属するリードを取得する

指定したセグメントに属するリードのリストを取得します。

HTTP種類 : GET

URL : [BASE URL]/SpringRest/segment/getCustomerBySegment

HTTP戻り値 : JSON

パラメータ :

名 前

必 須

accessToken

String

True

segmentId

Intger[] (複数の場合はカンマで区切る)

True

JSON戻り値 例:

{
    "code": 200,
    "message": "Success",
    "status": "OK",
    "generatedId": null,
    "generatedIds": null,
    "statusObject": "OK",
    "pagination": {
        "offset": 0,
        "nextOffset": 0,
        "prevOffset": 0,
        "limit": 2,
        "total": 2,
        "nextUrl": null,
        "prevUrl": null,
        "accountId": null,
        "message": "Data available",
        "sort": null
    },
    "data": [
        {
            "segment": {
                "segmentId": ,
                "title": "",
                "type": {
                    "id": 0,
                    "text": "Mixed"
                },
                "condition": {
                    "id": 1,
                    "text": "AND"
                },
                "innerSegmentEnable": false,
                "color": null
            },
            "customer": [{},{}]
        }
    ]
}

サンプルコード

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

呼び出し方法

Last updated

Was this helpful?