Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "id": 1,
- "type": "task",
- "summary": "You have boked for Microwave repair. We is assigning a Microwave repair expert for you.",
- "due_date": "2015-09-14T13:51:01Z",
- "task_no": "HEL151012345",
- "category": {
- "id": 123,
- "name": "Home / Repair"
- },
- "customer_qb_room_id": "561caafda28f9a6d12000275",
- "customer_qb_room_jid": "29267_561caafda28f9a6d12000275@muc.chat.quickblox.com",
- "amount_untaxed": 2119,
- "amount_tax": 0,
- "amount_total": 2119,
- "customer_id": 123,
- "contact_name": "John Doe",
- "address": {
- "address1": "788 Rama 4",
- "address2": "",
- "province": {
- "id": 1,
- "name": "Bangkok"
- },
- "district": {
- "id": 1,
- "name": "Khet Phra Nakhon"
- },
- "subdistrict": {
- "id": 1,
- "name": "Phra Borom Maha Ratchawang"
- },
- "zip": "10500",
- "geo_location": {
- "latitude": 13.729936,
- "longitude": 100.535521
- }
- },
- "phone": "+6623456789",
- "mobile": "+66888888888",
- "status": {
- "code": "at_location",
- "name": "Operator At Location"
- },
- "progress_history": [
- {
- "code": "order_confirmed",
- "name": "Order Confirmed",
- "status": {
- "code": "completed",
- "name": "Completed"
- }
- },
- {
- "code": "finding_operator",
- "name": "Finding You an Operator",
- "status": {
- "code": "completed",
- "name": "Completed"
- }
- },
- {
- "code": "on_the_way",
- "name": "Operator On The Way",
- "status": {
- "code": "completed",
- "name": "Completed"
- }
- },
- {
- "code": "at_location",
- "name": "Operator At Location",
- "status": {
- "code": "in_progress",
- "name": "In Progress"
- }
- },
- {
- "code": "working _task",
- "name": "Operator Working Task",
- "status": {
- "code": "waiting",
- "name": "Waiting"
- }
- },
- {
- "code": "completed_task",
- "name": "operator_completed_task",
- "status": {
- "code": "waiting",
- "name": "Waiting"
- }
- },
- {
- "code": "awaiting_customer_approval",
- "name": "Awaiting for Customer Approval",
- "status": {
- "code": "waiting",
- "name": "Waiting"
- }
- },
- {
- "code": "complete",
- "name": "Task Complete",
- "status": {
- "code": "waiting",
- "name": "Waiting"
- }
- }
- ],
- "allow_actions": {
- "customer": [],
- "workforce": [
- "completed",
- "stop_task"
- ]
- },
- "team": {
- "id": 1,
- "contact": {
- "name": "Tom Son",
- "image": "http://xxxxxxxx/img",
- "mobile": "+66999999999"
- },
- "members": [
- {
- "name": "Tom Son",
- "image": "http://xxxxxxxx/img"
- },
- {
- "name": "Tony",
- "image": "http://xxxxxxxx/img"
- }
- ]
- },
- "invoices": [
- {
- "id": 1,
- "invoice_no": "SAJ/2015/0004",
- "invoice_date": "2015-09-14T13:51:01Z",
- "status": {
- "code": "unpaid",
- "name": "Unpaid"
- },
- "payment": [
- {
- "id": 1,
- "need_pay": false,
- "payment_method": {
- "name": "Credit Card",
- "type": "credit_card",
- "detail": {
- "card_holder_name": "JOHN DOE",
- "card_number": "4444xxxxxxxx2222",
- "expiry_month": "05",
- "expiry_year": "16"
- },
- "payment_date": "2015-09-15T10:22:11Z",
- "paid_amount": 200,
- "status": {
- "code": "posted",
- "name": "Posted"
- }
- }
- },
- {
- "id": 2,
- "need_pay": true,
- "amount_total": 200,
- "status": {
- "code": "draft",
- "name": "Draft"
- },
- "allow_payment_method": [
- {
- "id": 1,
- "name": "Cash",
- "type": "cash"
- },
- {
- "id": 2,
- "name": "Bank TMB",
- "type": "bank_tranfer",
- "bank": {
- "code": "TMB",
- "name": "Bank TMB",
- "branch": "Bangkapi",
- "account_no": "111-2-33333-4",
- "url_logo": "http://gethelpster.com/img/bank01.png"
- }
- },
- {
- "id": 3,
- "name": "Bank SCB",
- "type": "bank_tranfer",
- "bank": {
- "code": "scb",
- "name": "The Siam Commercial Bank",
- "branch": "Bangkapi",
- "account_no": "111-2-33333-4",
- "url_logo": "http://gethelpster.com/img/bank02.png"
- }
- },
- {
- "id": 4,
- "name": "Credit Card",
- "type": "credit_card",
- "config": {
- "payment_gateway_provider": "2c2p",
- "version": "8.0",
- "merchant_id": "",
- "secret_key": "",
- "public_key": "",
- "private_key": "",
- "private_key_pass ": ""
- }
- }
- ]
- }
- ]
- }
- ],
- "review": {
- "id": 1,
- "template_id": 1,
- "avg_score": 4,
- "comment": "Project job done.",
- "details": [
- {
- "name": "Knows his job",
- "score": 4.5
- },
- {
- "name": "Was on time",
- "score": 5
- },
- {
- "name": "Was on time",
- "score": 5
- }
- ]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement