leadId를 주면 해당 Lead(DB) ID로 소유 범위를 한정(본인 소유가 아니면 빈 목록). search로 성함·연락처(phone_3)·상품명·고객 메모(customerMemo)·사유 코드/한글 라벨 부분일치 검색.curl --location 'https://ldbds.kr/api/v1/lead-as?mohomId=undefined&leadId=undefined&status=undefined&search=undefined&page=undefined&limit=undefined' \
--header 'X-API-Key: <api-key>'{
"data": [
{
"id": "string",
"leadId": "string",
"reasonCode": "string",
"reasonLabel": "string",
"status": "string",
"statusLabel": "string",
"customerMemo": "string",
"adminNote": "string",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"lead": {
"id": "string",
"name": "string",
"phone": "string",
"region": "string",
"product": {
"id": "string",
"name": "string"
}
}
}
],
"pagination": {
"page": 0,
"limit": 0,
"total": 0,
"totalPages": 0
}
}