Advertisement
Guest User

Untitled

a guest
Nov 17th, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 19.42 KB | None | 0 0
  1. получение розовых
  2. {
  3.     "jsonrpc": "2.0",
  4.     "id": 8,
  5.     "cred": {
  6.         "token": "...........",
  7.         "user": ".........."
  8.     },
  9.     "method": "appointment.get_appointment_by_filter",
  10.     "params": {
  11.         "business": {
  12.             "id": "4000000002493"
  13.         },
  14.         "pageSize": 10,
  15.         "page": 1,
  16.         "filter": {
  17.             "workers": [],
  18.             "services": [],
  19.             "start": "2015-11-03T00:00:00.000",
  20.             "end": "2015-12-31T23:59:59.000",
  21.             "status": "CONFIRMED_BY_CLIENT"
  22.         }
  23.     }
  24. }
  25.  
  26. ответ
  27. {
  28.     "jsonrpc": "2.0",
  29.     "id": 8,
  30.     "result": {
  31.         "page": 1,
  32.         "unconfirmed": 17,
  33.         "total": 17,
  34.         "data": [
  35.             {
  36.                 "appointment": {
  37.                     "id": "564b0e9071c1a65561f32754",
  38.                     "backofficeID": "893375",
  39.                     "start": "2015-11-18T19:15:00.000Z",
  40.                     "duration": 45,
  41.                     "created": "2015-11-17T11:25:04.634Z",
  42.                     "price": {
  43.                         "amount": 1200,
  44.                         "currency": "RUB"
  45.                     },
  46.                     "status": "CONFIRMED_BY_CLIENT"
  47.                 },
  48.                 "notes": "",
  49.                 "resource": {
  50.                     "id": "5540af04b6882516265b52fd"
  51.                 },
  52.                 "taxonomy": {
  53.                     "id": "9051479"
  54.                 },
  55.                 "additionalTaxonomies": [],
  56.                 "business": {
  57.                     "id": "4000000002493"
  58.                 },
  59.                 "order": {
  60.                     "id": "564b0e8f71c1a65561f32753"
  61.                 },
  62.                 "client": {
  63.                     "id": "56444d76c3a9d1d8c37947f4",
  64.                     "name": "Олеся",
  65.                     "surname": null,
  66.                     "email": [
  67.                         ""
  68.                     ],
  69.                     "phone": [
  70.                         {
  71.                             "number": "8946637",
  72.                             "country_code": "7",
  73.                             "area_code": "926"
  74.                         }
  75.                     ]
  76.                 },
  77.                 "additionalClients": [],
  78.                 "review": {
  79.                     "worker": {},
  80.                     "taxonomy": {},
  81.                     "business": {}
  82.                 },
  83.                 "source": "LL_SITE_DESKTOP",
  84.                 "additionalFields": [],
  85.                 "client_appear": "none",
  86.                 "feedback": {}
  87.             },
  88.             {
  89.                 "appointment": {
  90.                     "id": "5644908f3e9a935afaabd8e0",
  91.                     "backofficeID": "872150",
  92.                     "start": "2015-11-18T18:30:00.000Z",
  93.                     "duration": 85,
  94.                     "created": "2015-11-12T13:13:51.588Z",
  95.                     "price": {
  96.                         "amount": 519,
  97.                         "currency": "RUB"
  98.                     },
  99.                     "status": "CONFIRMED_BY_CLIENT"
  100.                 },
  101.                 "notes": "",
  102.                 "resource": {
  103.                     "id": "5540af04b6882516265b52fb"
  104.                 },
  105.                 "taxonomy": {
  106.                     "id": "9051041",
  107.                     "alias": null
  108.                 },
  109.                 "additionalTaxonomies": [],
  110.                 "business": {
  111.                     "id": "4000000002493"
  112.                 },
  113.                 "order": {
  114.                     "id": "5644908e3e9a935afaabd8df"
  115.                 },
  116.                 "client": {
  117.                     "id": "564490900e560f40fabeba02",
  118.                     "name": "Евгения",
  119.                     "surname": null,
  120.                     "email": [
  121.                         "Evg0072007@yandex.ru"
  122.                     ],
  123.                     "phone": [
  124.                         {
  125.                             "number": "3199208",
  126.                             "country_code": "7",
  127.                             "area_code": "985"
  128.                         }
  129.                     ]
  130.                 },
  131.                 "additionalClients": [],
  132.                 "review": {
  133.                     "worker": {},
  134.                     "taxonomy": {},
  135.                     "business": {}
  136.                 },
  137.                 "source": "LL_SITE_DESKTOP",
  138.                 "additionalFields": [],
  139.                 "client_appear": "none",
  140.                 "feedback": {}
  141.             },
  142.             {
  143.                 "appointment": {
  144.                     "id": "5649e91cc259eb3a6113dbbb",
  145.                     "backofficeID": "890206",
  146.                     "start": "2015-11-18T10:30:00.000Z",
  147.                     "duration": 85,
  148.                     "created": "2015-11-16T14:33:00.234Z",
  149.                     "price": {
  150.                         "amount": 1298,
  151.                         "currency": "RUB"
  152.                     },
  153.                     "status": "CONFIRMED_BY_CLIENT"
  154.                 },
  155.                 "notes": "",
  156.                 "resource": {
  157.                     "id": "5540af04b6882516265b52fd"
  158.                 },
  159.                 "taxonomy": {
  160.                     "id": "9051042"
  161.                 },
  162.                 "additionalTaxonomies": [],
  163.                 "business": {
  164.                     "id": "4000000002493"
  165.                 },
  166.                 "order": {
  167.                     "id": "5649e91bc259eb3a6113dbba"
  168.                 },
  169.                 "client": {
  170.                     "id": "556ad3a5f712c3be0d5c2b32",
  171.                     "name": "Юлиана",
  172.                     "surname": " ",
  173.                     "email": [
  174.                         ""
  175.                     ],
  176.                     "phone": [
  177.                         {
  178.                             "number": "7409439",
  179.                             "country_code": "7",
  180.                             "area_code": "916"
  181.                         }
  182.                     ]
  183.                 },
  184.                 "additionalClients": [],
  185.                 "review": {
  186.                     "worker": {},
  187.                     "taxonomy": {},
  188.                     "business": {}
  189.                 },
  190.                 "source": "LL_SITE_DESKTOP",
  191.                 "additionalFields": [],
  192.                 "client_appear": "none",
  193.                 "feedback": {}
  194.             },
  195.             {
  196.                 "appointment": {
  197.                     "id": "564a23177615c04561b0edc0",
  198.                     "backofficeID": "891241",
  199.                     "start": "2015-11-17T19:30:00.000Z",
  200.                     "duration": 20,
  201.                     "created": "2015-11-16T18:40:23.595Z",
  202.                     "price": {
  203.                         "amount": 120,
  204.                         "currency": "RUB"
  205.                     },
  206.                     "status": "CONFIRMED_BY_CLIENT"
  207.                 },
  208.                 "notes": "",
  209.                 "resource": {
  210.                     "id": "557fad5f67db8b05405d600b"
  211.                 },
  212.                 "taxonomy": {
  213.                     "id": "9051101"
  214.                 },
  215.                 "additionalTaxonomies": [],
  216.                 "business": {
  217.                     "id": "4000000002493"
  218.                 },
  219.                 "order": {
  220.                     "id": "564a23167615c04561b0edbf"
  221.                 },
  222.                 "client": {
  223.                     "id": "564a2319d484203461208ea0",
  224.                     "name": "Александра ",
  225.                     "surname": null,
  226.                     "email": [
  227.                         ""
  228.                     ],
  229.                     "phone": [
  230.                         {
  231.                             "number": "1372253",
  232.                             "country_code": "7",
  233.                             "area_code": "925"
  234.                         }
  235.                     ]
  236.                 },
  237.                 "additionalClients": [],
  238.                 "review": {
  239.                     "worker": {},
  240.                     "taxonomy": {},
  241.                     "business": {}
  242.                 },
  243.                 "source": "LL_SITE_MOBILE",
  244.                 "additionalFields": [],
  245.                 "client_appear": "none",
  246.                 "feedback": {}
  247.             },
  248.             {
  249.                 "appointment": {
  250.                     "id": "564abcfb536ff33861371a57",
  251.                     "backofficeID": "891511",
  252.                     "start": "2015-11-17T18:30:00.000Z",
  253.                     "duration": 85,
  254.                     "created": "2015-11-17T05:36:59.453Z",
  255.                     "price": {
  256.                         "amount": 1298,
  257.                         "currency": "RUB"
  258.                     },
  259.                     "status": "CONFIRMED_BY_CLIENT"
  260.                 },
  261.                 "notes": "",
  262.                 "resource": {
  263.                     "id": "5540af04b6882516265b52ff"
  264.                 },
  265.                 "taxonomy": {
  266.                     "id": "9051042"
  267.                 },
  268.                 "additionalTaxonomies": [],
  269.                 "business": {
  270.                     "id": "4000000002493"
  271.                 },
  272.                 "order": {
  273.                     "id": "564abcfa536ff33861371a56"
  274.                 },
  275.                 "client": {
  276.                     "id": "559cb5f741355d3f49062a53",
  277.                     "name": "Екатерина",
  278.                     "surname": " ",
  279.                     "email": [
  280.                         ""
  281.                     ],
  282.                     "phone": [
  283.                         {
  284.                             "number": "0490078",
  285.                             "country_code": "7",
  286.                             "area_code": "926"
  287.                         }
  288.                     ]
  289.                 },
  290.                 "additionalClients": [],
  291.                 "review": {
  292.                     "worker": {},
  293.                     "taxonomy": {},
  294.                     "business": {}
  295.                 },
  296.                 "source": "LL_SITE_MOBILE",
  297.                 "additionalFields": [],
  298.                 "client_appear": "none",
  299.                 "feedback": {}
  300.             },
  301.             {
  302.                 "appointment": {
  303.                     "id": "5645febf42837842fb1c0219",
  304.                     "backofficeID": "877773",
  305.                     "start": "2015-11-13T19:30:00.000Z",
  306.                     "duration": 25,
  307.                     "created": "2015-11-13T15:16:15.237Z",
  308.                     "price": {
  309.                         "amount": 1299,
  310.                         "currency": "RUB"
  311.                     },
  312.                     "status": "CONFIRMED_BY_CLIENT"
  313.                 },
  314.                 "notes": "",
  315.                 "resource": {
  316.                     "id": "557fad5f67db8b05405d600b"
  317.                 },
  318.                 "taxonomy": {
  319.                     "id": "9051116"
  320.                 },
  321.                 "additionalTaxonomies": [],
  322.                 "business": {
  323.                     "id": "4000000002493"
  324.                 },
  325.                 "order": {
  326.                     "id": "5645febe42837842fb1c0218"
  327.                 },
  328.                 "client": {
  329.                     "id": "5645fec0528622b31d6c1a1f",
  330.                     "name": "Елена",
  331.                     "surname": null,
  332.                     "email": [
  333.                         "afayol88@gmail.com"
  334.                     ],
  335.                     "phone": [
  336.                         {
  337.                             "number": "0818084",
  338.                             "country_code": "7",
  339.                             "area_code": "906"
  340.                         }
  341.                     ]
  342.                 },
  343.                 "additionalClients": [],
  344.                 "review": {
  345.                     "worker": {},
  346.                     "taxonomy": {},
  347.                     "business": {}
  348.                 },
  349.                 "source": "LL_SITE_DESKTOP",
  350.                 "additionalFields": [],
  351.                 "client_appear": "none",
  352.                 "feedback": {}
  353.             },
  354.             {
  355.                 "appointment": {
  356.                     "id": "56433b8f92a122e5ac09e4e2",
  357.                     "backofficeID": "867549",
  358.                     "start": "2015-11-11T20:00:00.000Z",
  359.                     "duration": 60,
  360.                     "created": "2015-11-11T12:58:55.684Z",
  361.                     "price": {
  362.                         "amount": 299,
  363.                         "currency": "RUB"
  364.                     },
  365.                     "status": "CONFIRMED_BY_CLIENT"
  366.                 },
  367.                 "notes": "",
  368.                 "resource": {
  369.                     "id": "5540af04b6882516265b52ff"
  370.                 },
  371.                 "taxonomy": {
  372.                     "id": "9051046"
  373.                 },
  374.                 "additionalTaxonomies": [],
  375.                 "business": {
  376.                     "id": "4000000002493"
  377.                 },
  378.                 "order": {
  379.                     "id": "56433b8e92a122e5ac09e4e1"
  380.                 },
  381.                 "client": {
  382.                     "id": "55796e85a01d2af7b492057a",
  383.                     "name": "анастасия",
  384.                     "surname": " ",
  385.                     "email": [
  386.                         ""
  387.                     ],
  388.                     "phone": [
  389.                         {
  390.                             "number": "6224779",
  391.                             "country_code": "7",
  392.                             "area_code": "964"
  393.                         }
  394.                     ]
  395.                 },
  396.                 "additionalClients": [],
  397.                 "review": {
  398.                     "worker": {},
  399.                     "taxonomy": {},
  400.                     "business": {}
  401.                 },
  402.                 "source": "LL_SITE_MOBILE",
  403.                 "additionalFields": [],
  404.                 "client_appear": "none",
  405.                 "feedback": {}
  406.             },
  407.             {
  408.                 "appointment": {
  409.                     "id": "56430b698b1c2ff5acbad620",
  410.                     "backofficeID": "866085",
  411.                     "start": "2015-11-11T19:30:00.000Z",
  412.                     "duration": 75,
  413.                     "created": "2015-11-11T09:33:29.307Z",
  414.                     "price": {
  415.                         "amount": 1189,
  416.                         "currency": "RUB"
  417.                     },
  418.                     "status": "CONFIRMED_BY_CLIENT"
  419.                 },
  420.                 "notes": "",
  421.                 "resource": {
  422.                     "id": "5540af04b6882516265b52fb"
  423.                 },
  424.                 "taxonomy": {
  425.                     "id": "9051197"
  426.                 },
  427.                 "additionalTaxonomies": [
  428.                     {
  429.                         "id": "9051503"
  430.                     }
  431.                 ],
  432.                 "business": {
  433.                     "id": "4000000002493"
  434.                 },
  435.                 "order": {
  436.                     "id": "56430b688b1c2ff5acbad61f"
  437.                 },
  438.                 "client": {
  439.                     "id": "55ca479b1d751862bcfb2636",
  440.                     "name": "Инна",
  441.                     "surname": " ",
  442.                     "email": [
  443.                         ""
  444.                     ],
  445.                     "phone": [
  446.                         {
  447.                             "number": "7608009",
  448.                             "country_code": "7",
  449.                             "area_code": "964"
  450.                         }
  451.                     ]
  452.                 },
  453.                 "additionalClients": [],
  454.                 "review": {
  455.                     "worker": {},
  456.                     "taxonomy": {},
  457.                     "business": {}
  458.                 },
  459.                 "source": "LL_SITE_MOBILE",
  460.                 "additionalFields": [],
  461.                 "client_appear": "none",
  462.                 "feedback": {}
  463.             },
  464.             {
  465.                 "appointment": {
  466.                     "id": "5642b6045f16fa436b1282f4",
  467.                     "backofficeID": "864862",
  468.                     "start": "2015-11-11T18:35:00.000Z",
  469.                     "duration": 85,
  470.                     "created": "2015-11-11T03:29:08.298Z",
  471.                     "price": {
  472.                         "amount": 1298,
  473.                         "currency": "RUB"
  474.                     },
  475.                     "status": "CONFIRMED_BY_CLIENT"
  476.                 },
  477.                 "notes": "",
  478.                 "resource": {
  479.                     "id": "5540af04b6882516265b52ff"
  480.                 },
  481.                 "taxonomy": {
  482.                     "id": "9051042"
  483.                 },
  484.                 "additionalTaxonomies": [],
  485.                 "business": {
  486.                     "id": "4000000002493"
  487.                 },
  488.                 "order": {
  489.                     "id": "5642b6035f16fa436b1282f3"
  490.                 },
  491.                 "client": {
  492.                     "id": "56322717e79c80b689167f8a",
  493.                     "name": "Римма Бакулина",
  494.                     "surname": null,
  495.                     "email": [
  496.                         "rbakulina@gmail.com"
  497.                     ],
  498.                     "phone": [
  499.                         {
  500.                             "number": "1068136",
  501.                             "country_code": "7",
  502.                             "area_code": "965"
  503.                         }
  504.                     ]
  505.                 },
  506.                 "additionalClients": [],
  507.                 "review": {
  508.                     "worker": {},
  509.                     "taxonomy": {},
  510.                     "business": {}
  511.                 },
  512.                 "source": "LL_SITE_MOBILE",
  513.                 "additionalFields": [],
  514.                 "client_appear": "none",
  515.                 "feedback": {}
  516.             },
  517.             {
  518.                 "appointment": {
  519.                     "id": "56434dc53ac679feac232655",
  520.                     "backofficeID": "868030",
  521.                     "start": "2015-11-11T18:15:00.000Z",
  522.                     "duration": 20,
  523.                     "created": "2015-11-11T14:16:37.877Z",
  524.                     "price": {
  525.                         "amount": 330,
  526.                         "currency": "RUB"
  527.                     },
  528.                     "status": "CONFIRMED_BY_CLIENT"
  529.                 },
  530.                 "notes": "",
  531.                 "resource": {
  532.                     "id": "56399e1218117031787323e9"
  533.                 },
  534.                 "taxonomy": {
  535.                     "id": "9051138",
  536.                     "alias": null
  537.                 },
  538.                 "additionalTaxonomies": [],
  539.                 "business": {
  540.                     "id": "4000000002493"
  541.                 },
  542.                 "order": {
  543.                     "id": "56434dc43ac679feac232654"
  544.                 },
  545.                 "client": {
  546.                     "id": "56434dc70168e968cd50a1f6",
  547.                     "name": "Ольга",
  548.                     "surname": null,
  549.                     "email": [
  550.                         ""
  551.                     ],
  552.                     "phone": [
  553.                         {
  554.                             "number": "5667605",
  555.                             "country_code": "7",
  556.                             "area_code": "964"
  557.                         }
  558.                     ]
  559.                 },
  560.                 "additionalClients": [],
  561.                 "review": {
  562.                     "worker": {},
  563.                     "taxonomy": {},
  564.                     "business": {}
  565.                 },
  566.                 "source": "LL_SITE_DESKTOP",
  567.                 "additionalFields": [],
  568.                 "client_appear": "none",
  569.                 "feedback": {}
  570.             }
  571.         ]
  572.     }
  573. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement