The Moving Portal API documentationThe Moving Portal API documentation
Key concepts
API concepts
Services
Key concepts
API concepts
Services
  • Key concepts
  • API concepts
  • GDPR
  • Development
  • Releases
  • Services
  • Authentication
  • Instruction
  • Instruction search
  • Notes
  • Data
  • Referral
  • Quote
  • Quotes search
  • Supplier operations
  • Notifications
  • Testing
  • Email integration
  • Objects
  • Examples
    • Introducer
      • Authentication
      • Data
      • Quote
      • Quotes search
      • Referral
      • Instruction
      • Instructions search
      • Instruction notification
      • Notes
    • Supplier
      • Authentication
      • Data
      • Instruction
      • Instructions search
      • Instruction notification
      • Notes
      • Supplier operations
  • OTHER

Quotes search service

Introducer
  • Search quotes

This service contains the following method:

GET /quotes Introducer

The aim of this method is to search for quotes primarily to display the results before loading a single quote for full details. The amount of detail is much less than loading a full quote. e.g. there are no fees.

Search quotes

GET /quotes Introducer

This method will search for quotes. The payload for this method is

{
  "pageNumber": 1,
  "pageSize": 10,
  "tmpReference": "",
  "productCode": "",
  "partialCustomerName": "",
  "partialPostcode": "",
  "searchTypeCode": "",
  "dateSearchCode": "Created",
  "dateFromTimestamp": null,
  "dateToTimestamp": null,
  "sortColumnName": "Created",
  "sortAscending": true
}

The properties of this payload are:

PropertyDescription
pageNumberThe page number to return. Set to 1 for first page.
pageSizeThe number of results to return. From 1 to 50.
tmpReferenceThe TMP reference. Can be empty.
productCodeThe product. Can be empty.
partialCustomerNamePart of the customer name. Can be empty.
partialPostcodePart of postcode, typically the first 3 or 4 characters. Can be empty.
searchTypeCodeThe type of search. See below.
dateSearchCodeWhat dates to search on. Valid values are Created.
dateFromTimestampStart date. Set to null to not specify.
dateToTimestampTo date. Set to null to not specify.
sortColumnNameThe column to sort by. Valid values are TMPReference, Product, Created.
sortAscendingWhether results are in ascending order of the sortColumnName.

Search type code

The search type can be set to the case status code or a specialised search code. If not specified the search will return

  • All active quotes (i.e. Saved, Requested, not expired, removed or instructed)
  • Any expired, removed or instructed quotes created in the last two months
searchTypeCodeDescription
ALLQUOTESWill return all quotes within the date range. If this is used then you should set the date from property otherwise all quotes will be returned.

Validation

  • pageNumber must be greater than or equal to 1. If a page number is specified for which there are no results then a validation error will not be raised. The result object will return the number of results from which you can calculate how many pages there are.
  • pageSize must be between 1 and 50.
  • tmpReference must be a valid TMP reference. Can be empty.
  • productCode must be a valid Product code. Can be empty.
  • searchTypeCode must be as specified above.
  • partialCustomerName can have a length of up to 20 characters. Can be empty.
  • partialPostcode can have a length of up to 8 characters. Can be empty.
  • dateSearchCode must be set to Created.
  • sortColumnName can be set to one of TMPReference, Product, Created.

Search results

A simple search results return could be

{
  "searchResults": [
    {
      "tmpReference": "TMP103263",
      "tmpCustomerReference": "TMP103263",
      "customerNames": "Joe Kennilworth",
      "propertyPostcode": "OX10 3PL",
      "results": [
        {
          "sequence": 1,
          "productCode": "RICSL2SURVEY",
          "quoteResultStatusCode": "EXPIRED"
        }
      ],
      "otherInformation": {},
      "timestamps": {
        "CREATED": "2024-06-25T13:06:09.7782796Z"
      }
    }
  ],
  "numberOfResults": 1,
  "pageSize": 2,
  "currentPage": 1
}

There are integer values for

  • currentPage - the page number being returned.
  • pageSize - the size of the page. Will always be the size of the page and not the number of results returned in the searchResults property.
  • numberOfResults - the total number of results (for all pages).

And there is a searchResults property which is a list of results, e.g.

The properties of this return are:

PropertyDescription
tmpReferenceThe TMP Reference. See (References)(/key-concepts#instruction-references).
tmpCustomerReferenceThe TMP Reference to show to customers. See (References)(/key-concepts#instruction-references).
customerNamesThe names of the customer - for display.
propertyPostcodeThe postcode of the property - for display.
resultsA list of each result for the quote.
otherInformationA dictionary of other information returned.
timestampsA dictionary of key timestamps.
Quote results

Each quote can have one or more results. See (Key concepts)(/key-concepts#introduction) for more details.

The results object for the search consists of the following properties:

PropertyDescription
SequenceIndex starting for 1 of the results.
QuoteResultStatusCodeStatus of the quote - set to REQUESTED, SAVED, REFERRED, REMOVED, EXPIRED.
ProductCodeThe product for this result.
Other information

No information is currently added to this property.

INFO

This property is present as it will be used for INTRODUCERCUSTOMERREFERENCE and INTRODUCERINTEGRATIONREFERENCE in a similar manner to the Instruction search.

Timestamps

The timestamps property will have the following (if applicable):

  • CREATED - the timestamp the instruction was created.
Last Updated: 11/4/25, 10:52 AM
Prev
Quote
Next
Supplier operations