For the complete documentation index, see llms.txt. This page is also available as Markdown.

Cross Reference Lookup Templates

List Cross Reference Lookup Templates

get

Retrieves a paginated list of cross reference lookup templates. Can be filtered by name, hidden_from_marketplace, visible_for_marketplace, and private.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Query parameters
filter[name]stringOptional

Filter results by name.

filter[hidden_from_marketplace]stringOptional

Filter results by hidden_from_marketplace.

filter[visible_for_marketplace]stringOptional

Filter results by visible_for_marketplace.

filter[private]stringOptional

Filter results by private.

filter[visibility]stringOptional

Filter results by visibility.

includestringOptional

Comma-separated list of relationships to include. Available: crossReferenceLookupValueTemplates

sortstringOptional

Sort field. Prefix with - for descending. Available: name

pageinteger · min: 1Optional

Page number for pagination.

Default: 1
per_pageinteger · min: 1 · max: 100Optional

Number of results per page.

Responses
200

Successful response

application/json
get/api/v1/patchworks/cross-reference-lookup-templates
GET /api/v1/patchworks/cross-reference-lookup-templates HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "data": [
    {
      "id": 1,
      "label": "My Label",
      "colour": "blue",
      "logo_url": "example_logo_url",
      "version": 1,
      "version_name": "example_version_name",
      "rate_limit_unit": "second",
      "rate_limit_duration": 1,
      "system_type_id": 1,
      "protocol": "HTTP",
      "company_id": 1,
      "date_format": "example_date_format",
      "help_link": "example_help_link",
      "created_at": "2025-01-15T10:30:00.000000Z",
      "updated_at": "2025-01-15T10:30:00.000000Z"
    }
  ],
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1,
    "path": "https://api.example.com/api/v1/patchworks/cross-reference-lookup-templates",
    "per_page": 25,
    "to": 1,
    "total": 1
  },
  "links": {
    "first": "https://api.example.com/api/v1/patchworks/cross-reference-lookup-templates?page=1",
    "last": "https://api.example.com/api/v1/patchworks/cross-reference-lookup-templates?page=1",
    "prev": null,
    "next": null
  }
}

Download Cross Reference Lookup Template

get

Triggers the download of a specific cross reference lookup template as a CSV file with left_value and right_value columns. The file is added to the File Downloads section in General Settings.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
cross_reference_lookup_templatestringRequired

The cross reference lookup template identifier.

Responses
200

Successful response

application/json
objectOptional
get/api/v1/patchworks/cross-reference-lookup-templates/{cross_reference_lookup_template}/download
GET /api/v1/patchworks/cross-reference-lookup-templates/{cross_reference_lookup_template}/download HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{}

Last updated

Was this helpful?