action apptigent_convert_duration { label: "Math - Convert duration" description: "Convert value from one duration measurement to another" provider: apptigent method: POST path: "/ConvertDuration" encoding: json input: { type: "object" required: ["input", "source", "target"] properties: { input: { type: "number" } source: { type: "string" enum: ["Day", "Hour", "Microsecond", "Millisecond", "Minute", "Month", "Nanosecond", "Second", "Week", "Year"] } target: { type: "string" enum: ["Day", "Hour", "Microsecond", "Millisecond", "Minute", "Month", "Nanosecond", "Second", "Week", "Year"] } } } output: { type: "object" properties: { result: { type: "number" description: "Result" } } } }