Autofill Items from Webservices

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

AutoFillItems is a translation-only endpoint. It does not write or save data, it just produces an array of ready-to-use data.

  1. Receives a raw JSON object (resultJson) from a previously executed Webservice Lookup
  2. Applies the field mappings configured for the webservice (name) and domain (mapDomain)
  3. Returns an array of AutoFillItem objects with Origami field names and translated values
Query Params
string
required

Specifies which webservice was used to produce the JSON object you're going to map and therefore, which auto-fill configuration to use.

string
required

The mapDomain value represents the destination domain you want the returned data to be shaped for. Think of it as telling Origami, “prepare the data to be used in this domain.”

For example:

  • If you set mapDomain = "Claim", the system maps the returned fields into the Claim domain’s schema.

Hypothetical Use Case:
A single Webservice lookup can return data that could be useful in multiple domains, but Origami needs to know which domain’s rules, structure, and field definitions to apply. mapDomain supplies that instruction. It ensures the data returned by the external Webservice is transformed into the correct shape for the target domain you intend to write to or validate against.

DomainAuto-Fill Fields
ClaimClaimAddress, ClaimCity, ClaimState, ClaimZip
ContactContactAddress, ContactCity, ContactState, ContactZip
LocationLocationAddress, LocationCity, LocationState, LocationZip
Body Params
json
required
Defaults to {"Field1": "Value 1","Field2": "Value 2"}

This is a JSON string representing the name-value pairs that you received from a Webservice Lookup. This is the data that will be translated into the schema of the mapDomain you specify.

Response

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json