$.ajax({
url: "queryModel.json",
type: "POST",
data: {
queryModelCode: "contractCard",
id: 13063250
},
dataType: "json"
}).done(function (x) {
console.log(
"DIRECT contractCard:",
x.id,
x.contractTemplateId,
x.contractTemplateCode,
Object.keys(x).filter(function (key) {
return key.toLowerCase().includes("template");
})
);
});
{readyState: 1, getResponseHeader: ƒ, getAllResponseHeaders: ƒ, setRequestHeader: ƒ, overrideMimeType: ƒ, …}abort: ƒ ( statusText )always: ƒ ()catch: ƒ ( fn )done: ƒ ()fail: ƒ ()getAllResponseHeaders: ƒ ()getResponseHeader: ƒ ( key )overrideMimeType: ƒ ( type )pipe: ƒ ( /* fnDone, fnFail, fnProgress */ )progress: ƒ ()promise: ƒ ( obj )readyState: 4responseJSON: {date: '08.04.2014', serviceType: 'NPO', changeInheritanceTypeBySharerText: 'Запрещено', periodicityPayment: 'Ежемесячно', agentCode: '', …}responseText: "{\"date\":\"08.04.2014\",\"serviceType\":\"NPO\",\"changeInheritanceTypeBySharerText\":\"Запрещено\",\"periodicityPayment\":\"Ежемесячно\",\"agentCode\":\"\",\"contractType\":\"КПП\",\"accountManagementForm\":\"JOINT\",\"terminationDate\":\"\",\"number\":\"0021435\",\"postaccrualIncomeActionText\":\"\",\"clientType\":\"1\",\"fundBranchName\":\"г. Москва\",\"nonstandardReasonId\":\"\",\"inheritanceTypeCode\":\"\",\"id\":\"13063250\",\"closeReason\":\"\",\"terminationReason\":\"\",\"familyMember\":\"false\",\"investType\":\"\",\"minYearIncome\":\"0.00\",\"pensionDepositValueFormatted\":\"0.00\",\"serviceTypeRus\":\"НПО\",\"annulledDate\":\"\",\"k1\":\"\",\"uorls_document_file\":\"\",\"agentName\":\"УШАКОВА А.А.\",\"newInsurerName\":\"\",\"periodicityPayoutId\":\"1\",\"editionNumber\":\"редакция 8\",\"sharerIndividualId\":\"\",\"accountManagementFormText\":\"Солидарная\",\"mgdPayments\":\"\",\"fundName\":\"\",\"uorls_document_id\":\"\",\"minTariffRateFormatted\":\"\",\"saleChannelText\":\"\",\"inheritanceTypeText\":\"\",\"contractClassName\":\"\",\"contractIndividualId\":\"\",\"saleChannelId\":\"\",\"fundNameShort\":\"\",\"currState\":\"-7 798.88\",\"periodicityPayout\":\"Ежемесячно\",\"clientTypeText\":\"НПО корпоративный\",\"departmentType\":\"\",\"pensionRule\":\"Пенсионные правила редакции № редакция 8 от 07.08.2025\",\"contractLifeCicle\":\"Действующий\",\"postaccrualIncomeAction\":\"\",\"investStrategyName\":\"Базовая 2024 (БУД)\",\"actionDate\":\"05.06.2014\",\"pensionDepositValue\":\"0.00\",\"nameInPfr\":\"ДОСТОЙНОЕ БУДУЩЕЕ НПФ\",\"createDate\":\"\",\"deathTableName\":\"\",\"affiliateProgramContractId\":\"\",\"entityId\":\"34953\",\"deathTableId\":\"\",\"mgdAccumulation\":\"\",\"minTariffRate\":\"\",\"affiliateProgramContractText\":\" ()\",\"closeDate\":\"\",\"periodicityPaymentId\":\"1\",\"investor\":\"ООО \\\"ТЕКЛЮБ\\\"\",\"investTypeText\":\"\",\"pensionRuleId\":\"352\",\"nonstandardReason\":\"\",\"comment\":\"Миграция из \\\"НПФ \\\"Сафмар\\\"\",\"effectiveDate\":\"\",\"previousInsurerName\":\"\"}"setRequestHeader: ƒ ( name, value )state: ƒ ()status: 200statusCode: ƒ ( map )statusText: "success"then: ƒ ( onFulfilled, onRejected, onProgress )[[Prototype]]: Object
VM6394:10 DIRECT contractCard: 13063250 undefined undefined []