Introduction
This documentation aims to provide all the information you need to work with our API.
Authenticating requests
This API is authenticated by sending an Authorization
header with the value "Bearer {TOKEN}"
.
All authenticated endpoints are marked with a requires authentication
badge in the documentation below.
You can retrieve your token by logging in and retrieving the Generated API token.
Admin Dashboard
APIs for managing admin dashboard
POST api/admin/reload_stats
Example request:
const url = new URL(
"http://localhost:8000/api/admin/reload_stats"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/reload_stats" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
Client
APIs for managing clients
POST api/admin/get_client_account
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_client_account"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_client_account" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/edit_client_account
Example request:
const url = new URL(
"http://localhost:8000/api/admin/edit_client_account"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"organization": "klgac",
"website": "http:\/\/www.schultz.biz\/tempore-incidunt-omnis-laborum-culpa",
"client_id": "excepturi",
"email": "id"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/edit_client_account" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"organization\": \"klgac\",
\"website\": \"http:\\/\\/www.schultz.biz\\/tempore-incidunt-omnis-laborum-culpa\",
\"client_id\": \"excepturi\",
\"email\": \"id\"
}"
Received response:
Request failed with error:
POST api/admin/get_email_settings
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_email_settings"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "exercitationem"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_email_settings" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"exercitationem\"
}"
Received response:
Request failed with error:
POST api/admin/email_settings
Example request:
const url = new URL(
"http://localhost:8000/api/admin/email_settings"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"from_address": "[email protected]",
"from_name": "itaque",
"client_id": "officiis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/email_settings" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"from_address\": \"[email protected]\",
\"from_name\": \"itaque\",
\"client_id\": \"officiis\"
}"
Received response:
Request failed with error:
POST api/admin/client_cc
Example request:
const url = new URL(
"http://localhost:8000/api/admin/client_cc"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "voluptate"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/client_cc" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"voluptate\"
}"
Received response:
Request failed with error:
POST api/admin/update_client_cc
Example request:
const url = new URL(
"http://localhost:8000/api/admin/update_client_cc"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"firstName": "ex",
"lastName": "vel",
"number": "perferendis",
"cvv": "aut",
"expiryMonth": "quia",
"expiryYear": "harum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/update_client_cc" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"firstName\": \"ex\",
\"lastName\": \"vel\",
\"number\": \"perferendis\",
\"cvv\": \"aut\",
\"expiryMonth\": \"quia\",
\"expiryYear\": \"harum\"
}"
Received response:
Request failed with error:
POST api/admin/switch_client
Example request:
const url = new URL(
"http://localhost:8000/api/admin/switch_client"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"email": "[email protected]",
"password": "f^R\"e^z~8LxPhL4Gu2?",
"users": "nesciunt"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/switch_client" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"email\": \"[email protected]\",
\"password\": \"f^R\\\"e^z~8LxPhL4Gu2?\",
\"users\": \"nesciunt\"
}"
Received response:
Request failed with error:
Commitment
APIs for managing donor's commitments
POST api/admin/get_edit_commitment
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_edit_commitment"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"commitment_id": "architecto",
"client_id": "quasi"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_edit_commitment" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"commitment_id\": \"architecto\",
\"client_id\": \"quasi\"
}"
Received response:
Request failed with error:
POST api/admin/edit_commitment
Example request:
const url = new URL(
"http://localhost:8000/api/admin/edit_commitment"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"commitment_id": "officiis",
"next": "2023-03-23T09:33:54",
"frequency": "veniam",
"until": "sed",
"method": "earum",
"amount": "maiores",
"arb_subscription_id": "vero",
"program_id": "non"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/edit_commitment" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"commitment_id\": \"officiis\",
\"next\": \"2023-03-23T09:33:54\",
\"frequency\": \"veniam\",
\"until\": \"sed\",
\"method\": \"earum\",
\"amount\": \"maiores\",
\"arb_subscription_id\": \"vero\",
\"program_id\": \"non\"
}"
Received response:
Request failed with error:
Designation
APIs for managing the donor designations
POST api/admin/all_designations
Example request:
const url = new URL(
"http://localhost:8000/api/admin/all_designations"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "dolores"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/all_designations" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"dolores\"
}"
Received response:
Request failed with error:
POST api/admin/get_add_designation
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_add_designation"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "amet"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_add_designation" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"amet\"
}"
Received response:
Request failed with error:
POST api/admin/add_designation
Example request:
const url = new URL(
"http://localhost:8000/api/admin/add_designation"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"name": "ea",
"hysform": "voluptas",
"emailset_id": "et",
"code": "expedita",
"client_id": "impedit"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/add_designation" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"name\": \"ea\",
\"hysform\": \"voluptas\",
\"emailset_id\": \"et\",
\"code\": \"expedita\",
\"client_id\": \"impedit\"
}"
Received response:
Request failed with error:
POST api/admin/get_edit_designation
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_edit_designation"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"designation_id": "veniam",
"client_id": "amet"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_edit_designation" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"designation_id\": \"veniam\",
\"client_id\": \"amet\"
}"
Received response:
Request failed with error:
POST api/admin/edit_designation
Example request:
const url = new URL(
"http://localhost:8000/api/admin/edit_designation"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"name": "facilis",
"designation_id": "excepturi",
"donation_amounts": 15,
"emailset_id": "perspiciatis",
"hysform": "autem",
"code": "ipsam"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/edit_designation" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"name\": \"facilis\",
\"designation_id\": \"excepturi\",
\"donation_amounts\": 15,
\"emailset_id\": \"perspiciatis\",
\"hysform\": \"autem\",
\"code\": \"ipsam\"
}"
Received response:
Request failed with error:
POST api/admin/remove_designation
Example request:
const url = new URL(
"http://localhost:8000/api/admin/remove_designation"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"designation_id": "vero"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/remove_designation" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"designation_id\": \"vero\"
}"
Received response:
Request failed with error:
Designation Check Out
APIs for managing the donor sponsoring process
POST api/frontend/checkout_add_designation_only/{client_id}/{hysform_id}/{designation_id}/{currency}/{session_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/checkout_add_designation_only/quo/illum/in/officiis/dolore"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"designation_amount": 77
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/checkout_add_designation_only/quo/illum/in/officiis/dolore" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"designation_amount\": 77
}"
Received response:
Request failed with error:
POST api/frontend/checkout_remove_designation_only/{client_id}/{hysform_id}/{designation_id}/{id}/{currency}/{session_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/checkout_remove_designation_only/enim/sunt/rem/nihil/tempora/minus"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/checkout_remove_designation_only/enim/sunt/rem/nihil/tempora/minus" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/frontend/checkout_signup_only/{client_id}/{hysform_id}/{designation_id}/{session_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/checkout_signup_only/laboriosam/error/voluptatibus/eum"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"signup_username": "axiijqzagbarpspyfywgn",
"email": "[email protected]",
"signup_password": "gzkaubapbqqwvtjeajlrxaktuthlascmuxonjpeetussfuyqhpsllynxspjlthfpmphrfzrgaexgwuzi"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/checkout_signup_only/laboriosam/error/voluptatibus/eum" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"signup_username\": \"axiijqzagbarpspyfywgn\",
\"email\": \"[email protected]\",
\"signup_password\": \"gzkaubapbqqwvtjeajlrxaktuthlascmuxonjpeetussfuyqhpsllynxspjlthfpmphrfzrgaexgwuzi\"
}"
Received response:
Request failed with error:
POST api/frontend/checkout_login_only/{client_id}/{hysform_id}/{designation_id}/{session_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/checkout_login_only/sit/perferendis/et/nisi"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"login_password": "assumenda"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/checkout_login_only/sit/perferendis/et/nisi" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"login_password\": \"assumenda\"
}"
Received response:
Request failed with error:
Donations
APIs for managing the donations by the donors
POST api/view_donations/{all?}
Example request:
const url = new URL(
"http://localhost:8000/api/view_donations/vero"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"Donor_Group": "dolores",
"date_from": "2023-03-23",
"date_to": "2023-03-23"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/view_donations/vero" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"Donor_Group\": \"dolores\",
\"date_from\": \"2023-03-23\",
\"date_to\": \"2023-03-23\"
}"
Received response:
Request failed with error:
POST api/silent_post
Example request:
const url = new URL(
"http://localhost:8000/api/silent_post"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"x_amount": "ex",
"x_subscription_id": "quia",
"x_cust_id": "eligendi",
"x_trans_id": "numquam"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/silent_post" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"x_amount\": \"ex\",
\"x_subscription_id\": \"quia\",
\"x_cust_id\": \"eligendi\",
\"x_trans_id\": \"numquam\"
}"
Received response:
Request failed with error:
POST api/admin/donations
Example request:
const url = new URL(
"http://localhost:8000/api/admin/donations"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "sed"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/donations" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"sed\"
}"
Received response:
Request failed with error:
POST api/admin/view_donations/{all?}
Example request:
const url = new URL(
"http://localhost:8000/api/admin/view_donations/vel"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"Donor_Group": "repellat",
"date_from": "2023-03-23",
"date_to": "2023-03-23"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/view_donations/vel" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"Donor_Group\": \"repellat\",
\"date_from\": \"2023-03-23\",
\"date_to\": \"2023-03-23\"
}"
Received response:
Request failed with error:
POST api/admin/form_fields
Example request:
const url = new URL(
"http://localhost:8000/api/admin/form_fields"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"Donor_Group": "minima"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/form_fields" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"Donor_Group\": \"minima\"
}"
Received response:
Request failed with error:
POST api/admin/donations_by_donor
Example request:
const url = new URL(
"http://localhost:8000/api/admin/donations_by_donor"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/donations_by_donor" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/add_donation
Example request:
const url = new URL(
"http://localhost:8000/api/admin/add_donation"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"designation": "esse",
"donor_id": "possimus",
"amount": 71
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/add_donation" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"designation\": \"esse\",
\"donor_id\": \"possimus\",
\"amount\": 71
}"
Received response:
Request failed with error:
POST api/admin/add_cc
Example request:
const url = new URL(
"http://localhost:8000/api/admin/add_cc"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"donor_id": "sunt"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/add_cc" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"donor_id\": \"sunt\"
}"
Received response:
Request failed with error:
POST api/admin/update_cc
Example request:
const url = new URL(
"http://localhost:8000/api/admin/update_cc"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"donor_id": "rerum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/update_cc" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"donor_id\": \"rerum\"
}"
Received response:
Request failed with error:
POST api/admin/get_edit_donation
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_edit_donation"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_edit_donation" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/edit_donation
Example request:
const url = new URL(
"http://localhost:8000/api/admin/edit_donation"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/edit_donation" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/get_commitment_donation
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_commitment_donation"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_commitment_donation" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/commitment_donation
Example request:
const url = new URL(
"http://localhost:8000/api/admin/commitment_donation"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"result": "consequatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/commitment_donation" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"result\": \"consequatur\"
}"
Received response:
Request failed with error:
Donor
APIs for managing donors
POST api/edit_donor/{id}
Example request:
const url = new URL(
"http://localhost:8000/api/edit_donor/iure"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"username": "esyrjwrtnvdwpejxvjxpvcrcfkvq",
"email": "[email protected]",
"password": "MB5rEx~3tqcXz:"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/edit_donor/iure" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"username\": \"esyrjwrtnvdwpejxvjxpvcrcfkvq\",
\"email\": \"[email protected]\",
\"password\": \"MB5rEx~3tqcXz:\"
}"
Received response:
Request failed with error:
POST api/admin/send_new_donor_email
Example request:
const url = new URL(
"http://localhost:8000/api/admin/send_new_donor_email"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"commitment_id": "cum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/send_new_donor_email" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"commitment_id\": \"cum\"
}"
Received response:
Request failed with error:
POST api/admin/get_add_donor
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_add_donor"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"hysform_id": "omnis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_add_donor" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"hysform_id\": \"omnis\"
}"
Received response:
Request failed with error:
POST api/admin/add_donor/{hysform_id}
Example request:
const url = new URL(
"http://localhost:8000/api/admin/add_donor/sunt"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"username": "sjeelbvartpmuvamymmocwdtrjgwsuwcpfrsvjftfmepurdekexcsaopdouyozti"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/add_donor/sunt" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"username\": \"sjeelbvartpmuvamymmocwdtrjgwsuwcpfrsvjftfmepurdekexcsaopdouyozti\"
}"
Received response:
Request failed with error:
POST api/admin/archive_donors
Example request:
const url = new URL(
"http://localhost:8000/api/admin/archive_donors"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"donor_ids": "reiciendis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/archive_donors" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"donor_ids\": \"reiciendis\"
}"
Received response:
Request failed with error:
POST api/admin/delete_donors
Example request:
const url = new URL(
"http://localhost:8000/api/admin/delete_donors"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"donor_ids": "autem",
"client_id": "eum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/delete_donors" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"donor_ids\": \"autem\",
\"client_id\": \"eum\"
}"
Received response:
Request failed with error:
POST api/admin/activate_donors
Example request:
const url = new URL(
"http://localhost:8000/api/admin/activate_donors"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/activate_donors" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/donor_field_options
Example request:
const url = new URL(
"http://localhost:8000/api/admin/donor_field_options"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "necessitatibus"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/donor_field_options" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"necessitatibus\"
}"
Received response:
Request failed with error:
POST api/admin/donors/{hysform_id}
Example request:
const url = new URL(
"http://localhost:8000/api/admin/donors/11"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"pageIndex": "et",
"pageSize": "officia",
"archived": "fugiat",
"client_id": "labore"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/donors/11" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"pageIndex\": \"et\",
\"pageSize\": \"officia\",
\"archived\": \"fugiat\",
\"client_id\": \"labore\"
}"
Received response:
Request failed with error:
POST api/admin/select_donor_saved_report/{report_id}/{hysform_id}/{trashed?}
Example request:
const url = new URL(
"http://localhost:8000/api/admin/select_donor_saved_report/voluptatum/labore/esse"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/select_donor_saved_report/voluptatum/labore/esse" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/remove_donor_saved_report
Example request:
const url = new URL(
"http://localhost:8000/api/admin/remove_donor_saved_report"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"report_id": "commodi",
"hysform_id": "enim"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/remove_donor_saved_report" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"report_id\": \"commodi\",
\"hysform_id\": \"enim\"
}"
Received response:
Request failed with error:
POST api/admin/send_notify_donors
Example request:
const url = new URL(
"http://localhost:8000/api/admin/send_notify_donors"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "qui",
"hysform_id": "earum",
"emailset_id": "ipsa",
"donor_ids": "odio"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/send_notify_donors" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"qui\",
\"hysform_id\": \"earum\",
\"emailset_id\": \"ipsa\",
\"donor_ids\": \"odio\"
}"
Received response:
Request failed with error:
POST api/admin/send_year_end_donors
Example request:
const url = new URL(
"http://localhost:8000/api/admin/send_year_end_donors"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "rerum",
"hysform_id": "quia",
"emailset_id": "provident"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/send_year_end_donors" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"rerum\",
\"hysform_id\": \"quia\",
\"emailset_id\": \"provident\"
}"
Received response:
Request failed with error:
POST api/admin/get_sponsorships
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_sponsorships"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"id": "est",
"client_id": "eveniet"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_sponsorships" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"id\": \"est\",
\"client_id\": \"eveniet\"
}"
Received response:
Request failed with error:
POST api/admin/sponsorships/donor
Example request:
const url = new URL(
"http://localhost:8000/api/admin/sponsorships/donor"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/sponsorships/donor" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/add_sponsorships
Example request:
const url = new URL(
"http://localhost:8000/api/admin/add_sponsorships"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"id": "asperiores",
"sp_amount": 64,
"client_id": "molestiae"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/add_sponsorships" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"id\": \"asperiores\",
\"sp_amount\": 64,
\"client_id\": \"molestiae\"
}"
Received response:
Request failed with error:
POST api/admin/remove_sponsorship
Example request:
const url = new URL(
"http://localhost:8000/api/admin/remove_sponsorship"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"donor_entity_id": "provident"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/remove_sponsorship" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"donor_entity_id\": \"provident\"
}"
Received response:
Request failed with error:
POST api/frontend/donor_view_entity_compose_message/{client_id}/{program_id}/{entity_id}/{parent_id}/{session_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/donor_view_entity_compose_message/officiis/eos/assumenda/nihil/quos"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/donor_view_entity_compose_message/officiis/eos/assumenda/nihil/quos" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/frontend/donor_update_card/{client_id}/{program_id}/{session_id}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/donor_update_card/praesentium/sapiente/sed"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/donor_update_card/praesentium/sapiente/sed" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/frontend/donor_update_info/{client_id}/{program_id}/{session_id}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/donor_update_info/quas/est/recusandae"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/donor_update_info/quas/est/recusandae" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/frontend/modify_amount
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/modify_amount"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "itaque",
"program_id": "error",
"new_amount": 9,
"frequency": 495668956.7053098,
"commitment_id": "dolorem",
"session_id": "quasi"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/modify_amount" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"itaque\",
\"program_id\": \"error\",
\"new_amount\": 9,
\"frequency\": 495668956.7053098,
\"commitment_id\": \"dolorem\",
\"session_id\": \"quasi\"
}"
Received response:
Request failed with error:
POST api/donor/upload_file/{client_id}/{program_id}/{entity_id}/{session_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/donor/upload_file/aliquid/aut/eligendi/voluptas"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"file": "jiijiapmwuekmppnsfiif"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/donor/upload_file/aliquid/aut/eligendi/voluptas" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"file\": \"jiijiapmwuekmppnsfiif\"
}"
Received response:
Request failed with error:
POST api/donor/recordUpload/{client_id}/{session_id}
Example request:
const url = new URL(
"http://localhost:8000/api/donor/recordUpload/tempore/ut"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/donor/recordUpload/tempore/ut" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
Donor Authentication
APIs for managing the authentication of donors
POST api/frontend/reset_password/{client_id}/{program_id}/{session_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/reset_password/facilis/aut/laboriosam"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/reset_password/facilis/aut/laboriosam" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/frontend/forgot_username/{client_id}/{program_id}/{session_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/forgot_username/magnam/reprehenderit/et"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"email": "[email protected]"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/forgot_username/magnam/reprehenderit/et" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"email\": \"[email protected]\"
}"
Received response:
Request failed with error:
POST api/frontend/login/{client_id}/{program_id}/{session_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/login/facere/similique/consectetur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"password": "fugit"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/login/facere/similique/consectetur" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"password\": \"fugit\"
}"
Received response:
Request failed with error:
Donor Email
APIs for managing donor emails
POST api/admin/email_manager
Example request:
const url = new URL(
"http://localhost:8000/api/admin/email_manager"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "molestiae",
"page": 226,
"perpage": 1364237.84686
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/email_manager" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"molestiae\",
\"page\": 226,
\"perpage\": 1364237.84686
}"
Received response:
Request failed with error:
POST api/admin/view_email
Example request:
const url = new URL(
"http://localhost:8000/api/admin/view_email"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"email_id": "consectetur",
"client_id": "rerum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/view_email" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"email_id\": \"consectetur\",
\"client_id\": \"rerum\"
}"
Received response:
Request failed with error:
POST api/admin/assign_admin
Example request:
const url = new URL(
"http://localhost:8000/api/admin/assign_admin"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"email_id": "voluptatem"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/assign_admin" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"email_id\": \"voluptatem\"
}"
Received response:
Request failed with error:
POST api/admin/update_email_status
Example request:
const url = new URL(
"http://localhost:8000/api/admin/update_email_status"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"email_id": "odio"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/update_email_status" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"email_id\": \"odio\"
}"
Received response:
Request failed with error:
POST api/admin/send_email_response
Example request:
const url = new URL(
"http://localhost:8000/api/admin/send_email_response"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/send_email_response" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/send_message/{entity_id}/{donor_id}/{from}/{file_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/admin/send_message/qui/deleniti/hic/provident"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/send_message/qui/deleniti/hic/provident" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
Donor SignUp
APIs for managing the donor's signup processes on the dashboard
POST api/frontend/signup_donor/{client_id}/{program_id}/{session_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/signup_donor/id/nostrum/exercitationem"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"username": "nmgcwklkhibnesxhcxjlvsxnkxniogmrqimknjkacmzqfbtdznpxnyhjltektkrudmb",
"password": "'=pJ#h?5NbMuBGB[|>U"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/signup_donor/id/nostrum/exercitationem" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"username\": \"nmgcwklkhibnesxhcxjlvsxnkxniogmrqimknjkacmzqfbtdznpxnyhjltektkrudmb\",
\"password\": \"\'=pJ#h?5NbMuBGB[|>U\"
}"
Received response:
Request failed with error:
POST api/frontend/checkout_remove_entity/{client_id}/{program_id}/{entity_id}/{session_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/checkout_remove_entity/quibusdam/id/adipisci/deleniti"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/checkout_remove_entity/quibusdam/id/adipisci/deleniti" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/frontend/checkout_signup/{client_id}/{program_id}/{session_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/checkout_signup/cumque/totam/cumque"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/checkout_signup/cumque/totam/cumque" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/frontend/checkout_login/{client_id}/{program_id}/{session_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/checkout_login/officiis/qui/incidunt"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"login_password": "aut"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/checkout_login/officiis/qui/incidunt" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"login_password\": \"aut\"
}"
Received response:
Request failed with error:
POST api/frontend/logged_in_checkout/{client_id}/{program_id}/{entity_id}/{session_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/logged_in_checkout/numquam/et/aut/tempore"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"sponsorship_amount": 52,
"method": "voluptatem",
"frequency": "commodi"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/logged_in_checkout/numquam/et/aut/tempore" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"sponsorship_amount\": 52,
\"method\": \"voluptatem\",
\"frequency\": \"commodi\"
}"
Received response:
Request failed with error:
POST api/frontend/checkout_add_designation/{client_id}/{program_id}/{currency}/{session_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/checkout_add_designation/voluptas/quidem/tenetur/minus"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"designation_amount": 1
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/checkout_add_designation/voluptas/quidem/tenetur/minus" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"designation_amount\": 1
}"
Received response:
Request failed with error:
POST api/frontend/checkout_remove_designation/{client_id}/{program_id}/{id}/{currency}/{session_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/checkout_remove_designation/nemo/magnam/quae/corporis/accusamus"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/checkout_remove_designation/nemo/magnam/quae/corporis/accusamus" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
Donor Sponsorships
APIs for managing the sponsorship details of the donor on the dashboard
POST api/frontend/save_entity/{client_id}/{program_id}/{entity_id}/{session_id?}
Example request:
const url = new URL(
"http://localhost:8000/api/frontend/save_entity/nemo/non/aut/fugit"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"sponsorship_amount": 5024055.93
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/frontend/save_entity/nemo/non/aut/fugit" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"sponsorship_amount\": 5024055.93
}"
Received response:
Request failed with error:
APIs for managing the email settings and for sending emails
POST api/admin/email
Example request:
const url = new URL(
"http://localhost:8000/api/admin/email"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "enim"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/email" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"enim\"
}"
Received response:
Request failed with error:
POST api/admin/add_emailset
Example request:
const url = new URL(
"http://localhost:8000/api/admin/add_emailset"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"name": "eum",
"from": "[email protected]",
"client_id": "quis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/add_emailset" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"name\": \"eum\",
\"from\": \"[email protected]\",
\"client_id\": \"quis\"
}"
Received response:
Request failed with error:
POST api/admin/get_edit_emailset
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_edit_emailset"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"emailset_id": "sit",
"client_id": "molestiae"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_edit_emailset" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"emailset_id\": \"sit\",
\"client_id\": \"molestiae\"
}"
Received response:
Request failed with error:
POST api/admin/edit_emailset
Example request:
const url = new URL(
"http://localhost:8000/api/admin/edit_emailset"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"emailset_id": "magni",
"client_id": "nobis",
"name": "porro",
"from": "est"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/edit_emailset" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"emailset_id\": \"magni\",
\"client_id\": \"nobis\",
\"name\": \"porro\",
\"from\": \"est\"
}"
Received response:
Request failed with error:
POST api/admin/get_edit_emailtemplate
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_edit_emailtemplate"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"emailset_id": "voluptate",
"trigger": "laborum",
"client_id": "tempore"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_edit_emailtemplate" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"emailset_id\": \"voluptate\",
\"trigger\": \"laborum\",
\"client_id\": \"tempore\"
}"
Received response:
Request failed with error:
POST api/admin/edit_emailtemplate
Example request:
const url = new URL(
"http://localhost:8000/api/admin/edit_emailtemplate"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"emailset_id": "voluptatibus",
"trigger": "illum",
"client_id": "ut"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/edit_emailtemplate" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"emailset_id\": \"voluptatibus\",
\"trigger\": \"illum\",
\"client_id\": \"ut\"
}"
Received response:
Request failed with error:
POST api/admin/remove_emailset
Example request:
const url = new URL(
"http://localhost:8000/api/admin/remove_emailset"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"emailset_id": "et",
"client_id": "quidem"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/remove_emailset" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"emailset_id\": \"et\",
\"client_id\": \"quidem\"
}"
Received response:
Request failed with error:
Email Verification
APIs for managing the email verification process
POST api/email/verification-notification
Example request:
const url = new URL(
"http://localhost:8000/api/email/verification-notification"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"email": "[email protected]",
"password": "quidem"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/email/verification-notification" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"email\": \"[email protected]\",
\"password\": \"quidem\"
}"
Received response:
Request failed with error:
POST api/email/verify
Example request:
const url = new URL(
"http://localhost:8000/api/email/verify"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/email/verify" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
Entity
APIs for managing th sponsorships
POST api/admin/get_add_entity
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_add_entity"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "tempore",
"program_id": "rerum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_add_entity" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"tempore\",
\"program_id\": \"rerum\"
}"
Received response:
Request failed with error:
POST api/admin/add_entity
Example request:
const url = new URL(
"http://localhost:8000/api/admin/add_entity"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "itaque",
"sp_num": "neque"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/add_entity" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"itaque\",
\"sp_num\": \"neque\"
}"
Received response:
Request failed with error:
POST api/admin/show_all_entities
Example request:
const url = new URL(
"http://localhost:8000/api/admin/show_all_entities"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"program_id": "dolorem",
"trashed": "sint",
"client_id": "optio"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/show_all_entities" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"program_id\": \"dolorem\",
\"trashed\": \"sint\",
\"client_id\": \"optio\"
}"
Received response:
Request failed with error:
POST api/admin/show_all_sponsorships
Example request:
const url = new URL(
"http://localhost:8000/api/admin/show_all_sponsorships"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"program_id": "dignissimos",
"trashed": "et"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/show_all_sponsorships" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"program_id\": \"dignissimos\",
\"trashed\": \"et\"
}"
Received response:
Request failed with error:
POST api/admin/entities/{program_id}
Example request:
const url = new URL(
"http://localhost:8000/api/admin/entities/11"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"pageIndex": "similique",
"pageSize": "ipsa",
"archived": "saepe",
"client_id": "at"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/entities/11" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"pageIndex\": \"similique\",
\"pageSize\": \"ipsa\",
\"archived\": \"saepe\",
\"client_id\": \"at\"
}"
Received response:
Request failed with error:
POST api/admin/sponsorships/{program_id}/headers
Example request:
const url = new URL(
"http://localhost:8000/api/admin/sponsorships/doloribus/headers"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "quaerat",
"archived": "dignissimos"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/sponsorships/doloribus/headers" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"quaerat\",
\"archived\": \"dignissimos\"
}"
Received response:
Request failed with error:
POST api/admin/sponsorships/{program_id}
Example request:
const url = new URL(
"http://localhost:8000/api/admin/sponsorships/ducimus"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"pageIndex": "modi",
"pageSize": "autem",
"archived": "quas",
"client_id": "fugit"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/sponsorships/ducimus" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"pageIndex\": \"modi\",
\"pageSize\": \"autem\",
\"archived\": \"quas\",
\"client_id\": \"fugit\"
}"
Received response:
Request failed with error:
POST api/admin/post_field_options
Example request:
const url = new URL(
"http://localhost:8000/api/admin/post_field_options"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/post_field_options" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/field_options/{program_id}/{type?}
Example request:
const url = new URL(
"http://localhost:8000/api/admin/field_options/qui/deserunt"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/field_options/qui/deserunt" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/get_move_entity
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_move_entity"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"entity_id": "mollitia",
"client_id": "omnis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_move_entity" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"entity_id\": \"mollitia\",
\"client_id\": \"omnis\"
}"
Received response:
Request failed with error:
POST api/admin/move_entity
Example request:
const url = new URL(
"http://localhost:8000/api/admin/move_entity"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"entity_id": "assumenda",
"client_id": "error"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/move_entity" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"entity_id\": \"assumenda\",
\"client_id\": \"error\"
}"
Received response:
Request failed with error:
POST api/admin/get_edit_entity
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_edit_entity"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"id": "eum",
"client_id": "provident"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_edit_entity" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"id\": \"eum\",
\"client_id\": \"provident\"
}"
Received response:
Request failed with error:
POST api/admin/edit_entity
Example request:
const url = new URL(
"http://localhost:8000/api/admin/edit_entity"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"entity_id": "magni"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/edit_entity" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"entity_id\": \"magni\"
}"
Received response:
Request failed with error:
POST api/admin/remove_entity
Example request:
const url = new URL(
"http://localhost:8000/api/admin/remove_entity"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"entity_id": "molestiae",
"client_id": "architecto"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/remove_entity" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"entity_id\": \"molestiae\",
\"client_id\": \"architecto\"
}"
Received response:
Request failed with error:
POST api/admin/remove_entities/{program_id}
Example request:
const url = new URL(
"http://localhost:8000/api/admin/remove_entities/a"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/remove_entities/a" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/activate_entity
Example request:
const url = new URL(
"http://localhost:8000/api/admin/activate_entity"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"entity_id": "possimus",
"client_id": "libero"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/activate_entity" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"entity_id\": \"possimus\",
\"client_id\": \"libero\"
}"
Received response:
Request failed with error:
POST api/admin/activate_entities/{program_id}
Example request:
const url = new URL(
"http://localhost:8000/api/admin/activate_entities/est"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/activate_entities/est" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/select_saved_report/{report_id}/{program_id}/{trashed?}
Example request:
const url = new URL(
"http://localhost:8000/api/admin/select_saved_report/quia/quod/ea"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/select_saved_report/quia/quod/ea" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/remove_saved_report
Example request:
const url = new URL(
"http://localhost:8000/api/admin/remove_saved_report"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"report_id": "impedit",
"program_id": "doloribus"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/remove_saved_report" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"report_id\": \"impedit\",
\"program_id\": \"doloribus\"
}"
Received response:
Request failed with error:
POST api/admin/delete_entity
Example request:
const url = new URL(
"http://localhost:8000/api/admin/delete_entity"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"entity_id": "voluptas",
"client_id": "molestiae"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/delete_entity" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"entity_id\": \"voluptas\",
\"client_id\": \"molestiae\"
}"
Received response:
Request failed with error:
POST api/admin/delete_entities
Example request:
const url = new URL(
"http://localhost:8000/api/admin/delete_entities "
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/delete_entities " \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
Form
APIs for managing the forms and reports
POST api/admin/submit_form
Example request:
const url = new URL(
"http://localhost:8000/api/admin/submit_form"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"program_id": "possimus",
"form_id": "quos"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/submit_form" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"program_id\": \"possimus\",
\"form_id\": \"quos\"
}"
Received response:
Request failed with error:
POST api/admin/edit_archived_form
Example request:
const url = new URL(
"http://localhost:8000/api/admin/edit_archived_form"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"archived_form_id": "neque",
"_token": "animi"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/edit_archived_form" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"archived_form_id\": \"neque\",
\"_token\": \"animi\"
}"
Received response:
Request failed with error:
POST api/admin/archived_report
Example request:
const url = new URL(
"http://localhost:8000/api/admin/archived_report"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"date_from": "2023-03-23",
"date_to": "2023-03-23"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/archived_report" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"date_from\": \"2023-03-23\",
\"date_to\": \"2023-03-23\"
}"
Received response:
Request failed with error:
POST api/admin/create_form
Example request:
const url = new URL(
"http://localhost:8000/api/admin/create_form"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"name": "liduacrqvzcjkgfdjkkcorfpwnyenmhchlveefulfkirbjmvanttudebphvdezsxvrbaadcceraajhbumjokztlx",
"type": "cupiditate",
"client_id": "illum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/create_form" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"name\": \"liduacrqvzcjkgfdjkkcorfpwnyenmhchlveefulfkirbjmvanttudebphvdezsxvrbaadcceraajhbumjokztlx\",
\"type\": \"cupiditate\",
\"client_id\": \"illum\"
}"
Received response:
Request failed with error:
POST api/admin/manage_form
Example request:
const url = new URL(
"http://localhost:8000/api/admin/manage_form"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"hysform_id": "sint",
"client_id": "amet"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/manage_form" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"hysform_id\": \"sint\",
\"client_id\": \"amet\"
}"
Received response:
Request failed with error:
POST api/admin/remove_form
Example request:
const url = new URL(
"http://localhost:8000/api/admin/remove_form"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"hysform_id": "blanditiis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/remove_form" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"hysform_id\": \"blanditiis\"
}"
Received response:
Request failed with error:
POST api/admin/get_edit_form
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_edit_form"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"hysform_id": "reiciendis",
"client_id": "nulla"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_edit_form" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"hysform_id\": \"reiciendis\",
\"client_id\": \"nulla\"
}"
Received response:
Request failed with error:
POST api/admin/edit_form
Example request:
const url = new URL(
"http://localhost:8000/api/admin/edit_form"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"hysform_id": "accusamus",
"name": "rebrvpwgbbenzauwmyeyapswjqcmxfdeyxfuadecjtosrxlzsgpuvscdxtiewfaqkurcqdhyxo"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/edit_form" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"hysform_id\": \"accusamus\",
\"name\": \"rebrvpwgbbenzauwmyeyapswjqcmxfdeyxfuadecjtosrxlzsgpuvscdxtiewfaqkurcqdhyxo\"
}"
Received response:
Request failed with error:
POST api/admin/forms
Example request:
const url = new URL(
"http://localhost:8000/api/admin/forms"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "assumenda"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/forms" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"assumenda\"
}"
Received response:
Request failed with error:
Group
APIs for managing the groups
POST api/admin/get_create_group
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_create_group"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "quia"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_create_group" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"quia\"
}"
Received response:
Request failed with error:
POST api/admin/create_group
Example request:
const url = new URL(
"http://localhost:8000/api/admin/create_group"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"name": "rfdlmpjitcaupzhqbjfptqvrnsssxzbtwujvybhg",
"client_id": "ad"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/create_group" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"name\": \"rfdlmpjitcaupzhqbjfptqvrnsssxzbtwujvybhg\",
\"client_id\": \"ad\"
}"
Received response:
Request failed with error:
POST api/admin/view_groups
Example request:
const url = new URL(
"http://localhost:8000/api/admin/view_groups"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "odio"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/view_groups" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"odio\"
}"
Received response:
Request failed with error:
POST api/admin/edit_group/{group_id}
Example request:
const url = new URL(
"http://localhost:8000/api/admin/edit_group/in"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"name": "dvfrgoserogywreodsohriratjisouwjjcrholfdu"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/edit_group/in" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"name\": \"dvfrgoserogywreodsohriratjisouwjjcrholfdu\"
}"
Received response:
Request failed with error:
POST api/admin/remove_group
Example request:
const url = new URL(
"http://localhost:8000/api/admin/remove_group"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"group_id": "nemo"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/remove_group" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"group_id\": \"nemo\"
}"
Received response:
Request failed with error:
POST api/admin/get_edit_group
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_edit_group"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"group_id": "veritatis",
"client_id": "qui"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_edit_group" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"group_id\": \"veritatis\",
\"client_id\": \"qui\"
}"
Received response:
Request failed with error:
Note
APIs for managing the admin forms
POST api/admin/notes
Example request:
const url = new URL(
"http://localhost:8000/api/admin/notes"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"id": "illum",
"type": "voluptas",
"program_id": "maxime"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/notes" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"id\": \"illum\",
\"type\": \"voluptas\",
\"program_id\": \"maxime\"
}"
Received response:
Request failed with error:
POST api/admin/add_note
Example request:
const url = new URL(
"http://localhost:8000/api/admin/add_note"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"type": "sit",
"program_id": "voluptatem",
"note": "ssxevusjklozqavqkgyyqemgfwexmhlgvxvqvbygxyhvhrybetptizarkverxlfqtmlnvauoxiiylykakzvjnftn"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/add_note" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"type\": \"sit\",
\"program_id\": \"voluptatem\",
\"note\": \"ssxevusjklozqavqkgyyqemgfwexmhlgvxvqvbygxyhvhrybetptizarkverxlfqtmlnvauoxiiylykakzvjnftn\"
}"
Received response:
Request failed with error:
POST api/admin/list_cat
Example request:
const url = new URL(
"http://localhost:8000/api/admin/list_cat"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"type": "nisi",
"program_id": "enim"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/list_cat" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"type\": \"nisi\",
\"program_id\": \"enim\"
}"
Received response:
Request failed with error:
POST api/admin/get_edit_note
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_edit_note"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"note_id": "eos",
"program_id": "nemo"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_edit_note" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"note_id\": \"eos\",
\"program_id\": \"nemo\"
}"
Received response:
Request failed with error:
POST api/admin/edit_note
Example request:
const url = new URL(
"http://localhost:8000/api/admin/edit_note"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"note_id": "quae",
"program_id": "magni",
"note": "fwythyiei",
"client_id": "sit"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/edit_note" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"note_id\": \"quae\",
\"program_id\": \"magni\",
\"note\": \"fwythyiei\",
\"client_id\": \"sit\"
}"
Received response:
Request failed with error:
Notification
APIs for managing the notifications
POST api/admin/submit_form_notification
Example request:
const url = new URL(
"http://localhost:8000/api/admin/submit_form_notification"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"program_id": "ut",
"form_id": "ducimus"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/submit_form_notification" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"program_id\": \"ut\",
\"form_id\": \"ducimus\"
}"
Received response:
Request failed with error:
Password Reminder
APIs for managing the client's password reminder
Handle a POST request to remind a user of their password.
Example request:
const url = new URL(
"http://localhost:8000/api/password/remind"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"email": "[email protected]"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/password/remind" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"email\": \"[email protected]\"
}"
Received response:
Request failed with error:
Handle a POST request to reset a user's password.
Example request:
const url = new URL(
"http://localhost:8000/api/reset-password"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"email": "[email protected]",
"password": "enim",
"token": "cum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/reset-password" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"email\": \"[email protected]\",
\"password\": \"enim\",
\"token\": \"cum\"
}"
Received response:
Request failed with error:
Programs
APIs for managing the programs
POST api/edit_program/{program_id}
Example request:
const url = new URL(
"http://localhost:8000/api/edit_program/maiores"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"name": "arnlqdmiilmaivpjgnxpkcjsxqgrjnyngpmjoqwkfjy",
"counter": 28999069.7170939
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/edit_program/maiores" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"name\": \"arnlqdmiilmaivpjgnxpkcjsxqgrjnyngpmjoqwkfjy\",
\"counter\": 28999069.7170939
}"
Received response:
Request failed with error:
POST api/admin/remove_program
Example request:
const url = new URL(
"http://localhost:8000/api/admin/remove_program"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"program_id": "aut"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/remove_program" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"program_id\": \"aut\"
}"
Received response:
Request failed with error:
POST api/add_child_program
Example request:
const url = new URL(
"http://localhost:8000/api/add_child_program"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"name": "ajlgvqhzhyjpsaxpynvfpbtcjgmmduntvjjyewrqnwtkgiyvkiycurenokepqlrnslusjjuvwjwdbzzorvebjam"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/add_child_program" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"name\": \"ajlgvqhzhyjpsaxpynvfpbtcjgmmduntvjjyewrqnwtkgiyvkiycurenokepqlrnslusjjuvwjwdbzzorvebjam\"
}"
Received response:
Request failed with error:
POST api/add_sub_program
Example request:
const url = new URL(
"http://localhost:8000/api/add_sub_program"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"name": "vgqaukdvbxtvauklyehoxhmpfdsxhlybswicrdnhzncgyxjtdnzpancgcjghxlywzanevcqdjul",
"link_id": "hic"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/add_sub_program" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"name\": \"vgqaukdvbxtvauklyehoxhmpfdsxhlybswicrdnhzncgyxjtdnzpancgcjghxlywzanevcqdjul\",
\"link_id\": \"hic\"
}"
Received response:
Request failed with error:
POST api/admin/get_add_sub_program
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_add_sub_program"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "occaecati"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_add_sub_program" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"occaecati\"
}"
Received response:
Request failed with error:
POST api/admin/updatetree
Example request:
const url = new URL(
"http://localhost:8000/api/admin/updatetree"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"data": "molestiae"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/updatetree" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"data\": \"molestiae\"
}"
Received response:
Request failed with error:
POST api/admin/add_sponsorship_form_to_program
Example request:
const url = new URL(
"http://localhost:8000/api/admin/add_sponsorship_form_to_program"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"id": "soluta",
"sponsorship_form": "voluptatibus"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/add_sponsorship_form_to_program" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"id\": \"soluta\",
\"sponsorship_form\": \"voluptatibus\"
}"
Received response:
Request failed with error:
POST api/admin/add_donor_form_to_program
Example request:
const url = new URL(
"http://localhost:8000/api/admin/add_donor_form_to_program"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"id": "placeat",
"donor_form": "sapiente"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/add_donor_form_to_program" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"id\": \"placeat\",
\"donor_form\": \"sapiente\"
}"
Received response:
Request failed with error:
POST api/admin/add_settings_to_program
Example request:
const url = new URL(
"http://localhost:8000/api/admin/add_settings_to_program"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"id": "placeat",
"settings_id": "non"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/add_settings_to_program" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"id\": \"placeat\",
\"settings_id\": \"non\"
}"
Received response:
Request failed with error:
POST api/admin/add_emailsets_to_program
Example request:
const url = new URL(
"http://localhost:8000/api/admin/add_emailsets_to_program"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"id": "tempore",
"emailset_id": "minima"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/add_emailsets_to_program" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"id\": \"tempore\",
\"emailset_id\": \"minima\"
}"
Received response:
Request failed with error:
POST api/admin/add_submit_form_to_program
Example request:
const url = new URL(
"http://localhost:8000/api/admin/add_submit_form_to_program"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"id": "commodi",
"submit_form_type": "aliquam",
"submit_form": "exercitationem"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/add_submit_form_to_program" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"id\": \"commodi\",
\"submit_form_type\": \"aliquam\",
\"submit_form\": \"exercitationem\"
}"
Received response:
Request failed with error:
POST api/admin/get_multi_program_select
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_multi_program_select"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "omnis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_multi_program_select" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"omnis\"
}"
Received response:
Request failed with error:
POST api/admin/multi_program_select
Example request:
const url = new URL(
"http://localhost:8000/api/admin/multi_program_select"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "ipsum",
"program_settings": "ut"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/multi_program_select" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"ipsum\",
\"program_settings\": \"ut\"
}"
Received response:
Request failed with error:
Settings
APIs for managing the settings of the user
POST api/admin/settings
Example request:
const url = new URL(
"http://localhost:8000/api/admin/settings"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "perferendis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/settings" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"perferendis\"
}"
Received response:
Request failed with error:
POST api/admin/get_add_settings
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_add_settings"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_add_settings" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/add_settings
Example request:
const url = new URL(
"http://localhost:8000/api/admin/add_settings"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "doloremque"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/add_settings" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"doloremque\"
}"
Received response:
Request failed with error:
POST api/admin/get_edit_settings
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_edit_settings"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"settings_id": "doloremque",
"client_id": "nostrum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_edit_settings" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"settings_id\": \"doloremque\",
\"client_id\": \"nostrum\"
}"
Received response:
Request failed with error:
POST api/admin/edit_settings
Example request:
const url = new URL(
"http://localhost:8000/api/admin/edit_settings"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"id": "corporis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/edit_settings" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"id\": \"corporis\"
}"
Received response:
Request failed with error:
POST api/admin/remove_settings
Example request:
const url = new URL(
"http://localhost:8000/api/admin/remove_settings"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"settings_id": "sed"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/remove_settings" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"settings_id\": \"sed\"
}"
Received response:
Request failed with error:
SignUp
APIs for managing the signup process of the whole application
POST api/signup
Example request:
const url = new URL(
"http://localhost:8000/api/signup"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"organization": "dsjxxowuhmnqr",
"website": "https:\/\/www.bergstrom.com\/magnam-culpa-sapiente-sit-enim-quam-sint",
"email": "[email protected]",
"password": "+2t{f+",
"first_name": "amet",
"last_name": "ut",
"number": "non",
"cvc": "deleniti",
"expiryMonth": "alias",
"expiryYear": "natus"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/signup" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"organization\": \"dsjxxowuhmnqr\",
\"website\": \"https:\\/\\/www.bergstrom.com\\/magnam-culpa-sapiente-sit-enim-quam-sint\",
\"email\": \"[email protected]\",
\"password\": \"+2t{f+\",
\"first_name\": \"amet\",
\"last_name\": \"ut\",
\"number\": \"non\",
\"cvc\": \"deleniti\",
\"expiryMonth\": \"alias\",
\"expiryYear\": \"natus\"
}"
Received response:
Request failed with error:
Templates
APIs for managing the templates of the clients
POST api/admin/get_template
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_template"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"client_id": "harum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_template" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"client_id\": \"harum\"
}"
Received response:
Request failed with error:
POST api/admin/template
Example request:
const url = new URL(
"http://localhost:8000/api/admin/template"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/template" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/upload_pic_to_template
Example request:
const url = new URL(
"http://localhost:8000/api/admin/upload_pic_to_template"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"filename": "qui",
"client_id": "numquam",
"name": "dolore"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/upload_pic_to_template" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"filename\": \"qui\",
\"client_id\": \"numquam\",
\"name\": \"dolore\"
}"
Received response:
Request failed with error:
POST api/admin/remove_template_pic
Example request:
const url = new URL(
"http://localhost:8000/api/admin/remove_template_pic"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"id": "veritatis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/remove_template_pic" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"id\": \"veritatis\"
}"
Received response:
Request failed with error:
Upload
APIs for managing everything related to uploads
POST api/upload_file/{type}/{id}
Example request:
const url = new URL(
"http://localhost:8000/api/upload_file/sed/iure"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"file": "dnzumlmlihdoxgedfj"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/upload_file/sed/iure" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"file\": \"dnzumlmlihdoxgedfj\"
}"
Received response:
Request failed with error:
POST api/edit_file/{id}
Example request:
const url = new URL(
"http://localhost:8000/api/edit_file/sequi"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/edit_file/sequi" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/recordUpload
Example request:
const url = new URL(
"http://localhost:8000/api/admin/recordUpload"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/recordUpload" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/csv_import/{program_id}
Example request:
const url = new URL(
"http://localhost:8000/api/csv_import/alias"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/csv_import/alias" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/csv_process/{program_id}
Example request:
const url = new URL(
"http://localhost:8000/api/csv_process/consectetur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/csv_process/consectetur" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/csv_process_relationships/{program_id}
Example request:
const url = new URL(
"http://localhost:8000/api/csv_process_relationships/nisi"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/csv_process_relationships/nisi" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/csv_process_payments/{program_id}
Example request:
const url = new URL(
"http://localhost:8000/api/csv_process_payments/sit"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/csv_process_payments/sit" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
User
APIs for managing the users
POST api/admin/admin/{client_id}
Example request:
const url = new URL(
"http://localhost:8000/api/admin/admin/qui"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"email": "[email protected]",
"password": "[Am;j![LY#{U\"Qj",
"first_name": "dolorem"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/admin/qui" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"email\": \"[email protected]\",
\"password\": \"[Am;j![LY#{U\\\"Qj\",
\"first_name\": \"dolorem\"
}"
Received response:
Request failed with error:
POST api/admin/{admin_id}/delete
Example request:
const url = new URL(
"http://localhost:8000/api/admin/explicabo/delete"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/explicabo/delete" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id"
Received response:
Request failed with error:
POST api/admin/{admin_id}/edit
Example request:
const url = new URL(
"http://localhost:8000/api/admin/sit/edit"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"email": "[email protected]",
"first_name": "sed"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/sit/edit" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"email\": \"[email protected]\",
\"first_name\": \"sed\"
}"
Received response:
Request failed with error:
POST api/admin/get_add_form_field
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_add_form_field"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"hysform_id": "ut",
"type": "eveniet",
"client_id": "hic"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_add_form_field" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"hysform_id\": \"ut\",
\"type\": \"eveniet\",
\"client_id\": \"hic\"
}"
Received response:
Request failed with error:
POST api/admin/add_form_field/{id}/{type}
Example request:
const url = new URL(
"http://localhost:8000/api/admin/add_form_field/omnis/incidunt"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"field_label": "secyrgcwdnc"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/add_form_field/omnis/incidunt" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"field_label\": \"secyrgcwdnc\"
}"
Received response:
Request failed with error:
POST api/admin/get_edit_form_field
Example request:
const url = new URL(
"http://localhost:8000/api/admin/get_edit_form_field"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"hysform_id": "magni",
"type": "hic",
"client_id": "vitae"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/get_edit_form_field" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"hysform_id\": \"magni\",
\"type\": \"hic\",
\"client_id\": \"vitae\"
}"
Received response:
Request failed with error:
POST api/admin/edit_form_field
Example request:
const url = new URL(
"http://localhost:8000/api/admin/edit_form_field"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"id": "ea",
"type": "sit"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/edit_form_field" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"id\": \"ea\",
\"type\": \"sit\"
}"
Received response:
Request failed with error:
POST api/admin/delete_form_field
Example request:
const url = new URL(
"http://localhost:8000/api/admin/delete_form_field"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"id": "pariatur",
"type": "est"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/admin/delete_form_field" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"id\": \"pariatur\",
\"type\": \"est\"
}"
Received response:
Request failed with error:
POST api/activate_user
Example request:
const url = new URL(
"http://localhost:8000/api/activate_user"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"id": "necessitatibus",
"activationCode": "earum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/activate_user" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"id\": \"necessitatibus\",
\"activationCode\": \"earum\"
}"
Received response:
Request failed with error:
User Authentication
APIs for managing user authenticaton
Login a user
This endpoint lets you login to the application.
Example request:
const url = new URL(
"http://localhost:8000/api/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"Client-Id": "client-id",
};
let body = {
"email": "[email protected]",
"password": "paasword"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
curl --request POST \
"http://localhost:8000/api/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Client-Id: client-id" \
--data "{
\"email\": \"[email protected]\",
\"password\": \"paasword\"
}"
Received response:
Request failed with error: