All URIs are relative to https://api.anddone.com
| Method | HTTP request | Description |
|---|---|---|
| SecureEpfEndorsementsPost | POST /secure/epf/endorsements | This API will do a check of eligibility of account |
| SecureEpfQuoteEndorsementBookingPut | PUT /secure/epf/quote/endorsement/booking | This API will update PFA to book a endorsement quote. |
| SecureEpfQuoteEndorsementPost | POST /secure/epf/quote/endorsement | This API will do return a quote for an existing policy or new policy for an existing account |
PFCheckEndorsementsResponse SecureEpfEndorsementsPost (string xApiKey, string xAppKey, float xVersion, string origin, PFCheckEndorsementsRequest pFCheckEndorsementsRequest)
This API will do a check of eligibility of account
using System.Collections.Generic;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class SecureEpfEndorsementsPostExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.anddone.com";
var apiInstance = new SecureEmbeddedPremiumFinanceEndorsementsApi(config);
var xApiKey = "xApiKey_example"; // string | an authorization header
var xAppKey = "xAppKey_example"; // string | an authorization header
var xVersion = 8.14D; // float | x-version
var origin = "origin_example"; // string | origin
var pFCheckEndorsementsRequest = new PFCheckEndorsementsRequest(); // PFCheckEndorsementsRequest | PF Check Endorsement Request details
try
{
// This API will do a check of eligibility of account
PFCheckEndorsementsResponse result = apiInstance.SecureEpfEndorsementsPost(xApiKey, xAppKey, xVersion, origin, pFCheckEndorsementsRequest);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureEmbeddedPremiumFinanceEndorsementsApi.SecureEpfEndorsementsPost: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// This API will do a check of eligibility of account
ApiResponse<PFCheckEndorsementsResponse> response = apiInstance.SecureEpfEndorsementsPostWithHttpInfo(xApiKey, xAppKey, xVersion, origin, pFCheckEndorsementsRequest);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureEmbeddedPremiumFinanceEndorsementsApi.SecureEpfEndorsementsPostWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | string | an authorization header | |
| xAppKey | string | an authorization header | |
| xVersion | float | x-version | |
| origin | string | origin | |
| pFCheckEndorsementsRequest | PFCheckEndorsementsRequest | PF Check Endorsement Request details |
No authorization required
- Content-Type: application/json
- Accept: application/json
| 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]
PFUpdatePFAResponse SecureEpfQuoteEndorsementBookingPut (string xApiKey, string xAppKey, float xVersion, string origin, SecurePFQuoteBookingRequest securePFQuoteBookingRequest)
This API will update PFA to book a endorsement quote.
using System.Collections.Generic;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class SecureEpfQuoteEndorsementBookingPutExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.anddone.com";
var apiInstance = new SecureEmbeddedPremiumFinanceEndorsementsApi(config);
var xApiKey = "xApiKey_example"; // string | an authorization header
var xAppKey = "xAppKey_example"; // string | an authorization header
var xVersion = 8.14D; // float | x-version
var origin = "origin_example"; // string | origin
var securePFQuoteBookingRequest = new SecurePFQuoteBookingRequest(); // SecurePFQuoteBookingRequest | PFQuoteBooking Request details
try
{
// This API will update PFA to book a endorsement quote.
PFUpdatePFAResponse result = apiInstance.SecureEpfQuoteEndorsementBookingPut(xApiKey, xAppKey, xVersion, origin, securePFQuoteBookingRequest);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureEmbeddedPremiumFinanceEndorsementsApi.SecureEpfQuoteEndorsementBookingPut: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// This API will update PFA to book a endorsement quote.
ApiResponse<PFUpdatePFAResponse> response = apiInstance.SecureEpfQuoteEndorsementBookingPutWithHttpInfo(xApiKey, xAppKey, xVersion, origin, securePFQuoteBookingRequest);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureEmbeddedPremiumFinanceEndorsementsApi.SecureEpfQuoteEndorsementBookingPutWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | string | an authorization header | |
| xAppKey | string | an authorization header | |
| xVersion | float | x-version | |
| origin | string | origin | |
| securePFQuoteBookingRequest | SecurePFQuoteBookingRequest | PFQuoteBooking Request details |
No authorization required
- Content-Type: application/json
- Accept: application/json
| 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]
PFEndorsementResponse SecureEpfQuoteEndorsementPost (string xApiKey, string xAppKey, float xVersion, string origin, PFEndorsementRequest pFEndorsementRequest)
This API will do return a quote for an existing policy or new policy for an existing account
using System.Collections.Generic;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class SecureEpfQuoteEndorsementPostExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.anddone.com";
var apiInstance = new SecureEmbeddedPremiumFinanceEndorsementsApi(config);
var xApiKey = "xApiKey_example"; // string | an authorization header
var xAppKey = "xAppKey_example"; // string | an authorization header
var xVersion = 8.14D; // float | x-version
var origin = "origin_example"; // string | origin
var pFEndorsementRequest = new 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
PFEndorsementResponse result = apiInstance.SecureEpfQuoteEndorsementPost(xApiKey, xAppKey, xVersion, origin, pFEndorsementRequest);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureEmbeddedPremiumFinanceEndorsementsApi.SecureEpfQuoteEndorsementPost: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// This API will do return a quote for an existing policy or new policy for an existing account
ApiResponse<PFEndorsementResponse> response = apiInstance.SecureEpfQuoteEndorsementPostWithHttpInfo(xApiKey, xAppKey, xVersion, origin, pFEndorsementRequest);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SecureEmbeddedPremiumFinanceEndorsementsApi.SecureEpfQuoteEndorsementPostWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | string | an authorization header | |
| xAppKey | string | an authorization header | |
| xVersion | float | x-version | |
| origin | string | origin | |
| pFEndorsementRequest | PFEndorsementRequest | PF Endorsement Request details |
No authorization required
- Content-Type: application/json
- Accept: application/json
| 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]