Skip to main content
PUT
Edit a program

Authorizations

X-HYS-API-Key
string
header
required

API key generated from Developer Settings. Format: hys_...

Path Parameters

program_id
integer
required

The ID of the program to update

Body

application/json

Data to update a program

id
integer

The ID of the program

Example:

3541

client_id
string

The ID of the client

Example:

"207"

hysform_id
integer

The ID of the hysform

Example:

638

donor_hysform_id
integer
Example:

null

setting_id
integer

The ID of the setting

Example:

410

emailset_id
integer
Example:

1567

entity_submit
string

The entity submit

Example:

null

donor_submit
string

The donor submit

Example:

null

The ID of the link

Example:

null

name
string

The name of the program

Example:

"adfdfs"

prefix
string

The prefix of the program

Example:

"fd"

counter
string

The counter of the program

Example:

"0"

lft
integer

The lft of the program

Example:

2

rgt
integer

The rgt of the program

Example:

5

tree
integer

The tree of the program

Example:

207

box_folder_id
integer
Example:

null

deleted_at
string
Example:

null

created_at
string
Example:

"2023-11-23T17:14:06.000000Z"

updated_at
string
Example:

"2023-11-23T17:21:37.000000Z"

children
integer[]
Example:

"[]"

user_id
integer

The ID of the user

Example:

542

program_id
integer

The ID of the program

Example:

3541

Response

Successful operation

message
string
Example:

"Program info successfully updated."