Skip to content

Instantly share code, notes, and snippets.

@joel-extremo
joel-extremo / json
Created June 10, 2018 19:37
get flow
{
"flow": {
"id": 2,
"name": "flow test",
"vertical": {
"id": 1,
"name": "Main Stream"
},
"subvertical": {
"id": 4,
@joel-extremo
joel-extremo / json
Created June 10, 2018 19:38
create flow
{
"name": "flow test name",
"vertical_id": "1",
"subvertical_id": "4",
"rules": [
{
"has_landers": "1",
"conditions": [
{
"id": "1",
{
"current_page": 1,
"data": [
{
"id": 15,
"name": "flow test name",
"vertical": {
"id": 1,
"name": "Main Stream"
},
{
"flow": {
"id": 2,
"name": "flow test",
"vertical": {
"id": 1,
"name": "Main Stream"
},
"subvertical": {
"id": 4,
@joel-extremo
joel-extremo / create_flow.json
Created June 12, 2018 11:28
create flow form
{
"conditions": [
{
"id": 1,
"name": "Country"
},
{
"id": 2,
"name": "Carrier"
},
@joel-extremo
joel-extremo / edit_flow.json
Created June 12, 2018 11:31
edit flow form
{
"flow": {
"id": 1,
"name": "flow test name 3",
"vertical": {
"id": 1,
"name": "Main Stream"
},
"subvertical": {
"id": 4,
@joel-extremo
joel-extremo / store_flow_parameters.json
Created June 12, 2018 11:35
store flow parameters
{
"name": "flow test name",
"vertical_id": "1",
"subvertical_id": "4",
"rules": [
{
"has_landers": "1",
"conditions": [
{
"id": "1",
@joel-extremo
joel-extremo / update_flow_parameters.json
Created June 12, 2018 11:38
update flow parameters
{
"name": "flow test name 3",
"vertical_id": "1",
"subvertical_id": "4",
"rules": [
{
"has_landers": "1",
"conditions": [
{
"id": "1",
@joel-extremo
joel-extremo / ge_offers_flow_parameters.json
Created June 12, 2018 11:41
ge offers flow parameters
{
"conditions": [
{
"id": "1",
"value": "10"
},
{
"id": "2",
"value": "2"
},
@joel-extremo
joel-extremo / offers_flow.json
Last active June 12, 2018 11:42
offer flow
{
"offers": [
{
"id": 182,
"name": "Global Sweepstakes"
},
{
"id": 183,
"name": "Global WhatsApp"
},