POST api/Insurance/Cancel

Cancel an insurance product

Request Information

URI Parameters

None.

Body Parameters

Insurance cancel request object

InsuranceCancellationRequest
NameDescriptionTypeAdditional information
ProductIdentifier

The product identifier

ProductIdentifier

None.

OutsourceIdentifier

The outsource ID( GTP/UBUS/...)

string

None.

OutsourceTripNumber

The trip number in the outsource system

string

None.

SourceReservationIdentifier

The unique reservation identifier in the source system

string

Max length: 20

SourceReservationSystemIdentifier

The source system identifier(WEB-IL/WEB-US/WEB-UK/...)

string

Max length: 20

UserName

The provided user name.

string

Required

Salt

A random number(at least 9 digits)

integer

Required

Digest

A digest of the user credentials and the request

string

Required

Request Formats

application/json, text/json

Sample:
{
  "ProductIdentifier": {
    "ConfirmationNumber": "14565434",
    "UniqueIdentifier": "5-456121"
  },
  "OutsourceIdentifier": "GTP",
  "OutsourceTripNumber": "1234567",
  "SourceReservationIdentifier": null,
  "SourceReservationSystemIdentifier": null,
  "UserName": "GTP",
  "Salt": 580516755,
  "Digest": "jrwFAssuBIvdGm4TFkOkNkTupaoOKe89sBAAtaOaROZKGnrUl3+IRaSeq3kXQ8coI8WWKU40AsseASnwMF5ryQ=="
}

application/xml, text/xml

Sample:
<InsuranceCancellationRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UserName="GTP" Salt="580516755" Digest="jrwFAssuBIvdGm4TFkOkNkTupaoOKe89sBAAtaOaROZKGnrUl3+IRaSeq3kXQ8coI8WWKU40AsseASnwMF5ryQ==">
  <OutsourceIdentifier>GTP</OutsourceIdentifier>
  <OutsourceTripNumber>1234567</OutsourceTripNumber>
  <ProductIdentifier>
    <ConfirmationNumber>14565434</ConfirmationNumber>
    <UniqueIdentifier>5-456121</UniqueIdentifier>
  </ProductIdentifier>
</InsuranceCancellationRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Insurance cancel response object

InsuranceCancellationResponse
NameDescriptionTypeAdditional information
Insurance

The product from Logic system

Insurance

None.

Success

Indicate if the operation was success

boolean

None.

Message

Return of errors or indicated return message/data

string

None.

Extra1

Additional info 1 to return

string

None.

Extra2

Additional info 2 to return

string

None.

Extra3

Additional info 3 to return

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Insurance": {
    "InsuranceProgramIdentifier": "594",
    "Travelers": [
      {
        "DateOfBirth": "1985-10-05T00:00:00",
        "Additions": [
          {
            "ServiceCode": "LAPTOP",
            "ServiceName": "Laptop",
            "DatePicking": false,
            "StartDate": "2025-07-25T01:03:08.7501641Z",
            "EndDate": "2025-07-30T01:03:08.7501641Z",
            "Note1": "dell 3008",
            "Note2": "2015",
            "Note3": null,
            "PriceForPeriod": null,
            "PriceForDay": {
              "ClientPrice": 2.0,
              "PriceInDisplayCurrency": 8.0
            }
          },
          {
            "ServiceCode": "SKI",
            "ServiceName": "Winter Sport(SKI)",
            "DatePicking": true,
            "StartDate": "2025-07-25T01:03:08.7501641Z",
            "EndDate": "2025-07-30T01:03:08.7501641Z",
            "Note1": null,
            "Note2": null,
            "Note3": null,
            "PriceForPeriod": null,
            "PriceForDay": {
              "ClientPrice": 1.0,
              "PriceInDisplayCurrency": 4.0
            }
          },
          {
            "ServiceCode": "CHALANGE",
            "ServiceName": "Challanging Sport",
            "DatePicking": false,
            "StartDate": "2025-07-25T01:03:08.7501641Z",
            "EndDate": "2025-07-30T01:03:08.7501641Z",
            "Note1": null,
            "Note2": null,
            "Note3": null,
            "PriceForPeriod": {
              "ClientPrice": 15.0,
              "PriceInDisplayCurrency": 60.0
            },
            "PriceForDay": null
          },
          {
            "ServiceCode": "COMPETITION",
            "ServiceName": "Competition Sport",
            "DatePicking": true,
            "StartDate": "2025-07-25T01:03:08.7501641Z",
            "EndDate": "2025-07-30T01:03:08.7501641Z",
            "Note1": null,
            "Note2": null,
            "Note3": null,
            "PriceForPeriod": null,
            "PriceForDay": {
              "ClientPrice": 2.2,
              "PriceInDisplayCurrency": 8.8
            }
          },
          {
            "ServiceCode": "DIVING",
            "ServiceName": "Diving",
            "DatePicking": true,
            "StartDate": "2025-07-25T01:03:08.7501641Z",
            "EndDate": "2025-07-30T01:03:08.7501641Z",
            "Note1": null,
            "Note2": null,
            "Note3": null,
            "PriceForPeriod": null,
            "PriceForDay": {
              "ClientPrice": 4.5,
              "PriceInDisplayCurrency": 18.0
            }
          }
        ],
        "GovernmentID": "123456789",
        "LastName": "Amsalem",
        "FirstName": "Oren",
        "AmadeusLocator": null
      }
    ],
    "Supplier": "Shirbit",
    "ClientTotal": 25.0,
    "CurrencyCode": "USD",
    "ProductIdentifier": {
      "ConfirmationNumber": "14565434",
      "UniqueIdentifier": "5-456121"
    },
    "StartDate": "2025-07-25T01:03:08.7501641Z",
    "EndDate": "2025-07-30T01:03:08.7501641Z",
    "Status": 4
  },
  "Success": true,
  "Message": "Req Canceling - supplier side",
  "Extra1": null,
  "Extra2": null,
  "Extra3": null
}

