All URIs are relative to https://api.uat.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(ctx).XApiKey(xApiKey).XAppKey(xAppKey).XVersion(xVersion).Origin(origin).PFCheckEndorsementsRequest(pFCheckEndorsementsRequest).Execute()
This API will do a check of eligibility of account
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
xApiKey := "xApiKey_example" // string | an authorization header
xAppKey := "xAppKey_example" // string | an authorization header
xVersion := float32(8.14) // float32 | x-version
origin := "origin_example" // string | origin
pFCheckEndorsementsRequest := *openapiclient.NewPFCheckEndorsementsRequest("AccountNumber_example") // PFCheckEndorsementsRequest | PF Check Endorsement Request details
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SecureEmbeddedPremiumFinanceEndorsementsAPI.SecureEpfEndorsementsPost(context.Background()).XApiKey(xApiKey).XAppKey(xAppKey).XVersion(xVersion).Origin(origin).PFCheckEndorsementsRequest(pFCheckEndorsementsRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SecureEmbeddedPremiumFinanceEndorsementsAPI.SecureEpfEndorsementsPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SecureEpfEndorsementsPost`: PFCheckEndorsementsResponse
fmt.Fprintf(os.Stdout, "Response from `SecureEmbeddedPremiumFinanceEndorsementsAPI.SecureEpfEndorsementsPost`: %v\n", resp)
}Other parameters are passed through a pointer to a apiSecureEpfEndorsementsPostRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | string | an authorization header | |
| xAppKey | string | an authorization header | |
| xVersion | float32 | x-version | |
| origin | string | origin | |
| pFCheckEndorsementsRequest | PFCheckEndorsementsRequest | PF Check Endorsement Request details |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PFUpdatePFAResponse SecureEpfQuoteEndorsementBookingPut(ctx).XApiKey(xApiKey).XAppKey(xAppKey).XVersion(xVersion).Origin(origin).SecurePFQuoteBookingRequest(securePFQuoteBookingRequest).Execute()
This API will update PFA to book a endorsement quote.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
xApiKey := "xApiKey_example" // string | an authorization header
xAppKey := "xAppKey_example" // string | an authorization header
xVersion := float32(8.14) // float32 | x-version
origin := "origin_example" // string | origin
securePFQuoteBookingRequest := *openapiclient.NewSecurePFQuoteBookingRequest(int32(123)) // SecurePFQuoteBookingRequest | PFQuoteBooking Request details
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SecureEmbeddedPremiumFinanceEndorsementsAPI.SecureEpfQuoteEndorsementBookingPut(context.Background()).XApiKey(xApiKey).XAppKey(xAppKey).XVersion(xVersion).Origin(origin).SecurePFQuoteBookingRequest(securePFQuoteBookingRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SecureEmbeddedPremiumFinanceEndorsementsAPI.SecureEpfQuoteEndorsementBookingPut``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SecureEpfQuoteEndorsementBookingPut`: PFUpdatePFAResponse
fmt.Fprintf(os.Stdout, "Response from `SecureEmbeddedPremiumFinanceEndorsementsAPI.SecureEpfQuoteEndorsementBookingPut`: %v\n", resp)
}Other parameters are passed through a pointer to a apiSecureEpfQuoteEndorsementBookingPutRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | string | an authorization header | |
| xAppKey | string | an authorization header | |
| xVersion | float32 | x-version | |
| origin | string | origin | |
| securePFQuoteBookingRequest | SecurePFQuoteBookingRequest | PFQuoteBooking Request details |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PFEndorsementResponse SecureEpfQuoteEndorsementPost(ctx).XApiKey(xApiKey).XAppKey(xAppKey).XVersion(xVersion).Origin(origin).PFEndorsementRequest(pFEndorsementRequest).Execute()
This API will do return a quote for an existing policy or new policy for an existing account
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
xApiKey := "xApiKey_example" // string | an authorization header
xAppKey := "xAppKey_example" // string | an authorization header
xVersion := float32(8.14) // float32 | x-version
origin := "origin_example" // string | origin
pFEndorsementRequest := *openapiclient.NewPFEndorsementRequest(*openapiclient.NewPFEndorsementRequestQuote(int32(123), "MerchantReference_example", []openapiclient.PFEndorsementRequestQuotePoliciesInner{*openapiclient.NewPFEndorsementRequestQuotePoliciesInner(float32(123), "EffectiveDate_example", "ExpirationDate_example")})) // PFEndorsementRequest | PF Endorsement Request details
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.SecureEmbeddedPremiumFinanceEndorsementsAPI.SecureEpfQuoteEndorsementPost(context.Background()).XApiKey(xApiKey).XAppKey(xAppKey).XVersion(xVersion).Origin(origin).PFEndorsementRequest(pFEndorsementRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `SecureEmbeddedPremiumFinanceEndorsementsAPI.SecureEpfQuoteEndorsementPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SecureEpfQuoteEndorsementPost`: PFEndorsementResponse
fmt.Fprintf(os.Stdout, "Response from `SecureEmbeddedPremiumFinanceEndorsementsAPI.SecureEpfQuoteEndorsementPost`: %v\n", resp)
}Other parameters are passed through a pointer to a apiSecureEpfQuoteEndorsementPostRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| xApiKey | string | an authorization header | |
| xAppKey | string | an authorization header | |
| xVersion | float32 | x-version | |
| origin | string | origin | |
| pFEndorsementRequest | PFEndorsementRequest | PF Endorsement Request details |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]