production
development
https://mtls-api.discountbank.co.il/prod/d
Paths
/accountProfileOffers
post /accountProfileOffers
b8470398-9aed-4419-b8ac-b819a65ec392
Oauth 2.1 B2B
Oauth 2.1 B2B
(oauth2 application)
B2B Authorization
Token URL
https://$(api.endpoint.hostname)/$(api.org.name)/$(env.path)/b2b/token
Scopes
campaign_data
data
body
Optional in body
object
Authorization
Required in header
string
Content-Authorization
Required in header
string
שדה לשתיחת JWT
Accept-Language
Required in header
string
X-Global-Transaction-ID
Optional in header
string
Accept
Required in header
string
Content-Type
Optional in header
string
Example Request
Example Response
POST https://mtls-api.discountbank.co.il/prod/d/CampaignServices/accountProfileOffers
Try this operation
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa.
No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).
Definitions
{
"properties": {
"error": {
"type": "array",
"items": {
"type": "string"
}
},
"warning": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
"required": [
"error"
]
}
{
"properties": [],
"additionalProperties": false
}
{
"properties": {
"data": {
"title": "data",
"description": "אובייקט אב",
"type": "object",
"properties": {
"valuePropositions": {
"type": "array",
"items": {
"title": "valuePropositions",
"description": "מערך הצעות ערך",
"type": "object",
"properties": {
"accountID": {
"title": "accountID",
"description": "מזהה חשבון",
"type": "string",
"pattern": "^[0-9]{1,4}-[0-9]{1,10}$",
"example": "140-334543"
},
"externalAccountID": {
"title": "externalAccountID",
"description": "מזהה חשבון במערכת חיצונית",
"type": "string"
},
"valuePropositionID": {
"title": "valuePropositionID",
"description": "מזהה הצעת ערך",
"type": "string"
},
"campaignID": {
"title": "campaignID",
"description": "מזהה קמפיין",
"type": "number",
"minimum": 0
},
"priority": {
"title": "priority",
"description": "עדיפות",
"type": "number",
"minimum": 0
},
"propositionReasonText": {
"title": "propositionReasonText",
"description": "סיבה",
"type": "string",
"example": "\"פוטנציאליים לתוכנית משפחה על פי הקריטריונים של החשבון\""
},
"handlingBranchID": {
"title": "handlingBranchID",
"description": "סניף מנהל",
"type": "string",
"maxLength": 4
}
},
"required": [
"campaignID",
"priority",
"valuePropositionID",
"accountID",
"handlingBranchID",
"externalAccountID"
]
}
}
},
"required": [
"valuePropositions"
]
}
}
}
{
"properties": {
"data": {
"title": "data",
"description": "אובייקט אב",
"type": "object",
"properties": {
"offers": {
"type": "array",
"items": {
"title": "offers",
"description": "מערך הצעות",
"type": "object",
"properties": {
"offerName": {
"title": "offerName",
"description": "שם הצעה",
"type": "string"
},
"currentAccountBalance": {
"title": "currentAccountBalance",
"description": "יתרת עו\"ש",
"type": "number"
},
"offerScore": {
"title": "offerScore",
"description": "ציון הצעה",
"type": "number"
},
"accountName": {
"title": "accountName",
"description": "שם חשבון",
"type": "string",
"example": "ועד בית הנדיב 13 רמת-ישי"
},
"approvedCreditAddition": {
"title": "approvedCreditAddition",
"description": "תוספת אשראי מאושרת",
"type": "number"
},
"offerReasonDescription": {
"title": "offerReasonDescription",
"description": "שם סיבת הצעה",
"type": "string"
},
"offerProductName": {
"title": "offerProductName",
"description": "שם מוצר הצעה",
"type": "string"
},
"offerSubProductName": {
"title": "offerSubProductName",
"description": "שם תת מוצר הצעה",
"type": "string"
},
"offerPriority": {
"title": "offerPriority",
"description": "עדיפות הצעה (סימון הצעה)",
"type": "string",
"enum": [
"High",
"Low",
"Medium"
]
},
"handlingBranchID": {
"title": "handlingBranchID",
"description": "סניף מנהל",
"type": "string",
"maxLength": 4
},
"accountID": {
"title": "accountID",
"description": "מזהה חשבון",
"type": "string",
"pattern": "^[0-9]{1,4}-[0-9]{1,10}$",
"example": "140-334543"
},
"customerSalary": {
"title": "customerSalary",
"description": "משכורת של לקוח",
"type": "number"
},
"creditFacility": {
"title": "creditFacility",
"description": "מסגרת קו אשראי",
"type": "number"
},
"offerID": {
"title": "offerID",
"description": "מזהה הצעה",
"type": "number"
},
"businessProductsCount": {
"title": "businessProductsCount",
"description": "כמות מוצרים בנקאיים (עוגנים)",
"type": "number"
}
},
"required": [
"offerID",
"accountID",
"offerScore"
]
}
},
"offersCount": {
"title": "offersCount",
"description": "מספר הצעות סה\"כ",
"type": "number"
}
}
}
}
}
{
"properties": {
"accountID": {
"title": "accountID",
"description": "מזהה חשבון",
"type": "string",
"pattern": "^[0-9]{1,4}-[0-9]{1,10}$",
"example": "140-334543"
},
"caseCreationTimestamp": {
"title": "caseCreationTimestamp",
"description": "מועד יצירת הפניה",
"type": "string",
"format": "date-time"
}
},
"required": [
"caseCreationTimestamp",
"accountID"
]
}
{
"properties": {
"data": {
"title": "data",
"description": "אובייקט אב",
"type": "object",
"properties": []
}
}
}
{
"properties": {
"customerStatus": {
"title": "customerStatus",
"description": "סטאטוס לקוח",
"type": "string",
"enum": [
"New",
"ActiveWithoutProducts",
"ActiveWithProducts",
"Inactive",
"Potential",
"PasserBy"
]
},
"accountOwnerType": {
"title": "accountOwnerType",
"description": "סוג בעלי חשבון",
"type": "string",
"enum": [
"Group",
"Single"
]
},
"investmentProductsExpected": {
"title": "investmentProductsExpected",
"description": "היקף פאסיבה הצפויה בחשבון",
"type": "number",
"minimum": 0
},
"expectedSalaryTotal": {
"title": "expectedSalaryTotal",
"description": "סה\"כ משכורת צפויה",
"type": "number"
},
"accountType": {
"title": "accountType",
"description": "סוג חשבון",
"type": "string",
"enum": [
"Private",
"Business"
]
},
"accountParticipants": {
"type": "array",
"items": {
"title": "accountParticipants",
"description": "משתתפים בחשבון",
"type": "object",
"properties": {
"employmentStatusGroup": {
"title": "employmentStatusGroup",
"description": "קבוצת סטאטוס עבודה",
"type": "string",
"enum": [
"NationalService",
"Soldier",
"Employee",
"Pensioner",
"SelfEmployed",
"Youth",
"Unemployed",
"DischargedSoldier",
"Student",
"Other"
]
},
"employmentSubStatusGroup": {
"title": "employmentSubStatusGroup",
"description": "קבוצת תת סטאטוס תעסוקה",
"type": "string",
"enum": [
"CapitalMarketsAndFinance",
"FirstDegreeStudent",
"RetiredTeacher",
"SelfEmployedOther",
"Teacher",
"Doctor",
"SecondDegreeStudent",
"RetiredOther",
"SelfEmployedDoctor",
"StateWorker",
"EmployeeOther",
"RetiredStateWorker",
"Lawyer",
"SelfEmployedLawyer",
"HighTech",
"Other"
]
},
"customerID": {
"title": "customerID",
"description": "מזהה לקוח",
"type": "string"
},
"partialOrFullBirthDate": {
"title": "partialOrFullBirthDate",
"description": "תאריך לידה חלקי או מלא",
"type": "string",
"minLength": 4,
"maxLength": 8,
"example": "021960 03021960 1960"
},
"workPlaceType": {
"title": "workPlaceType",
"description": "סוג מקום עבודה (הסדר)",
"type": "string",
"enum": [
"CapitalMarketsAndFinance",
"Outsourcing",
"HighTech"
]
},
"birthDateFormat": {
"title": "birthDateFormat",
"description": "מבנה תאריך לידה",
"type": "string",
"enum": [
"NoDateOfBirth",
"WithinYear",
"Year",
"YearMonth",
"YearMonthDay"
]
}
},
"required": [
"customerID",
"partialOrFullBirthDate",
"employmentStatusGroup",
"employmentSubStatusGroup"
]
}
}
},
"required": [
"expectedSalaryTotal",
"customerStatus",
"accountParticipants"
]
}
{
"properties": {
"data": {
"title": "data",
"description": "אובייקט אב",
"type": "object",
"properties": {
"recommendations": {
"type": "array",
"items": {
"title": "recommendations",
"description": "רשימת הצעות\/ המלצות לפתיחת חשבון",
"type": "object",
"properties": {
"subProductCode": {
"title": "subProductCode",
"description": "קוד תת מוצר ",
"type": "string",
"minimum": 0
},
"statusCertificatesRequiredQuantity": {
"title": "statusCertificatesRequiredQuantity",
"description": "כמות נדרשת של תעודות תומכות סטטוס",
"type": "number"
},
"isSelectedRecommendation": {
"title": "isSelectedRecommendation",
"description": "האם המלצה נבחרת",
"type": "boolean"
},
"customerGroupDescription": {
"title": "customerGroupDescription",
"description": "תיאור קבוצת לקוח",
"type": "string",
"minimum": 0
},
"creditCardOffer": {
"title": "creditCardOffer",
"description": "הצעה לכרטיס אשראי",
"type": "boolean"
},
"recommendationPriority": {
"title": "recommendationPriority",
"description": "עדיפות המלצה",
"type": "number"
},
"commisionTrackOffer": {
"title": "commisionTrackOffer",
"description": "הצעת מסלול עמלות",
"type": "boolean"
},
"recommendationID": {
"title": "recommendationID",
"description": "מזהה המלצה",
"type": "string"
},
"customerSegmentCode": {
"title": "customerSegmentCode",
"description": "קוד פלח הלקוח",
"type": "string",
"minimum": 0
},
"statusCertificates": {
"type": "array",
"items": {
"title": "statusCertificates",
"description": "תעודות תומכות סטטוס",
"type": "object",
"properties": {
"statusCertificateType": {
"title": "statusCertificateType",
"description": "סוג תעודת תומכת סטטוס",
"type": "string",
"enum": [
"PensionSlip",
"EmployeeCard",
"NationalServiceCertificate",
"ArmyReleasePapers",
"ArmyServiceCard",
"DoctorCertificate",
"TeachersUnionCard",
"Paycheck",
"BarAssociationCard",
"StudentCard",
"TuitionPaymentApproval"
]
},
"statusCertificateDescription": {
"title": "statusCertificateDescription",
"description": "תיאור תעודת תומכת סטטוס",
"type": "string"
}
}
}
},
"digitalBranchOffer": {
"title": "digitalBranchOffer",
"description": "הצעה לצירוף לסניף דיגיטלי\/טאצר",
"type": "boolean"
},
"customerID": {
"title": "customerID",
"description": "מזהה לקוח",
"type": "string",
"minimum": 0
},
"debitCardOffer": {
"title": "debitCardOffer",
"description": "הצעת כרטיס חיוב",
"type": "boolean"
},
"debitCardType": {
"title": "debitCardType",
"description": "סוג כרטיס חיוב",
"type": "string",
"enum": [
"Young",
"Regular"
]
},
"recommendationType": {
"title": "recommendationType",
"description": "סוג המלצה",
"type": "string",
"enum": [
"Participant",
"CustomerStatus",
"Digital"
]
},
"customerGroupCode": {
"title": "customerGroupCode",
"description": "קוד קבוצת הלקוח",
"type": "string",
"minimum": 0
},
"customerSegmentDescription": {
"title": "customerSegmentDescription",
"description": "תיאור פלח הלקוח",
"type": "string",
"minimum": 0
}
},
"required": [
"recommendationID",
"recommendationPriority",
"isSelectedRecommendation",
"subProductCode",
"commisionTrackOffer",
"digitalBranchOffer",
"creditCardOffer"
]
}
}
},
"required": [
"recommendations"
]
}
}
}
{
"properties": {
"data": {
"title": "data",
"description": "אובייקט אב",
"type": "object",
"properties": {
"accountOpeningOffers": {
"type": "array",
"items": {
"title": "accountOpeningOffers",
"description": "רשימת הצעות\/ המלצות לפתיחת חשבון",
"type": "object",
"properties": {
"subProductCode": {
"title": "subProductCode",
"description": "קוד תת מוצר ",
"type": "string",
"minimum": 0
},
"statusCertificatesRequiredQuantity": {
"title": "statusCertificatesRequiredQuantity",
"description": "כמות נדרשת של תעודות תומכות סטטוס",
"type": "number"
},
"customerGroupDescription": {
"title": "customerGroupDescription",
"description": "תיאור קבוצת לקוח",
"type": "string",
"minimum": 0
},
"creditCardOffer": {
"title": "creditCardOffer",
"description": "הצעה לכרטיס אשראי",
"type": "boolean"
},
"commisionTrackOffer": {
"title": "commisionTrackOffer",
"description": "הצעת מסלול עמלות",
"type": "boolean"
},
"offerPriority": {
"title": "offerPriority",
"description": "עדיפות המלצה",
"type": "number"
},
"customerSegmentCode": {
"title": "customerSegmentCode",
"description": "קוד פלח הלקוח",
"type": "string",
"minimum": 0
},
"statusCertificates": {
"type": "array",
"items": {
"title": "statusCertificates",
"description": "תעודות תומכות סטטוס",
"type": "object",
"properties": {
"statusCertificateType": {
"title": "statusCertificateType",
"description": "סוג תעודת תומכת סטטוס",
"type": "string",
"enum": [
"PensionSlip",
"EmployeeCard",
"NationalServiceCertificate",
"ArmyReleasePapers",
"ArmyServiceCard",
"DoctorCertificate",
"AccountantLicense",
"TeachersUnionCard",
"Paycheck",
"BarAssociationCard",
"StudentCard",
"TuitionPaymentApproval"
]
},
"statusCertificateDescription": {
"title": "statusCertificateDescription",
"description": "תיאור תעודת תומכת סטטוס",
"type": "string"
}
}
}
},
"digitalBranchOffer": {
"title": "digitalBranchOffer",
"description": "הצעה לצירוף לסניף דיגיטלי\/טאצר",
"type": "boolean"
},
"customerID": {
"title": "customerID",
"description": "מזהה לקוח",
"type": "string",
"minimum": 0
},
"offerID": {
"title": "offerID",
"description": "מזהה הצעה",
"type": "string"
},
"accountOpeningOfferType": {
"title": "accountOpeningOfferType",
"description": "סוג המלצה",
"type": "string",
"enum": [
"Participant",
"CustomerStatus",
"Digital"
]
},
"debitCardOffer": {
"title": "debitCardOffer",
"description": "הצעת כרטיס חיוב",
"type": "boolean"
},
"debitCardType": {
"title": "debitCardType",
"description": "סוג כרטיס חיוב",
"type": "string",
"enum": [
"Young",
"Regular"
]
},
"customerGroupCode": {
"title": "customerGroupCode",
"description": "קוד קבוצת הלקוח",
"type": "string",
"minimum": 0
},
"customerSegmentDescription": {
"title": "customerSegmentDescription",
"description": "תיאור פלח הלקוח",
"type": "string",
"minimum": 0
},
"isSelectedOffer": {
"title": "isSelectedOffer",
"description": "האם ההמלצה הנבחרת",
"type": "boolean"
}
},
"required": [
"offerID",
"offerPriority",
"isSelectedOffer",
"subProductCode",
"commisionTrackOffer",
"digitalBranchOffer",
"creditCardOffer"
]
}
}
},
"required": [
"accountOpeningOffers"
]
}
}
}
{
"properties": {
"customerStatus": {
"title": "customerStatus",
"description": "סטאטוס לקוח",
"type": "string",
"enum": [
"New",
"ActiveWithoutProducts",
"ActiveWithProducts",
"Inactive",
"Potential",
"PasserBy"
]
},
"accountOwnerType": {
"title": "accountOwnerType",
"description": "סוג בעלי חשבון",
"type": "string",
"enum": [
"Group",
"Single"
]
},
"investmentProductsExpected": {
"title": "investmentProductsExpected",
"description": "היקף פאסיבה הצפויה בחשבון",
"type": "number",
"minimum": 0
},
"expectedSalaryTotal": {
"title": "expectedSalaryTotal",
"description": "סה\"כ משכורת צפויה",
"type": "number"
},
"accountType": {
"title": "accountType",
"description": "סוג חשבון",
"type": "string",
"enum": [
"Private",
"Business"
]
},
"accountParticipants": {
"type": "array",
"items": {
"title": "accountParticipants",
"description": "משתתפים בחשבון",
"type": "object",
"properties": {
"employmentStatusGroup": {
"title": "employmentStatusGroup",
"description": "קבוצת סטאטוס עבודה",
"type": "string",
"enum": [
"NationalService",
"Soldier",
"Employee",
"Pensioner",
"SelfEmployed",
"Youth",
"Unemployed",
"DischargedSoldier",
"Student",
"Other"
]
},
"employmentSubStatusGroup": {
"title": "employmentSubStatusGroup",
"description": "קבוצת תת סטאטוס תעסוקה",
"type": "string",
"enum": [
"CapitalMarketsAndFinance",
"FirstDegreeStudent",
"RetiredTeacher",
"Teacher",
"Accountant",
"Doctor",
"SecondDegreeStudent",
"SelfEmployedDoctor",
"StateWorker",
"RetiredStateWorker",
"Lawyer",
"SelfEmployedLawyer",
"HighTech",
"Other"
]
},
"customerID": {
"title": "customerID",
"description": "מזהה לקוח",
"type": "string"
},
"partialOrFullBirthDate": {
"title": "partialOrFullBirthDate",
"description": "תאריך לידה חלקי או מלא",
"type": "string",
"minLength": 4,
"maxLength": 8,
"example": "021960 03021960 1960"
},
"workPlaceType": {
"title": "workPlaceType",
"description": "סוג מקום עבודה (הסדר)",
"type": "string",
"enum": [
"CapitalMarketsAndFinance",
"Outsourcing",
"HighTech"
]
},
"birthDateFormat": {
"title": "birthDateFormat",
"description": "מבנה תאריך לידה",
"type": "string",
"enum": [
"NoDateOfBirth",
"WithinYear",
"Year",
"YearMonth",
"YearMonthDay"
]
}
},
"required": [
"customerID",
"employmentStatusGroup",
"employmentSubStatusGroup"
]
}
}
},
"required": [
"expectedSalaryTotal",
"customerStatus",
"accountParticipants"
],
"additionalProperties": false
}