Advertisement
Guest User

Next Available Spec

a guest
Sep 18th, 2015
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 12.51 KB | None | 0 0
  1. curl -X GET -H 'x-session-token: d0a4e7830e49bb10c247496d0dfe3831' 'https://trn2.oysterlabs.com/api/1.3/user/get?filter=%7B%22allow_not_full_match%22%3Atrue%2C%22location_id%22%3A246%2C%22prof_orientation%22%3A%5B%22yoga%22%5D%2C%22date%22%3A%222015-09-20%2012%3A15%3A00%22%7D'
  2. Sep 18 07:19:07 iPod-nika TRN[353] <Warning>: {
  3.       "code" : 200,
  4.       "request_id" : 31002,
  5.       "result" : [
  6.         {
  7.           "id" : 470,
  8.           "city" : "New York",
  9.           "username" : "Zorg Zorgovitch",
  10.           "avatar" : "https:\/\/s3.amazonaws.com\/trn.oysterlabs.com\/dev2\/user_avatar_470_29b6.jpeg",
  11.           "zip" : "14113",
  12.           "region_id" : 8,
  13.           "roles" : [
  14.             "ROLE_SPECIALIST"
  15.           ],
  16.           "address_1" : "80 Avenue 222",
  17.           "payment" : {
  18.             "total_price" : 130.63,
  19.             "price" : 125,
  20.             "promo_amount" : 0,
  21.             "tax_percent" : 4.5,
  22.             "tax_amount" : 5.63
  23.           },
  24.           "state" : "NJ",
  25.           "location_id" : 18,
  26.           "last_name" : "Zorgovitch",
  27.           "email" : "qwerty@zz.com",
  28.           "profile" : {
  29.             "medical" : {
  30.               "gender" : "male",
  31.               "weight" : {
  32.                 "value" : 62,
  33.                 "type" : "pound"
  34.               },
  35.               "heart_condition" : "",
  36.               "date_of_birth" : "1990-11-23",
  37.               "injuries" : {
  38.                 "notes" : "",
  39.                 "orthopedic" : [
  40.    
  41.                 ],
  42.                 "diseases" : [
  43.    
  44.                 ]
  45.               },
  46.               "height" : {
  47.                 "value" : 80,
  48.                 "type" : "inch"
  49.               }
  50.             },
  51.             "lifestyle" : {
  52.               "exercise" : 0,
  53.               "sleep" : 0,
  54.               "stress" : 0
  55.             },
  56.             "speciality" : {
  57.               "education" : [
  58.                 "school"
  59.               ],
  60.               "certifications" : [
  61.                 "8888887"
  62.               ],
  63.               "link" : "",
  64.               "availability" : true,
  65.               "commission" : "87",
  66.               "years_of_experience" : 1,
  67.               "achievements" : [
  68.                 "none"
  69.               ],
  70.               "prof_orientation" : [
  71.                 "pilates"
  72.               ]
  73.             },
  74.             "braintree" : {
  75.               "id" : "zorg_zorgovitch_instant_533445rc",
  76.               "dateOfBirth" : "1987-8-6",
  77.               "lastName" : "Zorgovitch",
  78.               "postalCode" : "14113",
  79.               "destination" : "bank",
  80.               "firstName" : "Zorg",
  81.               "region" : "NJ",
  82.               "locality" : "New York",
  83.               "streetAddress" : "80 Avenue 222",
  84.               "accountNumber" : "2123434534534",
  85.               "routingNumber" : "021000021",
  86.               "descriptor" : "Zorg Zorgovitch"
  87.             }
  88.           },
  89.           "average_rate" : 4.1,
  90.           "schedule_block" : {
  91.             "id" : 815,
  92.             "region_id" : 8,
  93.             "date_to" : "2015-09-26 03:00:00",
  94.             "date_from" : "2015-09-25 09:00:00"
  95.           },
  96.           "phone" : "1111111111",
  97.           "full_match" : false,
  98.           "first_name" : "Zorg"
  99.         },
  100.         {
  101.           "id" : 561,
  102.           "city" : "New York",
  103.           "username" : "Ivan Drago",
  104.           "avatar" : "https:\/\/s3.amazonaws.com\/trn.oysterlabs.com\/dev2\/user_avatar_561_b194.jpeg",
  105.           "zip" : "10222",
  106.           "region_id" : 8,
  107.           "roles" : [
  108.             "ROLE_SPECIALIST"
  109.           ],
  110.           "address_1" : "200 Water Street",
  111.           "payment" : {
  112.             "total_price" : 130.63,
  113.             "price" : 125,
  114.             "promo_amount" : 0,
  115.             "tax_percent" : 4.5,
  116.             "tax_amount" : 5.63
  117.           },
  118.           "state" : "ID",
  119.           "location_id" : null,
  120.           "last_name" : "Drago",
  121.           "email" : "qwerty@id.com",
  122.           "profile" : {
  123.             "speciality" : {
  124.               "education" : [
  125.                 "none"
  126.               ],
  127.               "certifications" : [
  128.                 "1111111"
  129.               ],
  130.               "link" : "http:\/\/www.youtube.com\/watch?v=GWihWfdH4Zw",
  131.               "availability" : true,
  132.               "commission" : "83.00",
  133.               "years_of_experience" : 30,
  134.               "achievements" : [
  135.                 "2252255"
  136.               ],
  137.               "prof_orientation" : [
  138.                 "training"
  139.               ]
  140.             },
  141.             "braintree" : {
  142.               "id" : "ivan_drago_instant_jh79y85m",
  143.               "dateOfBirth" : "1982-4-4",
  144.               "lastName" : "Drago",
  145.               "postalCode" : "10222",
  146.               "destination" : "bank",
  147.               "firstName" : "Ivan",
  148.               "region" : "ID",
  149.               "locality" : "New York",
  150.               "streetAddress" : "200 Water Street",
  151.               "accountNumber" : "123456789012",
  152.               "routingNumber" : "021000021",
  153.               "descriptor" : "Ivan Drago"
  154.             }
  155.           },
  156.           "average_rate" : 4.5,
  157.           "schedule_block" : {
  158.             "id" : 811,
  159.             "region_id" : 8,
  160.             "date_to" : "2015-09-25 23:00:00",
  161.             "date_from" : "2015-09-25 14:00:00"
  162.           },
  163.           "phone" : "1112221111",
  164.           "full_match" : false,
  165.           "first_name" : "Ivan"
  166.         },
  167.         {
  168.           "id" : 673,
  169.           "city" : "New York",
  170.           "username" : "Banana Banana",
  171.           "avatar" : "https:\/\/s3.amazonaws.com\/trn.oysterlabs.com\/dev2\/user_avatar_673_6810.jpeg",
  172.           "zip" : "10025",
  173.           "region_id" : 8,
  174.           "roles" : [
  175.             "ROLE_SPECIALIST"
  176.           ],
  177.           "address_1" : "1 Grand Street",
  178.           "payment" : {
  179.             "total_price" : 130.63,
  180.             "price" : 125,
  181.             "promo_amount" : 0,
  182.             "tax_percent" : 4.5,
  183.             "tax_amount" : 5.63
  184.           },
  185.           "state" : "NY",
  186.           "location_id" : null,
  187.           "last_name" : "Banana",
  188.           "email" : "qwerty@bb.com",
  189.           "profile" : {
  190.             "speciality" : {
  191.               "education" : [
  192.                 "school"
  193.               ],
  194.               "certifications" : [
  195.                 "123456741"
  196.               ],
  197.               "link" : "",
  198.               "availability" : true,
  199.               "commission" : "83.00",
  200.               "years_of_experience" : 1,
  201.               "achievements" : [
  202.                 "ghghghgh"
  203.               ],
  204.               "prof_orientation" : [
  205.                 "yoga"
  206.               ]
  207.             },
  208.             "braintree" : {
  209.               "id" : "banana_banana_instant_jg7qqsjn",
  210.               "dateOfBirth" : "1987-6-6",
  211.               "lastName" : "Banana",
  212.               "postalCode" : "10025",
  213.               "destination" : "bank",
  214.               "firstName" : "Banana",
  215.               "region" : "NY",
  216.               "locality" : "New York",
  217.               "streetAddress" : "1 Grand Street",
  218.               "accountNumber" : "123456789012",
  219.               "routingNumber" : "021000021",
  220.               "descriptor" : "Banana Banana"
  221.             }
  222.           },
  223.           "average_rate" : 3.8,
  224.           "schedule_block" : {
  225.             "id" : 814,
  226.             "region_id" : 8,
  227.             "date_to" : "2015-09-26 03:00:00",
  228.             "date_from" : "2015-09-25 15:30:00"
  229.           },
  230.           "phone" : "2222225587",
  231.           "full_match" : false,
  232.           "first_name" : "Banana"
  233.         },
  234.         {
  235.           "id" : 584,
  236.           "city" : "New York",
  237.           "username" : "Mr Been",
  238.           "avatar" : "https:\/\/s3.amazonaws.com\/trn.oysterlabs.com\/dev2\/user_avatar_584_a26d.jpeg",
  239.           "zip" : "10085",
  240.           "region_id" : 8,
  241.           "roles" : [
  242.             "ROLE_SPECIALIST"
  243.           ],
  244.           "address_1" : "200 Water Street",
  245.           "payment" : {
  246.             "total_price" : 130.63,
  247.             "price" : 125,
  248.             "promo_amount" : 0,
  249.             "tax_percent" : 4.5,
  250.             "tax_amount" : 5.63
  251.           },
  252.           "state" : "NY",
  253.           "location_id" : null,
  254.           "last_name" : "Been",
  255.           "email" : "qwerty@mrb.com",
  256.           "profile" : {
  257.             "speciality" : {
  258.               "education" : [
  259.                 "2222222"
  260.               ],
  261.               "certifications" : [
  262.                 "11111111"
  263.               ],
  264.               "link" : "55555555",
  265.               "availability" : true,
  266.               "commission" : "86",
  267.               "years_of_experience" : 1,
  268.               "achievements" : [
  269.                 "5555555"
  270.               ],
  271.               "prof_orientation" : [
  272.                 "yoga"
  273.               ]
  274.             },
  275.             "braintree" : {
  276.               "id" : "mr_been_instant_4ssny43g",
  277.               "dateOfBirth" : "1984-4-9",
  278.               "lastName" : "Been",
  279.               "postalCode" : "10085",
  280.               "destination" : "bank",
  281.               "firstName" : "Mr",
  282.               "region" : "NY",
  283.               "locality" : "New York",
  284.               "streetAddress" : "200 Water Street",
  285.               "accountNumber" : "123456789012",
  286.               "routingNumber" : "021000021",
  287.               "descriptor" : "Mr Been"
  288.             }
  289.           },
  290.           "average_rate" : 5,
  291.           "schedule_block" : {
  292.             "id" : 813,
  293.             "region_id" : 8,
  294.             "date_to" : "2015-09-25 23:00:00",
  295.             "date_from" : "2015-09-25 17:00:00"
  296.           },
  297.           "phone" : "2558885888",
  298.           "full_match" : false,
  299.           "first_name" : "Mr"
  300.         },
  301.         {
  302.           "id" : 817,
  303.           "city" : "New York",
  304.           "username" : "Frank Edu",
  305.           "avatar" : "https:\/\/s3.amazonaws.com\/trn.oysterlabs.com\/dev2\/user_avatar_817_952d.jpeg",
  306.           "zip" : "10054",
  307.           "region_id" : 8,
  308.           "roles" : [
  309.             "ROLE_SPECIALIST"
  310.           ],
  311.           "address_1" : "101 Grand Street",
  312.           "payment" : {
  313.             "total_price" : 130.63,
  314.             "price" : 125,
  315.             "promo_amount" : 0,
  316.             "tax_percent" : 4.5,
  317.             "tax_amount" : 5.63
  318.           },
  319.           "state" : "NY",
  320.           "location_id" : null,
  321.           "last_name" : "Edu",
  322.           "email" : "qwerty@fe.com",
  323.           "profile" : {
  324.             "speciality" : {
  325.               "education" : [
  326.                 "aaaaaaaaaa"
  327.               ],
  328.               "certifications" : [
  329.                 "aaaaaa"
  330.               ],
  331.               "link" : "",
  332.               "availability" : true,
  333.               "commission" : "86.50",
  334.               "years_of_experience" : 2,
  335.               "achievements" : [
  336.                 "aaaaaaaa"
  337.               ],
  338.               "prof_orientation" : [
  339.                 "yoga"
  340.               ]
  341.             },
  342.             "braintree" : {
  343.               "id" : "frank_edu_instant_psy8srpj",
  344.               "dateOfBirth" : "1987-6-8",
  345.               "lastName" : "Edu",
  346.               "postalCode" : "10054",
  347.               "destination" : "bank",
  348.               "firstName" : "Frank",
  349.               "region" : "NY",
  350.               "locality" : "New York",
  351.               "streetAddress" : "101 Grand Street",
  352.               "accountNumber" : "123456789012",
  353.               "routingNumber" : "021000021",
  354.               "descriptor" : "Frank Edu"
  355.             }
  356.           },
  357.           "average_rate" : 5,
  358.           "schedule_block" : {
  359.             "id" : 791,
  360.             "region_id" : 8,
  361.             "date_to" : "2015-09-27 15:00:00",
  362.             "date_from" : "2015-09-27 09:00:00"
  363.           },
  364.           "phone" : "1212322323",
  365.           "full_match" : false,
  366.           "first_name" : "Frank"
  367.         },
  368.         {
  369.           "id" : 390,
  370.           "city" : "New York",
  371.           "username" : "Michael Jordan Jordan",
  372.           "avatar" : "https:\/\/s3.amazonaws.com\/trn.oysterlabs.com\/dev2\/user_avatar_390_f121.jpeg",
  373.           "zip" : "15467",
  374.           "region_id" : 8,
  375.           "roles" : [
  376.             "ROLE_SPECIALIST"
  377.           ],
  378.           "address_1" : "safsdf 56 7",
  379.           "payment" : {
  380.             "total_price" : 130.63,
  381.             "price" : 125,
  382.             "promo_amount" : 0,
  383.             "tax_percent" : 4.5,
  384.             "tax_amount" : 5.63
  385.           },
  386.           "state" : "AZ",
  387.           "location_id" : null,
  388.           "last_name" : "Jordan",
  389.           "email" : "qwerty@z.com",
  390.           "profile" : {
  391.             "speciality" : {
  392.               "education" : [
  393.    
  394.               ],
  395.               "certifications" : [
  396.    
  397.               ],
  398.               "link" : "",
  399.               "availability" : true,
  400.               "years_of_experience" : 1,
  401.               "achievements" : [
  402.    
  403.               ],
  404.               "prof_orientation" : [
  405.                 "yoga"
  406.               ]
  407.             },
  408.             "braintree" : {
  409.               "id" : "michaeljordan_jordan_instant_m7845k2v",
  410.               "dateOfBirth" : "1994-4-3",
  411.               "lastName" : "Jordan",
  412.               "postalCode" : "15467",
  413.               "destination" : "bank",
  414.               "firstName" : "Michael Jordan",
  415.               "region" : "AZ",
  416.               "locality" : "New York",
  417.               "streetAddress" : "safsdf 56 7",
  418.               "accountNumber" : "1123581321",
  419.               "routingNumber" : "071101307",
  420.               "descriptor" : "Michael Jordan Jordan"
  421.             }
  422.           },
  423.           "average_rate" : 4.7,
  424.           "schedule_block" : {
  425.             "id" : 792,
  426.             "region_id" : 8,
  427.             "date_to" : "2015-09-28 03:00:00",
  428.             "date_from" : "2015-09-27 09:00:00"
  429.           },
  430.           "phone" : "1231231234",
  431.           "full_match" : false,
  432.           "first_name" : "Michael Jordan"
  433.         }
  434.       ],
  435.       "success" : true
  436.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement