Перейти к основному содержимому

Создание нового контракта

Существует следующий процесс создания контракта по указанной заявке:

  1. Сначала создается заявка. Описание создания заявки Вы можете найти здесь. Следует принять во внимание, что при создании заявки в канале поступления нужно убрать галочку "Автоматическое создание контракта" (Админ-->Электронная коммерция-->Каналы-->Название Канала).

  2. Затем происходит инициализация контракта по заявке на займ.

--> 3. В последнем шаге происходит создание нового контракта. В тело запроса вставляется JSON-файл, созданный в предыдущем шаге.

Request Body required

request

    additional boolean
    barcode string
    branchId int64
    captive boolean
    clientId int64
    collateralLineId int64
    comment string
    contractAgentId int64
    contractCollectorId int64
    creationDate date
    creditFieldReq object
    allowHolidaysPayment boolean
    allowPrepayment boolean
    amountSecondPeriod double
    arrearInterestFirstDay int32
    arrearInterestLastDay int32
    calcArrearInterest boolean
    calcIntOnDelinqBalanceOnlyAtDelinqIntRate boolean
    calcIntOnIssueDate boolean
    calcInterestOnDelinqBalance boolean
    calendarDaysPenalty boolean
    chargeExtraInterest boolean
    creditLineId int64
    dateCalcMethodId int64
    delayPenaltyDay int32
    delinqIntRateDelay int32
    delinquencyIntRate double
    discountingEnabled boolean
    earlyProlongationFromCurrentDate boolean
    extraIntDaysQty int32
    fees object[]
  • Array [
  • amountTypeId int64
    chargeBaseId int64
    chargeMomentId int64
    chargePenalty boolean
    compositeValue string
    id int64
    includeInTrancheAmountChargeBase boolean
    involvedInFullCostCalc boolean
    notForCharge boolean
    notForRepayment boolean
    value double
    valueTypeId int64
  • ]
  • firstWeekendWithoutPenalty boolean
    fixedDelayPenalty double
    forepaymentConsiderationMethodId int64
    fullScheduleDatesRecalc boolean
    id int64
    intRateFirstPeriod double
    intRateSecondPeriod double
    interestCalcMethodId int64
    interestChargeMethodId int64
    interestForTranche double
    interestGracePeriod int32
    interestLgotPeriod int32
    interestLgotRate double
    interestOnLoanAmount boolean
    interestRateTypeId int64
    inviteAmountPct double
    inviteDiscountPerFriend double
    inviteMinIntRate double
    keepUsingDelinqIntRate boolean
    mandatoryChargePeriod int32
    penaltyRatePeriodFrom string

    Possible values: [FROM_DELINQUENCY_START_BY_STATUS, FROM_TRANCHE_REPAYMENT_DATE]

    penaltyRates object[]
  • Array [
  • feeRate double
    id int64
    interestRate double
    keyRateCB double
    keyRateCBTypeId int64
    periodBegin int32
    periodEnd int32
    principalRate double
  • ]
  • penaltyTypeId int64
    principalDistribMethodId int64
    principalParts object[]
  • Array [
  • id int64
    part double
    trancheNo int32
  • ]
  • prolongationOnNewSchedule boolean
    prolongationPeriod int32
    prolongedIntToLastTranche boolean
    qtyDaysStopPenaltyOnClose int32
    qtyTranchesFirstPeriod int32
    qtyTranchesRepNormSecondPeriod int32
    qtyTranchesSecondPeriod int32
    repaymentNorm double
    repaymentSequenceId int64
    scheduleRecalcEnabled boolean
    shiftFirstRepaymentDate boolean
    shortTermControl boolean
    stopPenaltyOnClose boolean
    trancheCount int32
    trancheDuration int32
    useDelinqIntRateForPsk boolean
    useDelinqIntRateTillNextTranche boolean
    useEirForDiscounting boolean
    creditOfficerId int64
    creditProductId int64
    creditProductName string
    currencyId int64
    defermentDate date-time
    defermentDistributionType string
    defermentProlongationTranchesQty int32
    defermentTranchesQty int32
    defermentType string
    definedIntForepaymentAmount double
    depositFieldId int64
    depositProductId int64
    determinationDate date
    documentsReceived boolean
    donorId int64
    estimateFee double
    firstRepaymentDate date
    fixedEstimateFee double
    fixedInsuranceFee double
    fixedJoinFee double
    forIssue boolean
    forIssueSetupCreditOfficerId int64
    forIssueSetupDate date-time
    fullTaxAmount double
    id int64
    institutionDate date
    insurance boolean
    insuranceFee double
    insurancePolicy string
    insurancePremiumAmount double
    insurancePremiumRate double
    issuePlanDate date
    joinFee double
    loadingDate date
    loanAmount double
    loanApplicationId int64
    loanCategoryId int64
    loanStage int32
    merchantCommissionRate double
    msfoIntReserveRate double
    msfoReserveRate double
    name string
    ofertaCode string
    originalContractId int64
    prevPeriodDelinqDays int32
    prevProlongationsQty int32
    repaymentNorm double
    repaymentPlanDate date
    subdivisionId int64
    subsidyAmount double
    uid string
    underCourt boolean
    underCourtAmount double
    underCourtDate date
Responses

OK


Schema
    additional boolean
    autoCalcSchedule boolean
    barcode string
    branchId int64
    captive boolean
    clientGroupId int64
    clientId int64
    closeDate date-time
    closedStatusId int64
    collateralLineId int64
    comment string
    contactDocId string
    contactNewOutgoingDate date-time
    contactTrnReference string
    contractAgentId int64
    contractCollectorId int64
    contractLine object
    id int64
    lineLimit int64
    contractTypeId int64
    createSubdivisionId int64
    createUserId int32
    creationDate date
    creditFieldReq object
    allowHolidaysPayment boolean
    allowPrepayment boolean
    amountSecondPeriod double
    arrearInterestFirstDay int32
    arrearInterestLastDay int32
    calcArrearInterest boolean
    calcIntOnDelinqBalanceOnlyAtDelinqIntRate boolean
    calcIntOnIssueDate boolean
    calcInterestOnDelinqBalance boolean
    calendarDaysPenalty boolean
    chargeExtraInterest boolean
    creditLineId int64
    dateCalcMethodId int64
    delayPenaltyDay int32
    delinqIntRateDelay int32
    delinquencyIntRate double
    discountingEnabled boolean
    earlyProlongationFromCurrentDate boolean
    extraIntDaysQty int32
    fees object[]
  • Array [
  • amountTypeId int64
    chargeBaseId int64
    chargeMomentId int64
    chargePenalty boolean
    compositeValue string
    id int64
    includeInTrancheAmountChargeBase boolean
    involvedInFullCostCalc boolean
    notForCharge boolean
    notForRepayment boolean
    value double
    valueTypeId int64
  • ]
  • firstWeekendWithoutPenalty boolean
    fixedDelayPenalty double
    forepaymentConsiderationMethodId int64
    fullScheduleDatesRecalc boolean
    id int64
    intRateFirstPeriod double
    intRateSecondPeriod double
    interestCalcMethodId int64
    interestChargeMethodId int64
    interestForTranche double
    interestGracePeriod int32
    interestLgotPeriod int32
    interestLgotRate double
    interestOnLoanAmount boolean
    interestRateTypeId int64
    inviteAmountPct double
    inviteDiscountPerFriend double
    inviteMinIntRate double
    keepUsingDelinqIntRate boolean
    mandatoryChargePeriod int32
    penaltyRatePeriodFrom string

    Possible values: [FROM_DELINQUENCY_START_BY_STATUS, FROM_TRANCHE_REPAYMENT_DATE]

    penaltyRates object[]
  • Array [
  • feeRate double
    id int64
    interestRate double
    keyRateCB double
    keyRateCBTypeId int64
    periodBegin int32
    periodEnd int32
    principalRate double
  • ]
  • penaltyTypeId int64
    principalDistribMethodId int64
    principalParts object[]
  • Array [
  • id int64
    part double
    trancheNo int32
  • ]
  • prolongationOnNewSchedule boolean
    prolongationPeriod int32
    prolongedIntToLastTranche boolean
    qtyDaysStopPenaltyOnClose int32
    qtyTranchesFirstPeriod int32
    qtyTranchesRepNormSecondPeriod int32
    qtyTranchesSecondPeriod int32
    repaymentNorm double
    repaymentSequenceId int64
    scheduleRecalcEnabled boolean
    shiftFirstRepaymentDate boolean
    shortTermControl boolean
    stopPenaltyOnClose boolean
    trancheCount int32
    trancheDuration int32
    useDelinqIntRateForPsk boolean
    useDelinqIntRateTillNextTranche boolean
    useEirForDiscounting boolean
    creditOfficerId int64
    creditProductId int64
    creditProductName string
    currencyId int64
    currentStatusId int64
    defermentDate date-time
    defermentDistributionType string
    defermentProlongationTranchesQty int32
    defermentTranchesQty int32
    defermentType string
    definedIntForepaymentAmount double
    depositFieldId int64
    depositProductId int64
    determinationDate date
    documentsReceived boolean
    donorId int64
    dropOutDate date-time
    effectiveRateDiscount double
    eirForInvestor double
    estimateFee double
    firstRepaymentDate date
    fixedEstimateFee double
    fixedInsuranceFee double
    fixedJoinFee double
    forIssue boolean
    forIssueSetupCreditOfficerId int64
    forIssueSetupDate date-time
    fullCostOfCredit double
    fullTaxAmount double
    groupConventionId int64
    id int64
    indexed boolean
    institutionDate date
    insurance boolean
    insuranceFee double
    insurancePolicy string
    insurancePremiumAmount double
    insurancePremiumRate double
    issueDate date-time
    issueInProcess boolean
    issuePlanDate date
    joinFee double
    lastIntLimitDate date
    loadingDate date
    loanAmount double
    loanApplicationId int64
    loanCategoryId int64
    loanStage int32
    marketRate double
    merchantCommissionRate double
    msfoIntReserveRate double
    msfoReserveRate double
    name string
    ofertaCode string
    originalContractId int64
    prevPeriodDelinqDays int32
    prevProlongationsQty int32
    prolonged boolean
    repaymentNorm double
    repaymentPlanDate date
    restructedContractId int64
    schedules object[]
  • Array [
  • activeBefore date-time
    amount double
    chargeIssueFee boolean
    creationDate date-time
    eachRepaymentFeeFree boolean
    id int64
    issued boolean
    specifiedRepaymentNorm double
    tranches object[]
  • Array [
  • eachRepaymentFee double
    eachRepaymentFeeByType object[]
  • Array [
  • amount double
    amountType int64
    feeId int64
  • ]
  • id int64
    interest double
    issueDate date
    lgot boolean
    principal double
    repaymentDate date
    rest double
  • ]
  • ]
  • subdivisionId int64
    subsidyAmount double
    uid string
    underCourt boolean
    underCourtAmount double
    underCourtDate date
Loading...