Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Latest commit

 

History

History
56 lines (37 loc) · 1.45 KB

File metadata and controls

56 lines (37 loc) · 1.45 KB

billforward.QuotesApi

All URIs are relative to https://localhost:8080/RestAPI

Method HTTP request Description
quote POST /quotes Returns a quote.

quote

APIQuotePagedMetadata quote(quote_request)

Returns a quote.

{"nickname":"Returns a quote","request":"PriceRequest.html","response":"PriceCalculation.html"}

Example

import time
import billforward
from billforward.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = billforward.QuotesApi()
quote_request = billforward.QuoteRequest() # QuoteRequest | A quote request

try: 
    # Returns a quote.
    api_response = api_instance.quote(quote_request)
    pprint(api_response)
except ApiException as e:
    print "Exception when calling QuotesApi->quote: %s\n" % e

Parameters

Name Type Description Notes
quote_request QuoteRequest A quote request

Return type

APIQuotePagedMetadata

Authorization

No authorization required

HTTP request headers

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

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