Computations: Create Operation

Creates a single computation operation.

path Parameters
accountId
required
string
query Parameters
v
required
string

A date in YYYYMMDD format.

api_key
required
string

All requests will be authenticated using an app's API key via the api_key query parameter. You can find this value in Developer Console / [App Name] / API Credentials.

Request Body schema: application/json

The computation operation to be created.

required
(object or object) or (object or object) or (object or object) or (object or object)
languageCode
string

Language code to be used to localize messages. If no language code is specified, it will default to English.

object

An arbitrary object that can hold any additional metadata provided by the caller.

Responses

Request samples

Content type
application/json
{
  • "definition": {
    },
  • "languageCode": "en",
  • "details": {
    }
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "response": {
    }
}

Computations: List Operations

Retrieve a list of computation operations.

path Parameters
accountId
required
string
query Parameters
v
required
string

A date in YYYYMMDD format.

api_key
required
string

All requests will be authenticated using an app's API key via the api_key query parameter. You can find this value in Developer Console / [App Name] / API Credentials.

pageSize
string

Max Page Size = 1000 and unspecified defaults to 100.

pageToken
string

If a response to a previous request contained the pageToken field, pass that field's value as the pageToken parameter to retrieve the next page of data.

Responses

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "response": {
    }
}

Computations: Cancel Operation

Cancels a computation operation.

path Parameters
accountId
required
string
operationUid
required
string

The Yext-generated unique identifier for the computation operation.

query Parameters
v
required
string

A date in YYYYMMDD format.

api_key
required
string

All requests will be authenticated using an app's API key via the api_key query parameter. You can find this value in Developer Console / [App Name] / API Credentials.

Responses

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "response": { }
}

Computations: Get Operation

Retrieve a single computation operation.

path Parameters
accountId
required
string
operationUid
required
string

The Yext-generated unique identifier for the computation operation.

query Parameters
v
required
string

A date in YYYYMMDD format.

api_key
required
string

All requests will be authenticated using an app's API key via the api_key query parameter. You can find this value in Developer Console / [App Name] / API Credentials.

Responses

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "response": {
    }
}