Function: getImportScheduleLinks()
ts
function getImportScheduleLinks(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
links?: {
[key: string]: unknown;
createSchedule: string;
schedule?: string;
};
result?: string;
}>;Defined in: src/assets/api/importSources.ts:266
Retrieve links for import schedule operations (create, get, update, delete). Returns a createSchedule link to POST a new schedule, and if a schedule already exists, returns a schedule link that can be used with GET, PUT, or DELETE operations.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { importSourceId: string; } | - |
parameters.importSourceId | string | The importSourceId of the import source configuration for the external import |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; links?: { [key: string]: unknown; createSchedule: string; schedule?: string; }; result?: string; }>