Update Reference Field / Update All References Field

Update Reference Field / Update All References Field

You can use this endpoint to update reference field from Customer or Job.
api/QuoteProcess/UpdateReferenceField

{
  "Customer": "string",
  "Job": "string",
  "ReferenceName": "string",
  "ReferenceValue": "string"
}

Please note UpdateReferenceField are used if you want to update one reference field at a time.
You can do bulk update by using this endpoint.
api/QuoteProcess/UpdateAllReferenceFields

{
  "Customer": "string",
  "Customer_References": [
    {
      "Value": "string",
      "Number": 0,
      "DefaultValue": "string"
    }
  ],
  "Job": "string",
  "Job_References": [
    {
      "Value": "string",
      "Number": 0,
      "DefaultValue": "string"
    }
  ],
  "QQDPKey": "string",
  "QuoteDetailProduct_References": [
    {
      "Value": "string",
      "Number": 0,
      "DefaultValue": "string"
    }
  ]
}

Example with this job.
Below for the existing value


By posting this payload
{
  "Job": "02797",
  "Job_References": [
    {
      "Value": "EndPoint Testing",
      "Number": 1,
      "DefaultValue": ""
    },
    {
      "Value": 250,
      "Number": 2,
      "DefaultValue": ""
    },
    {
      "Value": "Value 3",
      "Number": 3,
      "DefaultValue": ""
    }
  ]
}

You will see this result on the screen.


You can map the value from GetReferenceField Endpoint.

Please note:

Our API end point will not check the data type you select in the reference.
Eg:
If in the Reference you put in "Number", and you pass on "String"
We will not throw an error, however the Reference value won't be updated.
You need to make sure the data that you pass using the correct Data Type.

You will get Number from Get


    • Related Articles

    • Job Operations

      The following procedure outlines how to setup a new job operation in IQ. All this is managed from ‘Job Operations’ under ‘Equipment’. See below screen shots on how to get to this: From the Admin > Configure Factory > Job Operations option you will be ...
    • Webhooks - Managing Customer Job References

      Managing Customer Job References Programatically printIQ customer and job references can be read and updated programatically, using the QuoteProcess web service calls in the table of contents above.     Full WSDL can be obtained from ...
    • References - Adding Payment References

      Payment References Purpose Payment references provide fields for collecting extra information on the Payment Details screen. These fields can be used to record details such as cost centers, department names, or codes - often useful for large ...
    • References - Add to a Quote or Job

      Add ‘Reference’ fields You can add ‘Reference’ fields into IQ for additional job information. Any reference fields will show on the quote page under the ‘product description’: And on the job details page under the: Setup To access the ‘References’ ...
    • References - Add Reference in Tasks and QA

      Capability to add Reference in QA and Task in Job details. (as per below image) Before: After – Reference added below. How to add reference in Task. 1. Navigate to Admin > References 2. Under Reference Field, Click the dropdown and find Task. 3. ...