Skip to content

Latest commit

 

History

History
245 lines (172 loc) · 9.69 KB

File metadata and controls

245 lines (172 loc) · 9.69 KB

openapi_client.SecureEmbeddedPremiumFinanceEndorsementsApi

All URIs are relative to https://api.uat.anddone.com

Method HTTP request Description
secure_epf_endorsements_post POST /secure/epf/endorsements This API will do a check of eligibility of account
secure_epf_quote_endorsement_booking_put PUT /secure/epf/quote/endorsement/booking This API will update PFA to book a endorsement quote.
secure_epf_quote_endorsement_post POST /secure/epf/quote/endorsement This API will do return a quote for an existing policy or new policy for an existing account

secure_epf_endorsements_post

PFCheckEndorsementsResponse secure_epf_endorsements_post(x_api_key, x_app_key, x_version, origin, pf_check_endorsements_request)

This API will do a check of eligibility of account

Example

import openapi_client
from openapi_client.models.pf_check_endorsements_request import PFCheckEndorsementsRequest
from openapi_client.models.pf_check_endorsements_response import PFCheckEndorsementsResponse
from openapi_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api.uat.anddone.com
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
    host = "https://api.uat.anddone.com"
)


# Enter a context with an instance of the API client
with openapi_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = openapi_client.SecureEmbeddedPremiumFinanceEndorsementsApi(api_client)
    x_api_key = 'x_api_key_example' # str | an authorization header
    x_app_key = 'x_app_key_example' # str | an authorization header
    x_version = 'x_version_example' # str | x-version
    origin = 'origin_example' # str | origin
    pf_check_endorsements_request = openapi_client.PFCheckEndorsementsRequest() # PFCheckEndorsementsRequest | PF Check Endorsement Request details

    try:
        # This API will do a check of eligibility of account
        api_response = api_instance.secure_epf_endorsements_post(x_api_key, x_app_key, x_version, origin, pf_check_endorsements_request)
        print("The response of SecureEmbeddedPremiumFinanceEndorsementsApi->secure_epf_endorsements_post:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling SecureEmbeddedPremiumFinanceEndorsementsApi->secure_epf_endorsements_post: %s\n" % e)

Parameters

Name Type Description Notes
x_api_key str an authorization header
x_app_key str an authorization header
x_version str x-version
origin str origin
pf_check_endorsements_request PFCheckEndorsementsRequest PF Check Endorsement Request details

Return type

PFCheckEndorsementsResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful operation -
400 Bad Request -
404 Not Found -
500 Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

secure_epf_quote_endorsement_booking_put

PFUpdatePFAResponse secure_epf_quote_endorsement_booking_put(x_api_key, x_app_key, x_version, origin, secure_pf_quote_booking_request)

This API will update PFA to book a endorsement quote.

Example

import openapi_client
from openapi_client.models.pf_update_pfa_response import PFUpdatePFAResponse
from openapi_client.models.secure_pf_quote_booking_request import SecurePFQuoteBookingRequest
from openapi_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api.uat.anddone.com
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
    host = "https://api.uat.anddone.com"
)


# Enter a context with an instance of the API client
with openapi_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = openapi_client.SecureEmbeddedPremiumFinanceEndorsementsApi(api_client)
    x_api_key = 'x_api_key_example' # str | an authorization header
    x_app_key = 'x_app_key_example' # str | an authorization header
    x_version = 'x_version_example' # str | x-version
    origin = 'origin_example' # str | origin
    secure_pf_quote_booking_request = openapi_client.SecurePFQuoteBookingRequest() # SecurePFQuoteBookingRequest | PFQuoteBooking Request details

    try:
        # This API will update PFA to book a endorsement quote.
        api_response = api_instance.secure_epf_quote_endorsement_booking_put(x_api_key, x_app_key, x_version, origin, secure_pf_quote_booking_request)
        print("The response of SecureEmbeddedPremiumFinanceEndorsementsApi->secure_epf_quote_endorsement_booking_put:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling SecureEmbeddedPremiumFinanceEndorsementsApi->secure_epf_quote_endorsement_booking_put: %s\n" % e)

Parameters

Name Type Description Notes
x_api_key str an authorization header
x_app_key str an authorization header
x_version str x-version
origin str origin
secure_pf_quote_booking_request SecurePFQuoteBookingRequest PFQuoteBooking Request details

Return type

PFUpdatePFAResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful operation -
400 Bad Request -
404 Not Found -
500 Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

secure_epf_quote_endorsement_post

PFEndorsementResponse secure_epf_quote_endorsement_post(x_api_key, x_app_key, x_version, origin, pf_endorsement_request)

This API will do return a quote for an existing policy or new policy for an existing account

Example

import openapi_client
from openapi_client.models.pf_endorsement_request import PFEndorsementRequest
from openapi_client.models.pf_endorsement_response import PFEndorsementResponse
from openapi_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api.uat.anddone.com
# See configuration.py for a list of all supported configuration parameters.
configuration = openapi_client.Configuration(
    host = "https://api.uat.anddone.com"
)


# Enter a context with an instance of the API client
with openapi_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = openapi_client.SecureEmbeddedPremiumFinanceEndorsementsApi(api_client)
    x_api_key = 'x_api_key_example' # str | an authorization header
    x_app_key = 'x_app_key_example' # str | an authorization header
    x_version = 'x_version_example' # str | x-version
    origin = 'origin_example' # str | origin
    pf_endorsement_request = openapi_client.PFEndorsementRequest() # PFEndorsementRequest | PF Endorsement Request details

    try:
        # This API will do return a quote for an existing policy or new policy for an existing account
        api_response = api_instance.secure_epf_quote_endorsement_post(x_api_key, x_app_key, x_version, origin, pf_endorsement_request)
        print("The response of SecureEmbeddedPremiumFinanceEndorsementsApi->secure_epf_quote_endorsement_post:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling SecureEmbeddedPremiumFinanceEndorsementsApi->secure_epf_quote_endorsement_post: %s\n" % e)

Parameters

Name Type Description Notes
x_api_key str an authorization header
x_app_key str an authorization header
x_version str x-version
origin str origin
pf_endorsement_request PFEndorsementRequest PF Endorsement Request details

Return type

PFEndorsementResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 Successful operation -
400 Bad Request -
404 Not Found -
500 Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]