Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- получение розовых
- {
- "jsonrpc": "2.0",
- "id": 8,
- "cred": {
- "token": "...........",
- "user": ".........."
- },
- "method": "appointment.get_appointment_by_filter",
- "params": {
- "business": {
- "id": "4000000002493"
- },
- "pageSize": 10,
- "page": 1,
- "filter": {
- "workers": [],
- "services": [],
- "start": "2015-11-03T00:00:00.000",
- "end": "2015-12-31T23:59:59.000",
- "status": "CONFIRMED_BY_CLIENT"
- }
- }
- }
- ответ
- {
- "jsonrpc": "2.0",
- "id": 8,
- "result": {
- "page": 1,
- "unconfirmed": 17,
- "total": 17,
- "data": [
- {
- "appointment": {
- "id": "564b0e9071c1a65561f32754",
- "backofficeID": "893375",
- "start": "2015-11-18T19:15:00.000Z",
- "duration": 45,
- "created": "2015-11-17T11:25:04.634Z",
- "price": {
- "amount": 1200,
- "currency": "RUB"
- },
- "status": "CONFIRMED_BY_CLIENT"
- },
- "notes": "",
- "resource": {
- "id": "5540af04b6882516265b52fd"
- },
- "taxonomy": {
- "id": "9051479"
- },
- "additionalTaxonomies": [],
- "business": {
- "id": "4000000002493"
- },
- "order": {
- "id": "564b0e8f71c1a65561f32753"
- },
- "client": {
- "id": "56444d76c3a9d1d8c37947f4",
- "name": "Олеся",
- "surname": null,
- "email": [
- ""
- ],
- "phone": [
- {
- "number": "8946637",
- "country_code": "7",
- "area_code": "926"
- }
- ]
- },
- "additionalClients": [],
- "review": {
- "worker": {},
- "taxonomy": {},
- "business": {}
- },
- "source": "LL_SITE_DESKTOP",
- "additionalFields": [],
- "client_appear": "none",
- "feedback": {}
- },
- {
- "appointment": {
- "id": "5644908f3e9a935afaabd8e0",
- "backofficeID": "872150",
- "start": "2015-11-18T18:30:00.000Z",
- "duration": 85,
- "created": "2015-11-12T13:13:51.588Z",
- "price": {
- "amount": 519,
- "currency": "RUB"
- },
- "status": "CONFIRMED_BY_CLIENT"
- },
- "notes": "",
- "resource": {
- "id": "5540af04b6882516265b52fb"
- },
- "taxonomy": {
- "id": "9051041",
- "alias": null
- },
- "additionalTaxonomies": [],
- "business": {
- "id": "4000000002493"
- },
- "order": {
- "id": "5644908e3e9a935afaabd8df"
- },
- "client": {
- "id": "564490900e560f40fabeba02",
- "name": "Евгения",
- "surname": null,
- "email": [
- "Evg0072007@yandex.ru"
- ],
- "phone": [
- {
- "number": "3199208",
- "country_code": "7",
- "area_code": "985"
- }
- ]
- },
- "additionalClients": [],
- "review": {
- "worker": {},
- "taxonomy": {},
- "business": {}
- },
- "source": "LL_SITE_DESKTOP",
- "additionalFields": [],
- "client_appear": "none",
- "feedback": {}
- },
- {
- "appointment": {
- "id": "5649e91cc259eb3a6113dbbb",
- "backofficeID": "890206",
- "start": "2015-11-18T10:30:00.000Z",
- "duration": 85,
- "created": "2015-11-16T14:33:00.234Z",
- "price": {
- "amount": 1298,
- "currency": "RUB"
- },
- "status": "CONFIRMED_BY_CLIENT"
- },
- "notes": "",
- "resource": {
- "id": "5540af04b6882516265b52fd"
- },
- "taxonomy": {
- "id": "9051042"
- },
- "additionalTaxonomies": [],
- "business": {
- "id": "4000000002493"
- },
- "order": {
- "id": "5649e91bc259eb3a6113dbba"
- },
- "client": {
- "id": "556ad3a5f712c3be0d5c2b32",
- "name": "Юлиана",
- "surname": " ",
- "email": [
- ""
- ],
- "phone": [
- {
- "number": "7409439",
- "country_code": "7",
- "area_code": "916"
- }
- ]
- },
- "additionalClients": [],
- "review": {
- "worker": {},
- "taxonomy": {},
- "business": {}
- },
- "source": "LL_SITE_DESKTOP",
- "additionalFields": [],
- "client_appear": "none",
- "feedback": {}
- },
- {
- "appointment": {
- "id": "564a23177615c04561b0edc0",
- "backofficeID": "891241",
- "start": "2015-11-17T19:30:00.000Z",
- "duration": 20,
- "created": "2015-11-16T18:40:23.595Z",
- "price": {
- "amount": 120,
- "currency": "RUB"
- },
- "status": "CONFIRMED_BY_CLIENT"
- },
- "notes": "",
- "resource": {
- "id": "557fad5f67db8b05405d600b"
- },
- "taxonomy": {
- "id": "9051101"
- },
- "additionalTaxonomies": [],
- "business": {
- "id": "4000000002493"
- },
- "order": {
- "id": "564a23167615c04561b0edbf"
- },
- "client": {
- "id": "564a2319d484203461208ea0",
- "name": "Александра ",
- "surname": null,
- "email": [
- ""
- ],
- "phone": [
- {
- "number": "1372253",
- "country_code": "7",
- "area_code": "925"
- }
- ]
- },
- "additionalClients": [],
- "review": {
- "worker": {},
- "taxonomy": {},
- "business": {}
- },
- "source": "LL_SITE_MOBILE",
- "additionalFields": [],
- "client_appear": "none",
- "feedback": {}
- },
- {
- "appointment": {
- "id": "564abcfb536ff33861371a57",
- "backofficeID": "891511",
- "start": "2015-11-17T18:30:00.000Z",
- "duration": 85,
- "created": "2015-11-17T05:36:59.453Z",
- "price": {
- "amount": 1298,
- "currency": "RUB"
- },
- "status": "CONFIRMED_BY_CLIENT"
- },
- "notes": "",
- "resource": {
- "id": "5540af04b6882516265b52ff"
- },
- "taxonomy": {
- "id": "9051042"
- },
- "additionalTaxonomies": [],
- "business": {
- "id": "4000000002493"
- },
- "order": {
- "id": "564abcfa536ff33861371a56"
- },
- "client": {
- "id": "559cb5f741355d3f49062a53",
- "name": "Екатерина",
- "surname": " ",
- "email": [
- ""
- ],
- "phone": [
- {
- "number": "0490078",
- "country_code": "7",
- "area_code": "926"
- }
- ]
- },
- "additionalClients": [],
- "review": {
- "worker": {},
- "taxonomy": {},
- "business": {}
- },
- "source": "LL_SITE_MOBILE",
- "additionalFields": [],
- "client_appear": "none",
- "feedback": {}
- },
- {
- "appointment": {
- "id": "5645febf42837842fb1c0219",
- "backofficeID": "877773",
- "start": "2015-11-13T19:30:00.000Z",
- "duration": 25,
- "created": "2015-11-13T15:16:15.237Z",
- "price": {
- "amount": 1299,
- "currency": "RUB"
- },
- "status": "CONFIRMED_BY_CLIENT"
- },
- "notes": "",
- "resource": {
- "id": "557fad5f67db8b05405d600b"
- },
- "taxonomy": {
- "id": "9051116"
- },
- "additionalTaxonomies": [],
- "business": {
- "id": "4000000002493"
- },
- "order": {
- "id": "5645febe42837842fb1c0218"
- },
- "client": {
- "id": "5645fec0528622b31d6c1a1f",
- "name": "Елена",
- "surname": null,
- "email": [
- "afayol88@gmail.com"
- ],
- "phone": [
- {
- "number": "0818084",
- "country_code": "7",
- "area_code": "906"
- }
- ]
- },
- "additionalClients": [],
- "review": {
- "worker": {},
- "taxonomy": {},
- "business": {}
- },
- "source": "LL_SITE_DESKTOP",
- "additionalFields": [],
- "client_appear": "none",
- "feedback": {}
- },
- {
- "appointment": {
- "id": "56433b8f92a122e5ac09e4e2",
- "backofficeID": "867549",
- "start": "2015-11-11T20:00:00.000Z",
- "duration": 60,
- "created": "2015-11-11T12:58:55.684Z",
- "price": {
- "amount": 299,
- "currency": "RUB"
- },
- "status": "CONFIRMED_BY_CLIENT"
- },
- "notes": "",
- "resource": {
- "id": "5540af04b6882516265b52ff"
- },
- "taxonomy": {
- "id": "9051046"
- },
- "additionalTaxonomies": [],
- "business": {
- "id": "4000000002493"
- },
- "order": {
- "id": "56433b8e92a122e5ac09e4e1"
- },
- "client": {
- "id": "55796e85a01d2af7b492057a",
- "name": "анастасия",
- "surname": " ",
- "email": [
- ""
- ],
- "phone": [
- {
- "number": "6224779",
- "country_code": "7",
- "area_code": "964"
- }
- ]
- },
- "additionalClients": [],
- "review": {
- "worker": {},
- "taxonomy": {},
- "business": {}
- },
- "source": "LL_SITE_MOBILE",
- "additionalFields": [],
- "client_appear": "none",
- "feedback": {}
- },
- {
- "appointment": {
- "id": "56430b698b1c2ff5acbad620",
- "backofficeID": "866085",
- "start": "2015-11-11T19:30:00.000Z",
- "duration": 75,
- "created": "2015-11-11T09:33:29.307Z",
- "price": {
- "amount": 1189,
- "currency": "RUB"
- },
- "status": "CONFIRMED_BY_CLIENT"
- },
- "notes": "",
- "resource": {
- "id": "5540af04b6882516265b52fb"
- },
- "taxonomy": {
- "id": "9051197"
- },
- "additionalTaxonomies": [
- {
- "id": "9051503"
- }
- ],
- "business": {
- "id": "4000000002493"
- },
- "order": {
- "id": "56430b688b1c2ff5acbad61f"
- },
- "client": {
- "id": "55ca479b1d751862bcfb2636",
- "name": "Инна",
- "surname": " ",
- "email": [
- ""
- ],
- "phone": [
- {
- "number": "7608009",
- "country_code": "7",
- "area_code": "964"
- }
- ]
- },
- "additionalClients": [],
- "review": {
- "worker": {},
- "taxonomy": {},
- "business": {}
- },
- "source": "LL_SITE_MOBILE",
- "additionalFields": [],
- "client_appear": "none",
- "feedback": {}
- },
- {
- "appointment": {
- "id": "5642b6045f16fa436b1282f4",
- "backofficeID": "864862",
- "start": "2015-11-11T18:35:00.000Z",
- "duration": 85,
- "created": "2015-11-11T03:29:08.298Z",
- "price": {
- "amount": 1298,
- "currency": "RUB"
- },
- "status": "CONFIRMED_BY_CLIENT"
- },
- "notes": "",
- "resource": {
- "id": "5540af04b6882516265b52ff"
- },
- "taxonomy": {
- "id": "9051042"
- },
- "additionalTaxonomies": [],
- "business": {
- "id": "4000000002493"
- },
- "order": {
- "id": "5642b6035f16fa436b1282f3"
- },
- "client": {
- "id": "56322717e79c80b689167f8a",
- "name": "Римма Бакулина",
- "surname": null,
- "email": [
- "rbakulina@gmail.com"
- ],
- "phone": [
- {
- "number": "1068136",
- "country_code": "7",
- "area_code": "965"
- }
- ]
- },
- "additionalClients": [],
- "review": {
- "worker": {},
- "taxonomy": {},
- "business": {}
- },
- "source": "LL_SITE_MOBILE",
- "additionalFields": [],
- "client_appear": "none",
- "feedback": {}
- },
- {
- "appointment": {
- "id": "56434dc53ac679feac232655",
- "backofficeID": "868030",
- "start": "2015-11-11T18:15:00.000Z",
- "duration": 20,
- "created": "2015-11-11T14:16:37.877Z",
- "price": {
- "amount": 330,
- "currency": "RUB"
- },
- "status": "CONFIRMED_BY_CLIENT"
- },
- "notes": "",
- "resource": {
- "id": "56399e1218117031787323e9"
- },
- "taxonomy": {
- "id": "9051138",
- "alias": null
- },
- "additionalTaxonomies": [],
- "business": {
- "id": "4000000002493"
- },
- "order": {
- "id": "56434dc43ac679feac232654"
- },
- "client": {
- "id": "56434dc70168e968cd50a1f6",
- "name": "Ольга",
- "surname": null,
- "email": [
- ""
- ],
- "phone": [
- {
- "number": "5667605",
- "country_code": "7",
- "area_code": "964"
- }
- ]
- },
- "additionalClients": [],
- "review": {
- "worker": {},
- "taxonomy": {},
- "business": {}
- },
- "source": "LL_SITE_DESKTOP",
- "additionalFields": [],
- "client_appear": "none",
- "feedback": {}
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement