POST api/insurance/ace/SubmitInsurance

Request Information

URI Parameters

None.

Body Parameters

TC.Contracts.AceInsurance.RequestModel.SubmitInsuranceRequest

SubmitInsuranceRequest
NameDescriptionTypeAdditional information
EffectiveDate

date

None.

ExpirationDate

date

None.

DestinationRqUid

string

None.

DestinationDesc

string

None.

InsuredPackageRqUid

string

None.

InsuredPackageDesc

string

None.

PlanRqUid

string

None.

PlanDesc

string

None.

Applicant

People

None.

Insured

Collection of People

None.

TravelCountries

string

None.

RefDocNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EffectiveDate": "2024-12-23T19:59:10.2696654+08:00",
  "ExpirationDate": "2024-12-23T19:59:10.2696654+08:00",
  "DestinationRqUid": "sample string 3",
  "DestinationDesc": "sample string 4",
  "InsuredPackageRqUid": "sample string 5",
  "InsuredPackageDesc": "sample string 6",
  "PlanRqUid": "sample string 7",
  "PlanDesc": "sample string 8",
  "Applicant": {
    "GivenName": "sample string 1",
    "IdNumber": "sample string 2",
    "IdNumberTypeCd": 0,
    "Surname": "sample string 3",
    "Gender": 0,
    "TitlePrefix": "sample string 4",
    "BirthDate": "2024-12-23T19:59:10.2696654+08:00",
    "Phone": "sample string 6",
    "Mobile": "sample string 7",
    "Email": "sample string 8"
  },
  "Insured": [
    {
      "GivenName": "sample string 1",
      "IdNumber": "sample string 2",
      "IdNumberTypeCd": 0,
      "Surname": "sample string 3",
      "Gender": 0,
      "TitlePrefix": "sample string 4",
      "BirthDate": "2024-12-23T19:59:10.2696654+08:00",
      "Phone": "sample string 6",
      "Mobile": "sample string 7",
      "Email": "sample string 8"
    },
    {
      "GivenName": "sample string 1",
      "IdNumber": "sample string 2",
      "IdNumberTypeCd": 0,
      "Surname": "sample string 3",
      "Gender": 0,
      "TitlePrefix": "sample string 4",
      "BirthDate": "2024-12-23T19:59:10.2696654+08:00",
      "Phone": "sample string 6",
      "Mobile": "sample string 7",
      "Email": "sample string 8"
    }
  ],
  "TravelCountries": "sample string 9",
  "RefDocNo": "sample string 10"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SubmitInsuranceRequest'.

Response Information

Resource Description

SubmitInsuranceResponse
NameDescriptionTypeAdditional information
InsurancePolicy

InsurancePolicy

None.

Message

string

None.

Status

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "InsurancePolicy": {
    "EffectiveDate": "2024-12-23T19:59:10.3009125+08:00",
    "ExpirationDate": "2024-12-23T19:59:10.3009125+08:00",
    "CompanyProductCd": "sample string 3",
    "DestinationRqUid": "sample string 4",
    "DestinationDesc": "sample string 5",
    "InsuredPackageRqUid": "sample string 6",
    "InsuredPackageDesc": "sample string 7",
    "PlanRqUid": "sample string 8",
    "PlanDesc": "sample string 9",
    "InsuranceAmount": 10.0,
    "Currency": "sample string 11",
    "Applicant": {
      "GivenName": "sample string 1",
      "IdNumber": "sample string 2",
      "IdNumberTypeCd": 0,
      "Surname": "sample string 3",
      "Gender": 0,
      "TitlePrefix": "sample string 4",
      "BirthDate": "2024-12-23T19:59:10.3009125+08:00",
      "Phone": "sample string 6",
      "Mobile": "sample string 7",
      "Email": "sample string 8"
    },
    "Insured": [
      {
        "GivenName": "sample string 1",
        "IdNumber": "sample string 2",
        "IdNumberTypeCd": 0,
        "Surname": "sample string 3",
        "Gender": 0,
        "TitlePrefix": "sample string 4",
        "BirthDate": "2024-12-23T19:59:10.3009125+08:00",
        "Phone": "sample string 6",
        "Mobile": "sample string 7",
        "Email": "sample string 8"
      },
      {
        "GivenName": "sample string 1",
        "IdNumber": "sample string 2",
        "IdNumberTypeCd": 0,
        "Surname": "sample string 3",
        "Gender": 0,
        "TitlePrefix": "sample string 4",
        "BirthDate": "2024-12-23T19:59:10.3009125+08:00",
        "Phone": "sample string 6",
        "Mobile": "sample string 7",
        "Email": "sample string 8"
      }
    ],
    "TransactionResponseDate": "2024-12-23T19:59:10.3009125+08:00",
    "PolicyNumber": "sample string 12",
    "PolicySchedule": "sample string 13",
    "DataExtensions": [
      {
        "Key": "sample string 1",
        "Value": "sample string 2",
        "Type": "sample string 3",
        "IdRef": "sample string 4"
      },
      {
        "Key": "sample string 1",
        "Value": "sample string 2",
        "Type": "sample string 3",
        "IdRef": "sample string 4"
      }
    ],
    "PolicyStatus": 0,
    "MessageStatus": 0,
    "MessageStatusDesc": "sample string 14"
  },
  "Message": "sample string 1",
  "Status": 2
}