Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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'
- Sep 18 07:19:07 iPod-nika TRN[353] <Warning>: {
- "code" : 200,
- "request_id" : 31002,
- "result" : [
- {
- "id" : 470,
- "city" : "New York",
- "username" : "Zorg Zorgovitch",
- "avatar" : "https:\/\/s3.amazonaws.com\/trn.oysterlabs.com\/dev2\/user_avatar_470_29b6.jpeg",
- "zip" : "14113",
- "region_id" : 8,
- "roles" : [
- "ROLE_SPECIALIST"
- ],
- "address_1" : "80 Avenue 222",
- "payment" : {
- "total_price" : 130.63,
- "price" : 125,
- "promo_amount" : 0,
- "tax_percent" : 4.5,
- "tax_amount" : 5.63
- },
- "state" : "NJ",
- "location_id" : 18,
- "last_name" : "Zorgovitch",
- "email" : "qwerty@zz.com",
- "profile" : {
- "medical" : {
- "gender" : "male",
- "weight" : {
- "value" : 62,
- "type" : "pound"
- },
- "heart_condition" : "",
- "date_of_birth" : "1990-11-23",
- "injuries" : {
- "notes" : "",
- "orthopedic" : [
- ],
- "diseases" : [
- ]
- },
- "height" : {
- "value" : 80,
- "type" : "inch"
- }
- },
- "lifestyle" : {
- "exercise" : 0,
- "sleep" : 0,
- "stress" : 0
- },
- "speciality" : {
- "education" : [
- "school"
- ],
- "certifications" : [
- "8888887"
- ],
- "link" : "",
- "availability" : true,
- "commission" : "87",
- "years_of_experience" : 1,
- "achievements" : [
- "none"
- ],
- "prof_orientation" : [
- "pilates"
- ]
- },
- "braintree" : {
- "id" : "zorg_zorgovitch_instant_533445rc",
- "dateOfBirth" : "1987-8-6",
- "lastName" : "Zorgovitch",
- "postalCode" : "14113",
- "destination" : "bank",
- "firstName" : "Zorg",
- "region" : "NJ",
- "locality" : "New York",
- "streetAddress" : "80 Avenue 222",
- "accountNumber" : "2123434534534",
- "routingNumber" : "021000021",
- "descriptor" : "Zorg Zorgovitch"
- }
- },
- "average_rate" : 4.1,
- "schedule_block" : {
- "id" : 815,
- "region_id" : 8,
- "date_to" : "2015-09-26 03:00:00",
- "date_from" : "2015-09-25 09:00:00"
- },
- "phone" : "1111111111",
- "full_match" : false,
- "first_name" : "Zorg"
- },
- {
- "id" : 561,
- "city" : "New York",
- "username" : "Ivan Drago",
- "avatar" : "https:\/\/s3.amazonaws.com\/trn.oysterlabs.com\/dev2\/user_avatar_561_b194.jpeg",
- "zip" : "10222",
- "region_id" : 8,
- "roles" : [
- "ROLE_SPECIALIST"
- ],
- "address_1" : "200 Water Street",
- "payment" : {
- "total_price" : 130.63,
- "price" : 125,
- "promo_amount" : 0,
- "tax_percent" : 4.5,
- "tax_amount" : 5.63
- },
- "state" : "ID",
- "location_id" : null,
- "last_name" : "Drago",
- "email" : "qwerty@id.com",
- "profile" : {
- "speciality" : {
- "education" : [
- "none"
- ],
- "certifications" : [
- "1111111"
- ],
- "link" : "http:\/\/www.youtube.com\/watch?v=GWihWfdH4Zw",
- "availability" : true,
- "commission" : "83.00",
- "years_of_experience" : 30,
- "achievements" : [
- "2252255"
- ],
- "prof_orientation" : [
- "training"
- ]
- },
- "braintree" : {
- "id" : "ivan_drago_instant_jh79y85m",
- "dateOfBirth" : "1982-4-4",
- "lastName" : "Drago",
- "postalCode" : "10222",
- "destination" : "bank",
- "firstName" : "Ivan",
- "region" : "ID",
- "locality" : "New York",
- "streetAddress" : "200 Water Street",
- "accountNumber" : "123456789012",
- "routingNumber" : "021000021",
- "descriptor" : "Ivan Drago"
- }
- },
- "average_rate" : 4.5,
- "schedule_block" : {
- "id" : 811,
- "region_id" : 8,
- "date_to" : "2015-09-25 23:00:00",
- "date_from" : "2015-09-25 14:00:00"
- },
- "phone" : "1112221111",
- "full_match" : false,
- "first_name" : "Ivan"
- },
- {
- "id" : 673,
- "city" : "New York",
- "username" : "Banana Banana",
- "avatar" : "https:\/\/s3.amazonaws.com\/trn.oysterlabs.com\/dev2\/user_avatar_673_6810.jpeg",
- "zip" : "10025",
- "region_id" : 8,
- "roles" : [
- "ROLE_SPECIALIST"
- ],
- "address_1" : "1 Grand Street",
- "payment" : {
- "total_price" : 130.63,
- "price" : 125,
- "promo_amount" : 0,
- "tax_percent" : 4.5,
- "tax_amount" : 5.63
- },
- "state" : "NY",
- "location_id" : null,
- "last_name" : "Banana",
- "email" : "qwerty@bb.com",
- "profile" : {
- "speciality" : {
- "education" : [
- "school"
- ],
- "certifications" : [
- "123456741"
- ],
- "link" : "",
- "availability" : true,
- "commission" : "83.00",
- "years_of_experience" : 1,
- "achievements" : [
- "ghghghgh"
- ],
- "prof_orientation" : [
- "yoga"
- ]
- },
- "braintree" : {
- "id" : "banana_banana_instant_jg7qqsjn",
- "dateOfBirth" : "1987-6-6",
- "lastName" : "Banana",
- "postalCode" : "10025",
- "destination" : "bank",
- "firstName" : "Banana",
- "region" : "NY",
- "locality" : "New York",
- "streetAddress" : "1 Grand Street",
- "accountNumber" : "123456789012",
- "routingNumber" : "021000021",
- "descriptor" : "Banana Banana"
- }
- },
- "average_rate" : 3.8,
- "schedule_block" : {
- "id" : 814,
- "region_id" : 8,
- "date_to" : "2015-09-26 03:00:00",
- "date_from" : "2015-09-25 15:30:00"
- },
- "phone" : "2222225587",
- "full_match" : false,
- "first_name" : "Banana"
- },
- {
- "id" : 584,
- "city" : "New York",
- "username" : "Mr Been",
- "avatar" : "https:\/\/s3.amazonaws.com\/trn.oysterlabs.com\/dev2\/user_avatar_584_a26d.jpeg",
- "zip" : "10085",
- "region_id" : 8,
- "roles" : [
- "ROLE_SPECIALIST"
- ],
- "address_1" : "200 Water Street",
- "payment" : {
- "total_price" : 130.63,
- "price" : 125,
- "promo_amount" : 0,
- "tax_percent" : 4.5,
- "tax_amount" : 5.63
- },
- "state" : "NY",
- "location_id" : null,
- "last_name" : "Been",
- "email" : "qwerty@mrb.com",
- "profile" : {
- "speciality" : {
- "education" : [
- "2222222"
- ],
- "certifications" : [
- "11111111"
- ],
- "link" : "55555555",
- "availability" : true,
- "commission" : "86",
- "years_of_experience" : 1,
- "achievements" : [
- "5555555"
- ],
- "prof_orientation" : [
- "yoga"
- ]
- },
- "braintree" : {
- "id" : "mr_been_instant_4ssny43g",
- "dateOfBirth" : "1984-4-9",
- "lastName" : "Been",
- "postalCode" : "10085",
- "destination" : "bank",
- "firstName" : "Mr",
- "region" : "NY",
- "locality" : "New York",
- "streetAddress" : "200 Water Street",
- "accountNumber" : "123456789012",
- "routingNumber" : "021000021",
- "descriptor" : "Mr Been"
- }
- },
- "average_rate" : 5,
- "schedule_block" : {
- "id" : 813,
- "region_id" : 8,
- "date_to" : "2015-09-25 23:00:00",
- "date_from" : "2015-09-25 17:00:00"
- },
- "phone" : "2558885888",
- "full_match" : false,
- "first_name" : "Mr"
- },
- {
- "id" : 817,
- "city" : "New York",
- "username" : "Frank Edu",
- "avatar" : "https:\/\/s3.amazonaws.com\/trn.oysterlabs.com\/dev2\/user_avatar_817_952d.jpeg",
- "zip" : "10054",
- "region_id" : 8,
- "roles" : [
- "ROLE_SPECIALIST"
- ],
- "address_1" : "101 Grand Street",
- "payment" : {
- "total_price" : 130.63,
- "price" : 125,
- "promo_amount" : 0,
- "tax_percent" : 4.5,
- "tax_amount" : 5.63
- },
- "state" : "NY",
- "location_id" : null,
- "last_name" : "Edu",
- "email" : "qwerty@fe.com",
- "profile" : {
- "speciality" : {
- "education" : [
- "aaaaaaaaaa"
- ],
- "certifications" : [
- "aaaaaa"
- ],
- "link" : "",
- "availability" : true,
- "commission" : "86.50",
- "years_of_experience" : 2,
- "achievements" : [
- "aaaaaaaa"
- ],
- "prof_orientation" : [
- "yoga"
- ]
- },
- "braintree" : {
- "id" : "frank_edu_instant_psy8srpj",
- "dateOfBirth" : "1987-6-8",
- "lastName" : "Edu",
- "postalCode" : "10054",
- "destination" : "bank",
- "firstName" : "Frank",
- "region" : "NY",
- "locality" : "New York",
- "streetAddress" : "101 Grand Street",
- "accountNumber" : "123456789012",
- "routingNumber" : "021000021",
- "descriptor" : "Frank Edu"
- }
- },
- "average_rate" : 5,
- "schedule_block" : {
- "id" : 791,
- "region_id" : 8,
- "date_to" : "2015-09-27 15:00:00",
- "date_from" : "2015-09-27 09:00:00"
- },
- "phone" : "1212322323",
- "full_match" : false,
- "first_name" : "Frank"
- },
- {
- "id" : 390,
- "city" : "New York",
- "username" : "Michael Jordan Jordan",
- "avatar" : "https:\/\/s3.amazonaws.com\/trn.oysterlabs.com\/dev2\/user_avatar_390_f121.jpeg",
- "zip" : "15467",
- "region_id" : 8,
- "roles" : [
- "ROLE_SPECIALIST"
- ],
- "address_1" : "safsdf 56 7",
- "payment" : {
- "total_price" : 130.63,
- "price" : 125,
- "promo_amount" : 0,
- "tax_percent" : 4.5,
- "tax_amount" : 5.63
- },
- "state" : "AZ",
- "location_id" : null,
- "last_name" : "Jordan",
- "email" : "qwerty@z.com",
- "profile" : {
- "speciality" : {
- "education" : [
- ],
- "certifications" : [
- ],
- "link" : "",
- "availability" : true,
- "years_of_experience" : 1,
- "achievements" : [
- ],
- "prof_orientation" : [
- "yoga"
- ]
- },
- "braintree" : {
- "id" : "michaeljordan_jordan_instant_m7845k2v",
- "dateOfBirth" : "1994-4-3",
- "lastName" : "Jordan",
- "postalCode" : "15467",
- "destination" : "bank",
- "firstName" : "Michael Jordan",
- "region" : "AZ",
- "locality" : "New York",
- "streetAddress" : "safsdf 56 7",
- "accountNumber" : "1123581321",
- "routingNumber" : "071101307",
- "descriptor" : "Michael Jordan Jordan"
- }
- },
- "average_rate" : 4.7,
- "schedule_block" : {
- "id" : 792,
- "region_id" : 8,
- "date_to" : "2015-09-28 03:00:00",
- "date_from" : "2015-09-27 09:00:00"
- },
- "phone" : "1231231234",
- "full_match" : false,
- "first_name" : "Michael Jordan"
- }
- ],
- "success" : true
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement