myDocument/quantec/pbp/customerList
2024-09-11 10:54:54 +09:00
..
image-1.png 하나증권관련 업데이트 2024-09-11 10:54:54 +09:00
image.png 하나증권관련 업데이트 2024-09-11 10:54:54 +09:00
README.md 하나증권관련 업데이트 2024-09-11 10:54:54 +09:00

alt text

// 고객관리 고객리스트 --> [조회] 클릭시 아래 api 호출

[get] /customer/management


interface ICustomerContainer extends ICustomerSearch {
  page: number; // * 페이지
  pageSize?: number; // * 페이지당 건수
  sortFields?: string; // * 정렬항목
  sccoFnstCd?: string; // * 증권사 금융기관코드
  sccoEmpId?: string; // * 증권사 직원ID
  userId?: string; // * 사용자ID
  role?: 'ROLE_PB' | 'ROLE_CUST' | 'ROLE_ADMIN';
}


interface ICustomerListResult {
  rows: ICustomerListRowData[];
  pageInfos: ICustomerPageInfo;
}

interface ICustomerListRowData {
  customerId: string;
  customerName: string;
  mobilePhoneNo: string;
  genderCode: string;
  gender: string;
  investPropensityCode: string;
  investPropensity: string;
  profitRate: number;
  birthday: string;
  joinDate: string;
  totalInvestAmount: number;
  customerDivisionCode: string;
  customerDivision: string;
  accountNoList: string[];
  valuationAmount: number;
  profitAmount: number;
}

interface ICustomerPageInfo {
  page: number;
  pageSize: number;
  totalCount: number;
}

alt text

[get] /account/portfolio/strategy/invest