Skip to content

customProgram create

Hadrien Daures edited this page Sep 12, 2018 · 4 revisions

URL: POST: /customProgram-create

Request content:
{
    TOKEN: "the token",
    NAME: "the name",
    LOGO: "the base64 logo",
    NBSTEPS: 15, // the number of steps
    STEPS: [{LOGO: "the base64 logo", NAME: "the name", DURATION: 120, NEEDAUTH: true/false}, ...],
    DURATION: 17 // the program duration
}

Response content:
{
    STATUS: "the status code",
    CUSTOMPROGRAMID: "the custom program id"
}

Clone this wiki locally