interface HaloPSANodeParameters {
additionalFields?:
| {
inactive?: boolean;
is_vip?: boolean;
notes?: string;
website?: string;
}
| {
agent_id?: string;
startdate?: string;
targetdate?: string;
}
| {
maincontact_name?: string;
notes?: string;
phonenumber?: string;
}
| {
emailaddress?: string;
inactive?: boolean;
notes?: string;
password?: string;
surname?: string;
};
clientId?: string;
clientName?: string;
details?: string;
filters?: {
activeStatus?: "all"
| "active"
| "inactive";
search?: string;
};
limit?: number;
operation?: | "create"
| "get"
| "getAll"
| "update"
| "delete";
resource?: "user"
| "client"
| "ticket"
| "site";
returnAll?: boolean;
selectOption?: boolean;
simplify?: boolean;
siteId?: string;
siteName?: string;
summary?: string;
ticketId?: string;
ticketType?: string;
updateFields?:
| {
inactive?: boolean;
is_vip?: boolean;
name?: string;
notes?: string;
website?: string;
}
| {
agent_id?: string;
details?: string;
startdate?: string;
summary?: string;
targetdate?: string;
}
| {
client_id?: string;
maincontact_name?: string;
name?: string;
notes?: string;
phonenumber?: string;
}
| {
emailaddress?: string;
inactive?: boolean;
name?: string;
notes?: string;
password?: string;
site_id?: string;
surname?: string;
};
userId?: string;
userName?: string;
}Properties§
§§§§§§§§§§§§
readonly additional Fields?:
| {
inactive?: boolean;
is_vip?: boolean;
notes?: string;
website?: string;
}
| {
agent_id?: string;
startdate?: string;
targetdate?: string;
}
| {
maincontact_name?: string;
notes?: string;
phonenumber?: string;
}
| {
emailaddress?: string;
inactive?: boolean;
notes?: string;
password?: string;
surname?: string;
}§
readonly client Id?: string§readonly client Name?: stringEnter client name
readonly details?: string§readonly filters?: { ... }Default: {}
readonly limit?: numberMax number of results to return Default: 50 Type options: {"minValue":1,"maxValue":1000}
readonly operation?: "create" | "get" | "getAll" | "update" | "delete"Default: "create"
readonly resource?: "user" | "client" | "ticket" | "site"Default: "client"
readonly return All?: booleanWhether to return all results or only up to a given limit
readonly select Option?: booleanWhether client can be selected by ID
readonly simplify?: booleanWhether to return a simplified version of the response instead of the raw data Default: true
readonly site Id?: string§readonly site Name?: stringEnter site name
readonly summary?: string§readonly ticket Id?: string§readonly ticket Type?: stringChoose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getHaloPSATicketsTypes"}
readonly update Fields?:
| {
inactive?: boolean;
is_vip?: boolean;
name?: string;
notes?: string;
website?: string;
}
| {
agent_id?: string;
details?: string;
startdate?: string;
summary?: string;
targetdate?: string;
}
| {
client_id?: string;
maincontact_name?: string;
name?: string;
notes?: string;
phonenumber?: string;
}
| {
emailaddress?: string;
inactive?: boolean;
name?: string;
notes?: string;
password?: string;
site_id?: string;
surname?: string;
}Default: {}
readonly user Id?: string§readonly user Name?: stringEnter user name
Default: {}