application/xml, text/xml

Sample:
<InsuranceCancellationResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Success>true</Success>
  <Message>Req Canceling - supplier side</Message>
  <Insurance>
    <Supplier>Shirbit</Supplier>
    <ClientTotal>25</ClientTotal>
    <CurrencyCode>USD</CurrencyCode>
    <ProductIdentifier>
      <ConfirmationNumber>14565434</ConfirmationNumber>
      <UniqueIdentifier>5-456121</UniqueIdentifier>
    </ProductIdentifier>
    <StartDate>2025-07-25T01:03:08.7501641Z</StartDate>
    <EndDate>2025-07-30T01:03:08.7501641Z</EndDate>
    <Status>RequestCanceling</Status>
    <InsuranceProgramIdentifier>594</InsuranceProgramIdentifier>
    <Travelers>
      <InsuranceTraveler>
        <GovernmentID>123456789</GovernmentID>
        <LastName>Amsalem</LastName>
        <FirstName>Oren</FirstName>
        <DateOfBirth>1985-10-05T00:00:00</DateOfBirth>
        <Additions>
          <InsuranceAddition>
            <ServiceCode>LAPTOP</ServiceCode>
            <ServiceName>Laptop</ServiceName>
            <ServiceNameLocalized>מחשב נישא</ServiceNameLocalized>
            <DatePicking>false</DatePicking>
            <StartDate>2025-07-25T01:03:08.7501641Z</StartDate>
            <EndDate>2025-07-30T01:03:08.7501641Z</EndDate>
            <Note1>dell 3008</Note1>
            <Note2>2015</Note2>
            <PriceForDay>
              <ClientPrice>2</ClientPrice>
              <PriceInDisplayCurrency>8</PriceInDisplayCurrency>
            </PriceForDay>
          </InsuranceAddition>
          <InsuranceAddition>
            <ServiceCode>SKI</ServiceCode>
            <ServiceName>Winter Sport(SKI)</ServiceName>
            <ServiceNameLocalized>ספורט חורף(סקי)</ServiceNameLocalized>
            <DatePicking>true</DatePicking>
            <StartDate>2025-07-25T01:03:08.7501641Z</StartDate>
            <EndDate>2025-07-30T01:03:08.7501641Z</EndDate>
            <PriceForDay>
              <ClientPrice>1</ClientPrice>
              <PriceInDisplayCurrency>4</PriceInDisplayCurrency>
            </PriceForDay>
          </InsuranceAddition>
          <InsuranceAddition>
            <ServiceCode>CHALANGE</ServiceCode>
            <ServiceName>Challanging Sport</ServiceName>
            <ServiceNameLocalized>ספורט אתגרי</ServiceNameLocalized>
            <DatePicking>false</DatePicking>
            <StartDate>2025-07-25T01:03:08.7501641Z</StartDate>
            <EndDate>2025-07-30T01:03:08.7501641Z</EndDate>
            <PriceForPeriod>
              <ClientPrice>15</ClientPrice>
              <PriceInDisplayCurrency>60</PriceInDisplayCurrency>
            </PriceForPeriod>
          </InsuranceAddition>
          <InsuranceAddition>
            <ServiceCode>COMPETITION</ServiceCode>
            <ServiceName>Competition Sport</ServiceName>
            <ServiceNameLocalized>ספורט תחרותי</ServiceNameLocalized>
            <DatePicking>true</DatePicking>
            <StartDate>2025-07-25T01:03:08.7501641Z</StartDate>
            <EndDate>2025-07-30T01:03:08.7501641Z</EndDate>
            <PriceForDay>
              <ClientPrice>2.2</ClientPrice>
              <PriceInDisplayCurrency>8.8</PriceInDisplayCurrency>
            </PriceForDay>
          </InsuranceAddition>
          <InsuranceAddition>
            <ServiceCode>DIVING</ServiceCode>
            <ServiceName>Diving</ServiceName>
            <ServiceNameLocalized>צלילה</ServiceNameLocalized>
            <DatePicking>true</DatePicking>
            <StartDate>2025-07-25T01:03:08.7501641Z</StartDate>
            <EndDate>2025-07-30T01:03:08.7501641Z</EndDate>
            <PriceForDay>
              <ClientPrice>4.5</ClientPrice>
              <PriceInDisplayCurrency>18</PriceInDisplayCurrency>
            </PriceForDay>
          </InsuranceAddition>
        </Additions>
      </InsuranceTraveler>
    </Travelers>
  </Insurance>
</InsuranceCancellationResponse>