GetPrice End point for RFQ

GetPrice End point for RFQ

You can create a Quote using RFQ via Get Price Endpoint.
However in order to do so, you will require to pass few required fields such as
Template Name, Template Question, Quantity, and few others..

Example vary depending on your RFQ set up.


For RFQ that look like below.


The example payload to generate a Quote via RFQ with the question above will be as per below
{
    "RequestForQuoteProduct": {
        "TemplateName": "Custom 1",
        "TemplateItems": [
            {
                "Name": "Stock",
                "Value": "Test"
            },
            {
                "Name": "Quantity 1",
                "Value": "100"
            },
            {
                "Name": "Size",
                "Value": "10"
            }
        ],
        "TemplateQuestions": [
            {
                "ID": 100,
                "Name": "Specify PMS colours required:",
                "Value": "Test"
            },
            {
                "ID": 101,
                "Name": "Are you Special?",
                "Value": "Yes"
            },
            {
                "ID": 102,
                "Name": "What is your favourite colour?",
                "Value": "Black"
            },
            {
                "ID": 107,
                "Name": "What Primary School did you attend",
                "Value": "A good one"
            },
            {
                "ID": 108,
                "Name": "Beans?",
                "Value": "1"
            }
        ],
        "Contact": {
            "ContactKey": 13980
        }
    },
    "Deliveries": [
        {
            "DestinationAddress": {
                "AddressLine1": "37 Connor Street",
                "City": "Burleigh Heads",
                "State": "QLD",
                "Country": "Australia",
                "PostCode": "4000",
                "Name": "IQ Burleigh"
            },
            "DestinationContact": {
                "Title": "Mr",
                "FirstName": "print",
                "Surname": "IQ",
                "Phone": "0400 000 000",
                "Mobile": "0400 000 000",
                "Email": "noreply@printiq.com"
            },
            "Quantity": 100,
            "SpecialInstructions": "This is SpecialInstructions",
            "DeliveryTypeName": "Driver"
        }
    ],
    "CustomerCode": "TstRet",
    "AcceptQuote": false,
    "TargetFreightPrice": 35,
    "JobTitle": "Job Title Here",
    "TaxCode": "GST",
    "QuoteContact": {
        "Title": "Mr",
        "FirstName": "IQ",
        "Surname": "Test",
        "Phone": "0400 000 000",
        "Mobile": "0400 000 000",
        "Email": "noreply@printiq.com"
    },
    "JobDescription": "Test JobDescription",
    "Notes": "Test Note",
    "CustomerReference": "Test CustomerReference",
    "ExternalJobReference": "Test ExternalJobReference"
}



You can grab the Template Questions ID from GetQuoteQuestion endpoint.
{{ServerURL}}/api/QuoteProcess/GetQuoteQuestions

{
  "RFQNo": "RFQ00101"
}


Please note, 
This initial steps is just to find the ID of template question.
Template Question ID won't change.

TemplateQuestionID


Is equal to.
RFQQuestionSections.Questions.Lines.Key from the return value after you
run {{ServerURL}}/api/QuoteProcess/GetQuoteQuestions end point.



To Pass Contact Details
The JSON Should look like so.

            {
                "ID": 105,
                "Name": "RFQ Contact",
                "ContactAnswer": {
                    "ContactKey": 13933,
                    "FirstName": "Adam",
                    "Surname": "Hexter"
                }
            }

    • Related Articles

    • REQUEST FOR QUOTE - RFQ

          This can be used by a customer or sales person. To begin a RFQ, select Start Order and choose Request for Quote. ​     Select the site and the customer.     Fill in all the standard information and choose a contact for the RFQ. If the required ...
    • AcceptQuote End Point

      You can Accept a Quote via AcceptQuote End point. api/QuoteProcess/AcceptQuote Below for the required field to accept the Quote. { "QuoteNo": "Q005218v2", } If you required to Create an Invoice after you accept a Quote, then you can pass the payload ...
    • Product RFQ Workflow

      RFQs on Simplified Products Overview The Customer or Salesperson adds items to the cart via the ‘simple quote’ menu. Simple quote allows the user to specify up to 4 quantities. If item is standard and can be priced, it is added to the cart and price ...
    • Quote Questions on RFQs

      Quote questions can be added to RFQ templates. In Quote Questions (Admin > Configure Factory > Quote Questions) there is an additional mapping selector to map the quote question to specific RFQ Template(s). The drop-down selector shows all active RFQ ...
    • Vend POS Integration

      VEND INTEGRATION PRE-PAY Customers When a customer is on any ‘pre-paid’ credit term such as ‘Online Credit Card’, once a quote is accepted they will be taken to the ‘Enter Payment Details’ screen. Here they will have a payment option ‘Point of Sale’. ...