リード情報を取得する
このAPIはリードのリストを取得します。 アクセストークンのみ指定した場合は、そのアカウントが持っているすべてのリードを取得します。メールアドレスやリードIDなどいくつかのフィルターで抽出することもできます。
HTTP種類 : GET
URL : [BASE URL]/SpringRest/customer/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": [
{
"customerId": ,
"firstName": null,
"lastName": null,
"name": "",
"user": ,
"customerKey": "",
"anonymous": null,
"shareLevel": null,
"fnameFurigana": null,
"lnameFurigana": null,
"alias": null,
"email": "",
"company": ,
"gender": ,
"birthday": "",
"phone": "",
"mobile": null,
"fax": null,
"approvedStaff": null,
"department": "",
"prefecture": "",
"country": "",
"city": "",
"address": null,
"url": null,
"referenceUrl": null,
"role": ,
"job": null,
"funnel": ,
"category": null,
"primaryStatus": ,
"mailStatus": null,
"customerAuthority": null,
"customerType": null,
"customerDealType": null,
"customerDealStatus": null,
"municipality": ,
"region": ,
"prefectureMaster":,
"countryMaster": ,
"statusNew": null,
"statusActive": null,
"statusHot": null,
"statusRankup": null,
"statusRankdown": null,
"statusWatch": null,
"statusCWatch": null,
"statusOpen": null,
"firstVisit": null,
"lastVisit": null,
"visitFrequency": null,
"customFields": null,
"landingPage": null,
"leadSource": null,
"score": null,
"categories": [],
"segments": [],
"customerMails": null,
"creationDate": "",
"modificationDate": ""
}
]
}1. アカウントに属するすべてのリードを取得する(アクセストークンのみ指定)
パラメータ :
名 前
型
必 須
access_token
String
True
サンプルコード
呼び出し方法
2. メールアドレスに基づいてリードを取得する
パラメータ :
名 前
型
必 須
access_token
String
True
String
True
サンプルコード
呼び出し方法
3. リードIDに基づいてリードを取得する
パラメータ :
名 前
型
必 須
access_token
String
True
customerId
Integer[]
True
4. キャンペーンに基づいてリードを取得する
パラメータ :
名 前
型
必 須
access_token
String
True
campaigns
Integer[]
True
Last updated
Was this helpful?