POST api/{apiVersion}/Insurance/Offer

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiVersion

string

None.

Body Parameters

OfferRequest
NameDescriptionTypeAdditional information
ForeignIdentityNumber

string

None.

PassportNumber

string

None.

Name

string

None.

Surname

string

None.

BirthDate

string

None.

FatherName

string

None.

Email

string

None.

PhoneNumber

string

None.

Nationality

Country

None.

Gender

KeyValue

None.

MaritalStatus

KeyValue

None.

KvkkChecked

boolean

None.

UserAgreementsChecked

boolean

None.

Province

City

None.

District

District

None.

Town

Town

None.

Neighborhood

KeyValue

None.

Street

Csbm

None.

Building

KeyValue

None.

Apartment

KeyValue

None.

CustomerId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "ForeignIdentityNumber": "sample string 1",
  "PassportNumber": "sample string 2",
  "Name": "sample string 3",
  "Surname": "sample string 4",
  "BirthDate": "sample string 5",
  "FatherName": "sample string 6",
  "Email": "sample string 7",
  "PhoneNumber": "sample string 8",
  "Nationality": {
    "CountryId": "553f6aa7-f11f-4eb3-8462-55f4fca5164a",
    "CountryName": "sample string 2",
    "CountryShortCode": "sample string 3",
    "IsoCode3": "sample string 4",
    "TelephoneCode": "sample string 5",
    "BlackListCheck": true,
    "LocalCurrencyId": "ab99ed19-26ee-42ea-89d9-4992dd254711",
    "IsPersonalSecurity": true,
    "LangId": 9,
    "IsSepaCountry": true,
    "IsMobileUseCase": true,
    "IsTurkey": true,
    "YKPSCode": "sample string 13"
  },
  "Gender": {
    "id": 1,
    "title": "sample string 2"
  },
  "MaritalStatus": {
    "id": 1,
    "title": "sample string 2"
  },
  "KvkkChecked": true,
  "UserAgreementsChecked": true,
  "Province": {
    "CITYCODE": "sample string 1",
    "CITYNAME": "sample string 2"
  },
  "District": {
    "DISTRICT": "sample string 1",
    "DISTRICT_CODE": 2
  },
  "Town": {
    "TOWNCODE": "sample string 1",
    "TOWNNAME": "sample string 2"
  },
  "Neighborhood": {
    "id": 1,
    "title": "sample string 2"
  },
  "Street": {
    "CSBM_TYPE": 1,
    "CSBM": "sample string 2",
    "CSBM_CODE": 3
  },
  "Building": {
    "id": 1,
    "title": "sample string 2"
  },
  "Apartment": {
    "id": 1,
    "title": "sample string 2"
  },
  "CustomerId": "f0fd578b-120a-4cc9-9973-1f5455d6f85f"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResponseOfOfferResponse
NameDescriptionTypeAdditional information
Code

integer

None.

Message

string

None.

Response

OfferResponse

None.

IsShowMessage

boolean

None.

IsShowRateAndReview

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2",
  "Response": {
    "EBS_WS_PROPOSAL_Response": {
      "GUID": "sample string 1",
      "PROPOSALS": {
        "PROPOSAL": {
          "BENEFIT": [
            {
              "NAME": "sample string 1",
              "CODE": "sample string 2",
              "PRODUCT_CODE": {},
              "AMOUNT": "sample string 4"
            },
            {
              "NAME": "sample string 1",
              "CODE": "sample string 2",
              "PRODUCT_CODE": {},
              "AMOUNT": "sample string 4"
            }
          ],
          "PREMIUM": {
            "GROSS_PREMIUM": "sample string 1",
            "NET_PREMIUM": "sample string 2",
            "PAYMENT_TYPE": "sample string 3",
            "PAYMENT_EXPLANATION": "sample string 4",
            "INSURANCE_COMPANY": "sample string 5",
            "PRODUCT_CODE": "sample string 6"
          },
          "EBS_PROPOSAL_ID": "sample string 1",
          "PRODUCT_ID": "sample string 2",
          "PRODUCT_NAME": "sample string 3",
          "INSURANCE_COMPANY_ID": "sample string 4",
          "INSURANCE_COMPANY_NAME": "sample string 5"
        }
      },
      "COMPARISON": {
        "PROPOSALS": {
          "PROPOSAL": {
            "BENEFIT": [
              {
                "ID": "sample string 1",
                "CODE": "sample string 2",
                "LIMIT": "sample string 3",
                "LIMIT_CURRENCY": {},
                "LIMIT_TYPE": "sample string 5",
                "NAME": "sample string 6",
                "IMM_VALUE": {}
              },
              {
                "ID": "sample string 1",
                "CODE": "sample string 2",
                "LIMIT": "sample string 3",
                "LIMIT_CURRENCY": {},
                "LIMIT_TYPE": "sample string 5",
                "NAME": "sample string 6",
                "IMM_VALUE": {}
              }
            ],
            "EBS_PROPOSAL_ID": "sample string 1",
            "PRODUCT_ID": "sample string 2",
            "PRODUCT_NAME": "sample string 3",
            "INSURANCE_COMPANY_ID": "sample string 4",
            "INSURANCE_COMPANY_NAME": "sample string 5",
            "PREMIUM": "sample string 6"
          }
        }
      },
      "RESPONSE": {},
      "RESPONSE_DATA": {}
    }
  },
  "IsShowMessage": true,
  "IsShowRateAndReview": true
}