Provides the ability to list and create Order
{
"status": "int",
"updated_by": "int",
"date_updated": "datetime",
"date_created": "datetime",
"company": "int",
"id": "int",
"created_by": "int"
}
Provides the ability to retrieve Order
{
"status": "int",
"updated_by": "int",
"date_updated": "datetime",
"date_created": "datetime",
"company": "int",
"id": "int",
"created_by": "int"
}
Provides the ability to retrieve OrderLine
{
"updated_by": "int",
"date_updated": "datetime",
"prize_type": "string",
"created_by": "int",
"qty": "int",
"currency": "string",
"amount": "unknown",
"products": "list",
"date_created": "datetime",
"order": "int",
"id": "int"
}
Returns an annotated dict object of prizes in the system.
returns: |
} |
---|
{}
Allows for a summary of total prizes assigned to a closed campaign.
{}
Provides the ability to un-reserve on cpp
{}
Lists all Electricity prizes.
{
"token_extra_info": "string",
"updated_by": "int",
"token_customer_msg": "string",
"date_updated": "datetime",
"company": "int",
"token_vat_no": "string",
"token_receipt": "string",
"currency": "string",
"token_utility": "string",
"token_reference": "string",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"token_customer_address": "string",
"token_units": "string",
"token_no": "string",
"token_amount": "string",
"date_allocated": "datetime",
"created_by": "int",
"amount": "unknown",
"token_customer_name": "string",
"date_created": "datetime",
"token_tax": "string"
}
{
"token_extra_info": "string",
"updated_by": "int",
"token_customer_msg": "string",
"date_updated": "datetime",
"company": "int",
"token_vat_no": "string",
"token_receipt": "string",
"currency": "string",
"token_utility": "string",
"token_reference": "string",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"token_customer_address": "string",
"token_units": "string",
"token_no": "string",
"token_amount": "string",
"date_allocated": "datetime",
"created_by": "int",
"amount": "unknown",
"token_customer_name": "string",
"date_created": "datetime",
"token_tax": "string"
}
Assign electricity to a prize pool.
{
"token_extra_info": "string",
"updated_by": "int",
"token_customer_msg": "string",
"date_updated": "datetime",
"company": "int",
"token_vat_no": "string",
"token_receipt": "string",
"currency": "string",
"token_utility": "string",
"token_reference": "string",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"token_customer_address": "string",
"token_units": "string",
"token_no": "string",
"token_amount": "string",
"date_allocated": "datetime",
"created_by": "int",
"amount": "unknown",
"token_customer_name": "string",
"date_created": "datetime",
"token_tax": "string"
}
Gets the details of a FNB eWallet prizes.
{
"token_extra_info": "string",
"updated_by": "int",
"token_customer_msg": "string",
"date_updated": "datetime",
"company": "int",
"token_vat_no": "string",
"token_receipt": "string",
"currency": "string",
"token_utility": "string",
"token_reference": "string",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"token_customer_address": "string",
"token_units": "string",
"token_no": "string",
"token_amount": "string",
"date_allocated": "datetime",
"created_by": "int",
"amount": "unknown",
"token_customer_name": "string",
"date_created": "datetime",
"token_tax": "string"
}
Lists all Airtime prizes.
{
"updated_by": "int",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"currency": "string",
"amount": "unknown",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int"
}
Lists all Airtime prizes.
{
"updated_by": "int",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"currency": "string",
"amount": "unknown",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int"
}
Lists all Airtime prizes.
{
"updated_by": "int",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"currency": "string",
"amount": "unknown",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int"
}
Assign airtime to a prize pool.
{
"updated_by": "int",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"currency": "string",
"amount": "unknown",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int"
}
Reserves Airtime for focus groups
}
{
"updated_by": "int",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"currency": "string",
"amount": "unknown",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int"
}
Awards Airtime for a completed focus groups {
{amount: 100, quantity: 5},
}
{
"updated_by": "int",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"currency": "string",
"amount": "unknown",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int"
}
{
"updated_by": "int",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"currency": "string",
"amount": "unknown",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int"
}
Gets the details of a FNB eWallet prizes.
{
"updated_by": "int",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"currency": "string",
"amount": "unknown",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int"
}
Lists all Data prizes.
{
"mtn_product_code": "string",
"updated_by": "int",
"telkom_product_code": "string",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"cellc_product_code": "string",
"id": "int",
"pool": "int",
"vodacom_product_code": "string"
}
{
"mtn_product_code": "string",
"updated_by": "int",
"telkom_product_code": "string",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"cellc_product_code": "string",
"id": "int",
"pool": "int",
"vodacom_product_code": "string"
}
Assign Data to a prize pool.
{
"mtn_product_code": "string",
"updated_by": "int",
"telkom_product_code": "string",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"cellc_product_code": "string",
"id": "int",
"pool": "int",
"vodacom_product_code": "string"
}
Gets the details of a Data prizes.
{
"mtn_product_code": "string",
"updated_by": "int",
"telkom_product_code": "string",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"cellc_product_code": "string",
"id": "int",
"pool": "int",
"vodacom_product_code": "string"
}
{
"mtn_product_code": "string",
"updated_by": "int",
"telkom_product_code": "string",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"cellc_product_code": "string",
"id": "int",
"pool": "int",
"vodacom_product_code": "string"
}
Lists all Data prizes.
{
"mtn_product_code": "string",
"updated_by": "int",
"telkom_product_code": "string",
"date_updated": "datetime",
"company": "int",
"selected": "int",
"date_allocated": "datetime",
"created_by": "int",
"currency": "string",
"amount": "unknown",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"cellc_product_code": "string",
"id": "int",
"pool": "int",
"vodacom_product_code": "string"
}
{
"mtn_product_code": "string",
"updated_by": "int",
"telkom_product_code": "string",
"date_updated": "datetime",
"company": "int",
"selected": "int",
"date_allocated": "datetime",
"created_by": "int",
"currency": "string",
"amount": "unknown",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"cellc_product_code": "string",
"id": "int",
"pool": "int",
"vodacom_product_code": "string"
}
Assign Data to a prize pool.
{
"mtn_product_code": "string",
"updated_by": "int",
"telkom_product_code": "string",
"date_updated": "datetime",
"company": "int",
"selected": "int",
"date_allocated": "datetime",
"created_by": "int",
"currency": "string",
"amount": "unknown",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"cellc_product_code": "string",
"id": "int",
"pool": "int",
"vodacom_product_code": "string"
}
Gets the details of a Data prizes.
{
"mtn_product_code": "string",
"updated_by": "int",
"telkom_product_code": "string",
"date_updated": "datetime",
"company": "int",
"selected": "int",
"date_allocated": "datetime",
"created_by": "int",
"currency": "string",
"amount": "unknown",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"cellc_product_code": "string",
"id": "int",
"pool": "int",
"vodacom_product_code": "string"
}
Lists all FNB eWallet prizes.
{
"updated_by": "int",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"currency": "string",
"amount": "unknown",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int"
}
Lists all Airtime prizes.
{
"updated_by": "int",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"currency": "string",
"amount": "unknown",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int"
}
Assign electricity to a prize pool.
{
"updated_by": "int",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"currency": "string",
"amount": "unknown",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int"
}
Gets the details of a FNB eWallet prizes.
{
"updated_by": "int",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"currency": "string",
"amount": "unknown",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int"
}
Provides the ability to list and create PhysicalPrizes
{
"status": "int",
"updated_by": "int",
"date_updated": "datetime",
"recipient_add_code": "string",
"company": "int",
"recipient_name": "string",
"recipient_add_2": "string",
"recipient_work_no": "string",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"delivery_backend": "string",
"name": "string",
"stock_item": "int",
"recipient_company": "string",
"recipient_cell_no": "string",
"date_allocated": "datetime",
"created_by": "int",
"waybill_no": "string",
"delivery_instructions": "string",
"recipient_add_3": "string",
"date_created": "datetime",
"recipient_add_1": "string",
"recipient_home_no": "string",
"fulfillment_agent": "int",
"recipient_add_4": "string"
}
{
"status": "int",
"updated_by": "int",
"date_updated": "datetime",
"recipient_add_code": "string",
"company": "int",
"recipient_name": "string",
"recipient_add_2": "string",
"recipient_work_no": "string",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"delivery_backend": "string",
"name": "string",
"stock_item": "int",
"recipient_company": "string",
"recipient_cell_no": "string",
"date_allocated": "datetime",
"created_by": "int",
"waybill_no": "string",
"delivery_instructions": "string",
"recipient_add_3": "string",
"date_created": "datetime",
"recipient_add_1": "string",
"recipient_home_no": "string",
"fulfillment_agent": "int",
"recipient_add_4": "string"
}
Assign electricity to a prize pool.
{
"status": "int",
"updated_by": "int",
"date_updated": "datetime",
"recipient_add_code": "string",
"company": "int",
"recipient_name": "string",
"recipient_add_2": "string",
"recipient_work_no": "string",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"delivery_backend": "string",
"name": "string",
"stock_item": "int",
"recipient_company": "string",
"recipient_cell_no": "string",
"date_allocated": "datetime",
"created_by": "int",
"waybill_no": "string",
"delivery_instructions": "string",
"recipient_add_3": "string",
"date_created": "datetime",
"recipient_add_1": "string",
"recipient_home_no": "string",
"fulfillment_agent": "int",
"recipient_add_4": "string"
}
Used for agents to fetch an unassigned physical prize and assign it to themselves. Assigns automatically to the logged in user.
{
"status": "int",
"updated_by": "int",
"date_updated": "datetime",
"recipient_add_code": "string",
"company": "int",
"recipient_name": "string",
"recipient_add_2": "string",
"recipient_work_no": "string",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"delivery_backend": "string",
"name": "string",
"stock_item": "int",
"recipient_company": "string",
"recipient_cell_no": "string",
"date_allocated": "datetime",
"created_by": "int",
"waybill_no": "string",
"delivery_instructions": "string",
"recipient_add_3": "string",
"date_created": "datetime",
"recipient_add_1": "string",
"recipient_home_no": "string",
"fulfillment_agent": "int",
"recipient_add_4": "string"
}
Used for agents to fetch prizes grouped by name i.e T-Shirts Large, T-Shirts Small Agents can also award prizes to entrants that are already in the system
{
"status": "int",
"updated_by": "int",
"date_updated": "datetime",
"recipient_add_code": "string",
"company": "int",
"recipient_name": "string",
"recipient_add_2": "string",
"recipient_work_no": "string",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"delivery_backend": "string",
"name": "string",
"stock_item": "int",
"recipient_company": "string",
"recipient_cell_no": "string",
"date_allocated": "datetime",
"created_by": "int",
"waybill_no": "string",
"delivery_instructions": "string",
"recipient_add_3": "string",
"date_created": "datetime",
"recipient_add_1": "string",
"recipient_home_no": "string",
"fulfillment_agent": "int",
"recipient_add_4": "string"
}
{
"status": "int",
"updated_by": "int",
"date_updated": "datetime",
"recipient_add_code": "string",
"company": "int",
"recipient_name": "string",
"recipient_add_2": "string",
"recipient_work_no": "string",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"delivery_backend": "string",
"name": "string",
"stock_item": "int",
"recipient_company": "string",
"recipient_cell_no": "string",
"date_allocated": "datetime",
"created_by": "int",
"waybill_no": "string",
"delivery_instructions": "string",
"recipient_add_3": "string",
"date_created": "datetime",
"recipient_add_1": "string",
"recipient_home_no": "string",
"fulfillment_agent": "int",
"recipient_add_4": "string"
}
{}
{
"status": "int",
"updated_by": "int",
"date_updated": "datetime",
"recipient_add_code": "string",
"company": "int",
"recipient_name": "string",
"recipient_add_2": "string",
"recipient_work_no": "string",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"delivery_backend": "string",
"name": "string",
"stock_item": "int",
"recipient_company": "string",
"recipient_cell_no": "string",
"date_allocated": "datetime",
"created_by": "int",
"waybill_no": "string",
"delivery_instructions": "string",
"recipient_add_3": "string",
"date_created": "datetime",
"recipient_add_1": "string",
"recipient_home_no": "string",
"fulfillment_agent": "int",
"recipient_add_4": "string"
}
Lists all grouped physical prizes.
{
"status": "int",
"updated_by": "int",
"date_updated": "datetime",
"recipient_add_code": "string",
"company": "int",
"recipient_name": "string",
"recipient_add_2": "string",
"recipient_work_no": "string",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"delivery_backend": "string",
"name": "string",
"stock_item": "int",
"recipient_company": "string",
"recipient_cell_no": "string",
"date_allocated": "datetime",
"created_by": "int",
"waybill_no": "string",
"delivery_instructions": "string",
"recipient_add_3": "string",
"date_created": "datetime",
"recipient_add_1": "string",
"recipient_home_no": "string",
"fulfillment_agent": "int",
"recipient_add_4": "string"
}
Provides the ability to get and put a PhysicalPrize
{
"status": "int",
"updated_by": "int",
"date_updated": "datetime",
"recipient_add_code": "string",
"company": "int",
"recipient_name": "string",
"recipient_add_2": "string",
"recipient_work_no": "string",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"delivery_backend": "string",
"name": "string",
"stock_item": "int",
"recipient_company": "string",
"recipient_cell_no": "string",
"date_allocated": "datetime",
"created_by": "int",
"waybill_no": "string",
"delivery_instructions": "string",
"recipient_add_3": "string",
"date_created": "datetime",
"recipient_add_1": "string",
"recipient_home_no": "string",
"fulfillment_agent": "int",
"recipient_add_4": "string"
}
Lists all grouped physical prizes.
{
"status": "int",
"updated_by": "int",
"date_updated": "datetime",
"recipient_add_code": "string",
"company": "int",
"recipient_name": "string",
"recipient_add_2": "string",
"recipient_work_no": "string",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"delivery_backend": "string",
"name": "string",
"stock_item": "int",
"recipient_company": "string",
"recipient_cell_no": "string",
"date_allocated": "datetime",
"created_by": "int",
"waybill_no": "string",
"delivery_instructions": "string",
"recipient_add_3": "string",
"date_created": "datetime",
"recipient_add_1": "string",
"recipient_home_no": "string",
"fulfillment_agent": "int",
"recipient_add_4": "string"
}
Lists all Voucher prizes.
{
"voucher_number": "string",
"updated_by": "int",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"name": "string"
}
Lists all Voucher prizes.
{
"voucher_number": "string",
"updated_by": "int",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"name": "string"
}
Assign voucher to a prize pool.
{
"voucher_number": "string",
"updated_by": "int",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"name": "string"
}
Gets the details of a Voucher prize.
{
"voucher_number": "string",
"updated_by": "int",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"name": "string"
}
{
"voucher_number": "string",
"updated_by": "int",
"date_updated": "datetime",
"company": "int",
"date_allocated": "datetime",
"created_by": "int",
"date_created": "datetime",
"availability_status": "int",
"message": "int",
"id": "int",
"pool": "int",
"name": "string"
}
Provides the ability to list and create Vaults for prize pools.
{
"ignore_odds": "boolean",
"unique_winners": "boolean",
"updated_by": "int",
"campaign": "unknown",
"award_prizes_from": "datetime",
"date_updated": "datetime",
"date_created": "datetime",
"award_prizes_to": "datetime",
"id": "int",
"created_by": "int"
}
Provides the ability to get and put a Vault.
{
"ignore_odds": "boolean",
"unique_winners": "boolean",
"updated_by": "int",
"campaign": "unknown",
"award_prizes_from": "datetime",
"date_updated": "datetime",
"date_created": "datetime",
"award_prizes_to": "datetime",
"id": "int",
"created_by": "int"
}
Provides the ability to list and create PrizePools
{
"category": "int",
"award_dates": "unknown",
"ussd_option": "boolean",
"updated_by": "int",
"end_date": "datetime",
"title": "string",
"date_updated": "datetime",
"total_count": "int",
"is_active": "boolean",
"prize_type": "string",
"created_by": "int",
"start_date": "datetime",
"avail_count": "int",
"vault": "int",
"date_created": "datetime",
"id": "int"
}
Provides the ability to get and put a PrizePool
{
"category": "int",
"award_dates": "unknown",
"ussd_option": "boolean",
"updated_by": "int",
"end_date": "datetime",
"title": "string",
"date_updated": "datetime",
"total_count": "int",
"is_active": "boolean",
"prize_type": "string",
"created_by": "int",
"start_date": "datetime",
"avail_count": "int",
"vault": "int",
"date_created": "datetime",
"id": "int"
}
Provides the ability to get a PrizePoolCategory
{
"rght": "int",
"updated_by": "int",
"parent": "unknown",
"level": "int",
"date_updated": "datetime",
"created_by": "int",
"lft": "int",
"tree_id": "int",
"date_created": "datetime",
"id": "int",
"name": "string"
}
Provides the ability to list PrizePoolCategory
{
"rght": "int",
"updated_by": "int",
"parent": "unknown",
"level": "int",
"date_updated": "datetime",
"created_by": "int",
"lft": "int",
"tree_id": "int",
"date_created": "datetime",
"id": "int",
"name": "string"
}
Provides the ability to see which prize types are available within the system.
{}
Provides the ability to list the number of winners for a prize
{}
Allows the ability to list and create call logs
{
"reason": "string",
"campaign": "int",
"date_updated": "datetime",
"date_created": "datetime",
"message": "int",
"id": "int",
"fulfillment_agent": "int"
}
Provides the ability to launch a task to create a csv file within filebox with prize winners.
{}
Provides the ability to launch a task to create a csv file within filebox with prize winners.
{}
Direct Prizes instantly gets awarded once a code is used, a direct prize is linked between a unique code batch and a prize pool, so that when a direct prize request is received for a valid code a prize will be given instantly from the assigned prize pool.
{
"pool": "int",
"updated_by": "int",
"date_updated": "datetime",
"date_created": "datetime",
"id": "int",
"created_by": "int",
"batch": "int"
}
Direct Prizes instantly gets awarded once a code is used, a direct prize is linked between a unique code batch and a prize pool, so that when a direct prize request is received for a valid code a prize will be given instantly from the assigned prize pool.
{
"pool": "int",
"updated_by": "int",
"date_updated": "datetime",
"date_created": "datetime",
"id": "int",
"created_by": "int",
"batch": "int"
}
{}
Provides the ability to see which prize types are available within the system.
{
"campaign": "int",
"company": "int",
"prize_type": "int",
"prize_count": "int",
"currency": "string",
"amount": "int",
"date_created": "datetime",
"pool_category_name": "string",
"stat_type": "int",
"id": "int",
"day": "datetime"
}