Advertisement
Guest User

Untitled

a guest
Apr 7th, 2019
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 35.88 KB | None | 0 0
  1. {
  2.   "status": true,
  3.   "message": "Success",
  4.   "data": [
  5.     {
  6.       "invoice_notes": "dsgfhjghmfdasd",
  7.       "other_item_in_invoice": null,
  8.       "file_url": [
  9.         {
  10.           "type": "IMAGE",
  11.           "url": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/tenant/images/101/1554535491076/Screenshot 2019-04-05 at 1.14.15 PM.png",
  12.           "size": 93678,
  13.           "name": "Screenshot 2019-04-05 at 1.14.15 PM.png"
  14.         },
  15.         {
  16.           "type": "IMAGE",
  17.           "url": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/tenant/images/101/1554535554442/Screenshot 2019-04-05 at 1.16.34 PM.png",
  18.           "size": 43729,
  19.           "name": "Screenshot 2019-04-05 at 1.16.34 PM.png"
  20.         }
  21.       ],
  22.       "invoice_currency_id": {
  23.         "id": 113,
  24.         "name": "Indian Rupee",
  25.         "symbol": "₹",
  26.         "status": 0,
  27.         "default": null,
  28.         "currency_id": 0
  29.       },
  30.       "code": "INV-000004",
  31.       "invoice_sub_total_amount": 180,
  32.       "created_at": 1554535559000,
  33.       "invoice_date": 1556217000000,
  34.       "quantity_in_service": null,
  35.       "last_updated_by": {
  36.         "id": 138,
  37.         "name": "Mahesh Gahlot",
  38.         "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  39.         "employee_id": "EMP-000001",
  40.         "email": "mahesh.gahlot@finoit.co.in",
  41.         "emp_code": "EMP-000001",
  42.         "location": null
  43.       },
  44.       "invoice_customer_id": {
  45.         "id": 66,
  46.         "name": "Syed",
  47.         "phone_list": [],
  48.         "email_list": [
  49.           "syed@gmail.com"
  50.         ],
  51.         "address_list": null,
  52.         "customer_id": 82,
  53.         "payment_term": null,
  54.         "currency": {
  55.           "id": 113,
  56.           "name": "Indian Rupee",
  57.           "symbol": "₹",
  58.           "status": 0,
  59.           "default": null,
  60.           "currency_id": 0
  61.         },
  62.         "image": "",
  63.         "url": "https://mysite19.dev.getfieldtitan.com/crm/contacts/82"
  64.       },
  65.       "invoice_total_amount": 180,
  66.       "invoice_balance_amount": 180,
  67.       "invoice_payment_term_type": {
  68.         "id": 915,
  69.         "name": "Net 45",
  70.         "days": 45,
  71.         "order": 6,
  72.         "status": 1,
  73.         "locked": true,
  74.         "is_locked": true,
  75.         "is_default": false
  76.       },
  77.       "id": 90,
  78.       "tax_in_service_id": null,
  79.       "available_in_service": null,
  80.       "invoice_term": "sgrbhgmjeqfgh",
  81.       "price_in_service": null,
  82.       "item_name": null,
  83.       "created_by": {
  84.         "id": 138,
  85.         "name": "Mahesh Gahlot",
  86.         "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  87.         "employee_id": "EMP-000001",
  88.         "email": "mahesh.gahlot@finoit.co.in",
  89.         "emp_code": "EMP-000001",
  90.         "location": null
  91.       },
  92.       "invoice_due_date": 1560105000000,
  93.       "job_list_in_invoice": [
  94.         {
  95.           "discount_on_job": null,
  96.           "code": "000001",
  97.           "item_type": {
  98.             "services_list_in_job": [
  99.               {
  100.                 "id": 65,
  101.                 "name": "Repair",
  102.                 "type": "SERVICE",
  103.                 "available_quantity": 0,
  104.                 "unit_price": 200,
  105.                 "unit_price_currency": {
  106.                   "id": 113,
  107.                   "name": "Indian Rupee",
  108.                   "symbol": "₹",
  109.                   "status": 0,
  110.                   "default": null,
  111.                   "currency_id": 0
  112.                 },
  113.                 "tax_info": null,
  114.                 "description": "erwhfgwghmfg",
  115.                 "allow_out_of_stock_sale": null,
  116.                 "quantity": 1,
  117.                 "discount_amount": 20,
  118.                 "item_total_amount": 180
  119.               }
  120.             ],
  121.             "products_list_in_job": [],
  122.             "discount_on_job": 10,
  123.             "discount_on_currency": false,
  124.             "discount_amount_of_job": 20,
  125.             "total_amount_of_job": 180,
  126.             "total_amount_before_tax": 200
  127.           },
  128.           "address_id": {
  129.             "id": 833,
  130.             "addressType": {
  131.               "id": 2,
  132.               "name": "Communication",
  133.               "alias": "Communication"
  134.             },
  135.             "city": {
  136.               "city_id": 4759,
  137.               "city_name": "Ghaziabad",
  138.               "cityname_caps": "GHAZIABAD"
  139.             },
  140.             "country": {
  141.               "currency": {
  142.                 "id": 113,
  143.                 "code": "INR",
  144.                 "name": "Indian Rupee",
  145.                 "symbol": "₹"
  146.               },
  147.               "country_id": 101,
  148.               "country_code": "IN",
  149.               "country_name": "India",
  150.               "phone_code": "+91"
  151.             },
  152.             "state": {
  153.               "country": {
  154.                 "currency": {
  155.                   "id": 113,
  156.                   "code": "INR",
  157.                   "name": "Indian Rupee",
  158.                   "symbol": "₹"
  159.                 },
  160.                 "country_id": 101,
  161.                 "country_code": "IN",
  162.                 "country_name": "India",
  163.                 "phone_code": "+91"
  164.               },
  165.               "state_id": 38,
  166.               "state_name": "Uttar Pradesh"
  167.             },
  168.             "addressLine1": "Finoit Technologies.",
  169.             "addressLine2": "A 48 - 3rd Floor, Sector 64, Noida",
  170.             "zipCode": "201301",
  171.             "createdOn": 1551263616000,
  172.             "updatedOn": 1551263616000,
  173.             "latitude": 77.37742649999996,
  174.             "longitude": 28.611071018957404
  175.           },
  176.           "last_name": null,
  177.           "created_at": 1551263616000,
  178.           "created_by": {
  179.             "id": 138,
  180.             "name": "Mahesh Gahlot",
  181.             "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  182.             "employee_id": "EMP-000001",
  183.             "email": "mahesh.gahlot@finoit.co.in",
  184.             "emp_code": "EMP-000001",
  185.             "location": null
  186.           },
  187.           "job_participants_id": [
  188.             {
  189.               "id": 138,
  190.               "name": "Mahesh Gahlot",
  191.               "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  192.               "employee_id": "EMP-000001",
  193.               "email": "mahesh.gahlot@finoit.co.in",
  194.               "emp_code": "EMP-000001",
  195.               "location": null
  196.             }
  197.           ],
  198.           "last_updated_by": {
  199.             "id": 138,
  200.             "name": "Mahesh Gahlot",
  201.             "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  202.             "employee_id": "EMP-000001",
  203.             "email": "mahesh.gahlot@finoit.co.in",
  204.             "emp_code": "EMP-000001",
  205.             "location": null
  206.           },
  207.           "job_name": "System Repair",
  208.           "job_start_date": 1551263224000,
  209.           "phone": [],
  210.           "last_updated_at": 1553855224000,
  211.           "job_end_date": 1553855224000,
  212.           "id": 259,
  213.           "job_cost": 180,
  214.           "first_name": null,
  215.           "email": []
  216.         }
  217.       ],
  218.       "last_updated_at": 1554535559000,
  219.       "invoice_reference_id": "201301",
  220.       "sales_employee": {
  221.         "id": 138,
  222.         "name": "Mahesh Gahlot",
  223.         "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  224.         "employee_id": "EMP-000001",
  225.         "email": "mahesh.gahlot@finoit.co.in",
  226.         "emp_code": "EMP-000001",
  227.         "location": null
  228.       },
  229.       "invoice_work_order_id": {
  230.         "id": 78,
  231.         "code": "WO-000001",
  232.         "assignee": {
  233.           "id": 138,
  234.           "email": "mahesh.gahlot@finoit.co.in",
  235.           "phone": "+91-7043464686",
  236.           "photo_url": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  237.           "first_name": "Mahesh",
  238.           "last_name": "Gahlot"
  239.         },
  240.         "updated_on": 1551258932000,
  241.         "created_date": 1551254571000,
  242.         "estimated_completion_date": 1561622577000,
  243.         "priority": null,
  244.         "total_amount": 180,
  245.         "number_of_jobs": 1,
  246.         "number_of_done_jobs": 0,
  247.         "name": "System Repair"
  248.       },
  249.       "discount_amount_in_service": null,
  250.       "status": {
  251.         "id": 3860,
  252.         "name": "Draft",
  253.         "alias": "Draft",
  254.         "status": 1,
  255.         "createBy": 204,
  256.         "createdOn": 1551253466000,
  257.         "updatedBy": 204,
  258.         "updatedOn": 1551253466000,
  259.         "entity_id": 19,
  260.         "entity_name": "Invoices",
  261.         "entity_status_type_id": 17,
  262.         "entity_status_type_name": "Open",
  263.         "is_locked": true,
  264.         "is_default": true,
  265.         "record_payment_allowed": true,
  266.         "is_time_included": false,
  267.         "in_transition_form_list": null,
  268.         "out_transition_form_list": null,
  269.         "actions": null,
  270.         "colour_code": "#659be0",
  271.         "colour_code_hex": "#659be0",
  272.         "action_label": "Mark as Draft"
  273.       }
  274.     },
  275.     {
  276.       "invoice_notes": "dsbdfdsfgndfsvbgf",
  277.       "other_item_in_invoice": {
  278.         "services_list_in_job": [
  279.           {
  280.             "id": 65,
  281.             "name": "Repair",
  282.             "type": "SERVICE",
  283.             "available_quantity": 0,
  284.             "unit_price": 200,
  285.             "unit_price_currency": {
  286.               "id": 113,
  287.               "name": "Indian Rupee",
  288.               "symbol": "₹",
  289.               "status": 0,
  290.               "default": null,
  291.               "currency_id": 0
  292.             },
  293.             "tax_info": null,
  294.             "description": null,
  295.             "allow_out_of_stock_sale": null,
  296.             "quantity": 1,
  297.             "discount_amount": 10,
  298.             "item_total_amount": 190
  299.           }
  300.         ],
  301.         "products_list_in_job": [],
  302.         "discount_on_job": 10,
  303.         "discount_on_currency": true,
  304.         "discount_amount_of_job": 10,
  305.         "total_amount_of_job": 190,
  306.         "total_amount_before_tax": 200
  307.       },
  308.       "file_url": null,
  309.       "invoice_currency_id": {
  310.         "id": 113,
  311.         "name": "Indian Rupee",
  312.         "symbol": "₹",
  313.         "status": 0,
  314.         "default": null,
  315.         "currency_id": 0
  316.       },
  317.       "code": "INV-000003",
  318.       "invoice_sub_total_amount": 340,
  319.       "created_at": 1554530324000,
  320.       "invoice_date": 1555353000000,
  321.       "quantity_in_service": null,
  322.       "last_updated_by": {
  323.         "id": 138,
  324.         "name": "Mahesh Gahlot",
  325.         "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  326.         "employee_id": "EMP-000001",
  327.         "email": "mahesh.gahlot@finoit.co.in",
  328.         "emp_code": "EMP-000001",
  329.         "location": null
  330.       },
  331.       "invoice_customer_id": {
  332.         "id": 66,
  333.         "name": "Syed",
  334.         "phone_list": [],
  335.         "email_list": [
  336.           "syed@gmail.com"
  337.         ],
  338.         "address_list": null,
  339.         "customer_id": 82,
  340.         "payment_term": null,
  341.         "currency": {
  342.           "id": 113,
  343.           "name": "Indian Rupee",
  344.           "symbol": "₹",
  345.           "status": 0,
  346.           "default": null,
  347.           "currency_id": 0
  348.         },
  349.         "image": "",
  350.         "url": "https://mysite19.dev.getfieldtitan.com/crm/contacts/82"
  351.       },
  352.       "invoice_total_amount": 340,
  353.       "invoice_balance_amount": 340,
  354.       "invoice_payment_term_type": null,
  355.       "id": 89,
  356.       "tax_in_service_id": null,
  357.       "available_in_service": null,
  358.       "invoice_term": "dsgdfsadbdvdfbdfdfs",
  359.       "price_in_service": null,
  360.       "item_name": null,
  361.       "created_by": {
  362.         "id": 138,
  363.         "name": "Mahesh Gahlot",
  364.         "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  365.         "employee_id": "EMP-000001",
  366.         "email": "mahesh.gahlot@finoit.co.in",
  367.         "emp_code": "EMP-000001",
  368.         "location": null
  369.       },
  370.       "invoice_due_date": null,
  371.       "job_list_in_invoice": [
  372.         {
  373.           "discount_on_job": null,
  374.           "code": "000001",
  375.           "item_type": {
  376.             "services_list_in_job": [
  377.               {
  378.                 "id": 65,
  379.                 "name": "Repair",
  380.                 "type": "SERVICE",
  381.                 "available_quantity": 0,
  382.                 "unit_price": 200,
  383.                 "unit_price_currency": {
  384.                   "id": 113,
  385.                   "name": "Indian Rupee",
  386.                   "symbol": "₹",
  387.                   "status": 0,
  388.                   "default": null,
  389.                   "currency_id": 0
  390.                 },
  391.                 "tax_info": null,
  392.                 "description": null,
  393.                 "allow_out_of_stock_sale": null,
  394.                 "quantity": 1,
  395.                 "discount_amount": 50,
  396.                 "item_total_amount": 150
  397.               }
  398.             ],
  399.             "products_list_in_job": [],
  400.             "discount_on_job": 50,
  401.             "discount_on_currency": true,
  402.             "discount_amount_of_job": 50,
  403.             "total_amount_of_job": 150,
  404.             "total_amount_before_tax": 200
  405.           },
  406.           "address_id": {
  407.             "id": 833,
  408.             "addressType": {
  409.               "id": 2,
  410.               "name": "Communication",
  411.               "alias": "Communication"
  412.             },
  413.             "city": {
  414.               "city_id": 4759,
  415.               "city_name": "Ghaziabad",
  416.               "cityname_caps": "GHAZIABAD"
  417.             },
  418.             "country": {
  419.               "currency": {
  420.                 "id": 113,
  421.                 "code": "INR",
  422.                 "name": "Indian Rupee",
  423.                 "symbol": "₹"
  424.               },
  425.               "country_id": 101,
  426.               "country_code": "IN",
  427.               "country_name": "India",
  428.               "phone_code": "+91"
  429.             },
  430.             "state": {
  431.               "country": {
  432.                 "currency": {
  433.                   "id": 113,
  434.                   "code": "INR",
  435.                   "name": "Indian Rupee",
  436.                   "symbol": "₹"
  437.                 },
  438.                 "country_id": 101,
  439.                 "country_code": "IN",
  440.                 "country_name": "India",
  441.                 "phone_code": "+91"
  442.               },
  443.               "state_id": 38,
  444.               "state_name": "Uttar Pradesh"
  445.             },
  446.             "addressLine1": "Finoit Technologies.",
  447.             "addressLine2": "A 48 - 3rd Floor, Sector 64, Noida",
  448.             "zipCode": "201301",
  449.             "createdOn": 1551263616000,
  450.             "updatedOn": 1551263616000,
  451.             "latitude": 77.37742649999996,
  452.             "longitude": 28.611071018957404
  453.           },
  454.           "last_name": null,
  455.           "created_at": 1551263616000,
  456.           "created_by": {
  457.             "id": 138,
  458.             "name": "Mahesh Gahlot",
  459.             "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  460.             "employee_id": "EMP-000001",
  461.             "email": "mahesh.gahlot@finoit.co.in",
  462.             "emp_code": "EMP-000001",
  463.             "location": null
  464.           },
  465.           "job_participants_id": [
  466.             {
  467.               "id": 138,
  468.               "name": "Mahesh Gahlot",
  469.               "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  470.               "employee_id": "EMP-000001",
  471.               "email": "mahesh.gahlot@finoit.co.in",
  472.               "emp_code": "EMP-000001",
  473.               "location": null
  474.             }
  475.           ],
  476.           "last_updated_by": {
  477.             "id": 138,
  478.             "name": "Mahesh Gahlot",
  479.             "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  480.             "employee_id": "EMP-000001",
  481.             "email": "mahesh.gahlot@finoit.co.in",
  482.             "emp_code": "EMP-000001",
  483.             "location": null
  484.           },
  485.           "job_name": "System Repair",
  486.           "job_start_date": 1551263224000,
  487.           "phone": [],
  488.           "last_updated_at": 1553855224000,
  489.           "job_end_date": 1553855224000,
  490.           "id": 259,
  491.           "job_cost": 180,
  492.           "first_name": null,
  493.           "email": []
  494.         }
  495.       ],
  496.       "last_updated_at": 1554530324000,
  497.       "invoice_reference_id": "201301",
  498.       "sales_employee": {
  499.         "id": 245,
  500.         "name": "Sebin Duke",
  501.         "image": "",
  502.         "employee_id": "EMP-000002",
  503.         "email": "gahlotmahesh2@gmail.com",
  504.         "emp_code": "EMP-000002",
  505.         "location": null
  506.       },
  507.       "invoice_work_order_id": {
  508.         "id": 78,
  509.         "code": "WO-000001",
  510.         "assignee": {
  511.           "id": 138,
  512.           "email": "mahesh.gahlot@finoit.co.in",
  513.           "phone": "+91-7043464686",
  514.           "photo_url": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  515.           "first_name": "Mahesh",
  516.           "last_name": "Gahlot"
  517.         },
  518.         "updated_on": 1551258932000,
  519.         "created_date": 1551254571000,
  520.         "estimated_completion_date": 1561622577000,
  521.         "priority": null,
  522.         "total_amount": 180,
  523.         "number_of_jobs": 1,
  524.         "number_of_done_jobs": 0,
  525.         "name": "System Repair"
  526.       },
  527.       "discount_amount_in_service": null,
  528.       "status": {
  529.         "id": 3860,
  530.         "name": "Draft",
  531.         "alias": "Draft",
  532.         "status": 1,
  533.         "createBy": 204,
  534.         "createdOn": 1551253466000,
  535.         "updatedBy": 204,
  536.         "updatedOn": 1551253466000,
  537.         "entity_id": 19,
  538.         "entity_name": "Invoices",
  539.         "entity_status_type_id": 17,
  540.         "entity_status_type_name": "Open",
  541.         "is_locked": true,
  542.         "is_default": true,
  543.         "record_payment_allowed": true,
  544.         "is_time_included": false,
  545.         "in_transition_form_list": null,
  546.         "out_transition_form_list": null,
  547.         "actions": null,
  548.         "colour_code": "#659be0",
  549.         "colour_code_hex": "#659be0",
  550.         "action_label": "Mark as Draft"
  551.       }
  552.     },
  553.     {
  554.       "invoice_notes": null,
  555.       "other_item_in_invoice": null,
  556.       "file_url": null,
  557.       "invoice_currency_id": {
  558.         "id": 113,
  559.         "name": "Indian Rupee",
  560.         "symbol": "₹",
  561.         "status": 0,
  562.         "default": null,
  563.         "currency_id": 0
  564.       },
  565.       "code": "INV-000002",
  566.       "invoice_sub_total_amount": 180,
  567.       "created_at": 1554530035000,
  568.       "invoice_date": 1554529979000,
  569.       "quantity_in_service": null,
  570.       "last_updated_by": {
  571.         "id": 138,
  572.         "name": "Mahesh Gahlot",
  573.         "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  574.         "employee_id": "EMP-000001",
  575.         "email": "mahesh.gahlot@finoit.co.in",
  576.         "emp_code": "EMP-000001",
  577.         "location": null
  578.       },
  579.       "invoice_customer_id": {
  580.         "id": 66,
  581.         "name": "Syed",
  582.         "phone_list": [],
  583.         "email_list": [
  584.           "syed@gmail.com"
  585.         ],
  586.         "address_list": null,
  587.         "customer_id": 82,
  588.         "payment_term": null,
  589.         "currency": {
  590.           "id": 113,
  591.           "name": "Indian Rupee",
  592.           "symbol": "₹",
  593.           "status": 0,
  594.           "default": null,
  595.           "currency_id": 0
  596.         },
  597.         "image": "",
  598.         "url": "https://mysite19.dev.getfieldtitan.com/crm/contacts/82"
  599.       },
  600.       "invoice_total_amount": 180,
  601.       "invoice_balance_amount": 180,
  602.       "invoice_payment_term_type": {
  603.         "id": 912,
  604.         "name": "Due end of next month",
  605.         "days": null,
  606.         "order": 3,
  607.         "status": 1,
  608.         "locked": true,
  609.         "is_locked": true,
  610.         "is_default": false
  611.       },
  612.       "id": 88,
  613.       "tax_in_service_id": null,
  614.       "available_in_service": null,
  615.       "invoice_term": null,
  616.       "price_in_service": null,
  617.       "item_name": null,
  618.       "created_by": {
  619.         "id": 138,
  620.         "name": "Mahesh Gahlot",
  621.         "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  622.         "employee_id": "EMP-000001",
  623.         "email": "mahesh.gahlot@finoit.co.in",
  624.         "emp_code": "EMP-000001",
  625.         "location": null
  626.       },
  627.       "invoice_due_date": 1559327399000,
  628.       "job_list_in_invoice": [
  629.         {
  630.           "discount_on_job": null,
  631.           "code": "000001",
  632.           "item_type": {
  633.             "services_list_in_job": [
  634.               {
  635.                 "id": 65,
  636.                 "name": "Repair",
  637.                 "type": "SERVICE",
  638.                 "available_quantity": 0,
  639.                 "unit_price": 200,
  640.                 "unit_price_currency": {
  641.                   "id": 113,
  642.                   "name": "Indian Rupee",
  643.                   "symbol": "₹",
  644.                   "status": 0,
  645.                   "default": null,
  646.                   "currency_id": 0
  647.                 },
  648.                 "tax_info": null,
  649.                 "description": null,
  650.                 "allow_out_of_stock_sale": null,
  651.                 "quantity": 1,
  652.                 "discount_amount": 20,
  653.                 "item_total_amount": 180
  654.               }
  655.             ],
  656.             "products_list_in_job": [],
  657.             "discount_on_job": 10,
  658.             "discount_on_currency": false,
  659.             "discount_amount_of_job": 20,
  660.             "total_amount_of_job": 180,
  661.             "total_amount_before_tax": 200
  662.           },
  663.           "address_id": {
  664.             "id": 833,
  665.             "addressType": {
  666.               "id": 2,
  667.               "name": "Communication",
  668.               "alias": "Communication"
  669.             },
  670.             "city": {
  671.               "city_id": 4759,
  672.               "city_name": "Ghaziabad",
  673.               "cityname_caps": "GHAZIABAD"
  674.             },
  675.             "country": {
  676.               "currency": {
  677.                 "id": 113,
  678.                 "code": "INR",
  679.                 "name": "Indian Rupee",
  680.                 "symbol": "₹"
  681.               },
  682.               "country_id": 101,
  683.               "country_code": "IN",
  684.               "country_name": "India",
  685.               "phone_code": "+91"
  686.             },
  687.             "state": {
  688.               "country": {
  689.                 "currency": {
  690.                   "id": 113,
  691.                   "code": "INR",
  692.                   "name": "Indian Rupee",
  693.                   "symbol": "₹"
  694.                 },
  695.                 "country_id": 101,
  696.                 "country_code": "IN",
  697.                 "country_name": "India",
  698.                 "phone_code": "+91"
  699.               },
  700.               "state_id": 38,
  701.               "state_name": "Uttar Pradesh"
  702.             },
  703.             "addressLine1": "Finoit Technologies.",
  704.             "addressLine2": "A 48 - 3rd Floor, Sector 64, Noida",
  705.             "zipCode": "201301",
  706.             "createdOn": 1551263616000,
  707.             "updatedOn": 1551263616000,
  708.             "latitude": 77.37742649999996,
  709.             "longitude": 28.611071018957404
  710.           },
  711.           "last_name": null,
  712.           "created_at": 1551263616000,
  713.           "created_by": {
  714.             "id": 138,
  715.             "name": "Mahesh Gahlot",
  716.             "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  717.             "employee_id": "EMP-000001",
  718.             "email": "mahesh.gahlot@finoit.co.in",
  719.             "emp_code": "EMP-000001",
  720.             "location": null
  721.           },
  722.           "job_participants_id": [
  723.             {
  724.               "id": 138,
  725.               "name": "Mahesh Gahlot",
  726.               "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  727.               "employee_id": "EMP-000001",
  728.               "email": "mahesh.gahlot@finoit.co.in",
  729.               "emp_code": "EMP-000001",
  730.               "location": null
  731.             }
  732.           ],
  733.           "last_updated_by": {
  734.             "id": 138,
  735.             "name": "Mahesh Gahlot",
  736.             "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  737.             "employee_id": "EMP-000001",
  738.             "email": "mahesh.gahlot@finoit.co.in",
  739.             "emp_code": "EMP-000001",
  740.             "location": null
  741.           },
  742.           "job_name": "System Repair",
  743.           "job_start_date": 1551263224000,
  744.           "phone": [],
  745.           "last_updated_at": 1553855224000,
  746.           "job_end_date": 1553855224000,
  747.           "id": 259,
  748.           "job_cost": 180,
  749.           "first_name": null,
  750.           "email": []
  751.         }
  752.       ],
  753.       "last_updated_at": 1554530035000,
  754.       "invoice_reference_id": null,
  755.       "sales_employee": {
  756.         "id": 138,
  757.         "name": "Mahesh Gahlot",
  758.         "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  759.         "employee_id": "EMP-000001",
  760.         "email": "mahesh.gahlot@finoit.co.in",
  761.         "emp_code": "EMP-000001",
  762.         "location": null
  763.       },
  764.       "invoice_work_order_id": {
  765.         "id": 78,
  766.         "code": "WO-000001",
  767.         "assignee": {
  768.           "id": 138,
  769.           "email": "mahesh.gahlot@finoit.co.in",
  770.           "phone": "+91-7043464686",
  771.           "photo_url": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  772.           "first_name": "Mahesh",
  773.           "last_name": "Gahlot"
  774.         },
  775.         "updated_on": 1551258932000,
  776.         "created_date": 1551254571000,
  777.         "estimated_completion_date": 1561622577000,
  778.         "priority": null,
  779.         "total_amount": 180,
  780.         "number_of_jobs": 1,
  781.         "number_of_done_jobs": 0,
  782.         "name": "System Repair"
  783.       },
  784.       "discount_amount_in_service": null,
  785.       "status": {
  786.         "id": 3860,
  787.         "name": "Draft",
  788.         "alias": "Draft",
  789.         "status": 1,
  790.         "createBy": 204,
  791.         "createdOn": 1551253466000,
  792.         "updatedBy": 204,
  793.         "updatedOn": 1551253466000,
  794.         "entity_id": 19,
  795.         "entity_name": "Invoices",
  796.         "entity_status_type_id": 17,
  797.         "entity_status_type_name": "Open",
  798.         "is_locked": true,
  799.         "is_default": true,
  800.         "record_payment_allowed": true,
  801.         "is_time_included": false,
  802.         "in_transition_form_list": null,
  803.         "out_transition_form_list": null,
  804.         "actions": null,
  805.         "colour_code": "#659be0",
  806.         "colour_code_hex": "#659be0",
  807.         "action_label": "Mark as Draft"
  808.       }
  809.     },
  810.     {
  811.       "invoice_notes": null,
  812.       "other_item_in_invoice": null,
  813.       "file_url": null,
  814.       "invoice_currency_id": {
  815.         "id": 113,
  816.         "name": "Indian Rupee",
  817.         "symbol": "₹",
  818.         "status": 0,
  819.         "default": null,
  820.         "currency_id": 0
  821.       },
  822.       "code": "INV-000001",
  823.       "invoice_sub_total_amount": 180,
  824.       "created_at": 1554443625000,
  825.       "invoice_date": 1554443540000,
  826.       "quantity_in_service": null,
  827.       "last_updated_by": {
  828.         "id": 138,
  829.         "name": "Mahesh Gahlot",
  830.         "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  831.         "employee_id": "EMP-000001",
  832.         "email": "mahesh.gahlot@finoit.co.in",
  833.         "emp_code": "EMP-000001",
  834.         "location": null
  835.       },
  836.       "invoice_customer_id": {
  837.         "id": 66,
  838.         "name": "Syed",
  839.         "phone_list": [],
  840.         "email_list": [
  841.           "syed@gmail.com"
  842.         ],
  843.         "address_list": null,
  844.         "customer_id": 82,
  845.         "payment_term": null,
  846.         "currency": {
  847.           "id": 113,
  848.           "name": "Indian Rupee",
  849.           "symbol": "₹",
  850.           "status": 0,
  851.           "default": null,
  852.           "currency_id": 0
  853.         },
  854.         "image": "",
  855.         "url": "https://mysite19.dev.getfieldtitan.com/crm/contacts/82"
  856.       },
  857.       "invoice_total_amount": 180,
  858.       "invoice_balance_amount": 180,
  859.       "invoice_payment_term_type": {
  860.         "id": 911,
  861.         "name": "Due end of the month",
  862.         "days": null,
  863.         "order": 2,
  864.         "status": 1,
  865.         "locked": true,
  866.         "is_locked": true,
  867.         "is_default": false
  868.       },
  869.       "id": 87,
  870.       "tax_in_service_id": null,
  871.       "available_in_service": null,
  872.       "invoice_term": null,
  873.       "price_in_service": null,
  874.       "item_name": null,
  875.       "created_by": {
  876.         "id": 138,
  877.         "name": "Mahesh Gahlot",
  878.         "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  879.         "employee_id": "EMP-000001",
  880.         "email": "mahesh.gahlot@finoit.co.in",
  881.         "emp_code": "EMP-000001",
  882.         "location": null
  883.       },
  884.       "invoice_due_date": 1556648999000,
  885.       "job_list_in_invoice": [
  886.         {
  887.           "discount_on_job": null,
  888.           "code": "000001",
  889.           "item_type": {
  890.             "services_list_in_job": [
  891.               {
  892.                 "id": 65,
  893.                 "name": "Repair",
  894.                 "type": "SERVICE",
  895.                 "available_quantity": 0,
  896.                 "unit_price": 200,
  897.                 "unit_price_currency": {
  898.                   "id": 113,
  899.                   "name": "Indian Rupee",
  900.                   "symbol": "₹",
  901.                   "status": 0,
  902.                   "default": null,
  903.                   "currency_id": 0
  904.                 },
  905.                 "tax_info": null,
  906.                 "description": null,
  907.                 "allow_out_of_stock_sale": null,
  908.                 "quantity": 1,
  909.                 "discount_amount": 20,
  910.                 "item_total_amount": 180
  911.               }
  912.             ],
  913.             "products_list_in_job": [],
  914.             "discount_on_job": 10,
  915.             "discount_on_currency": false,
  916.             "discount_amount_of_job": 20,
  917.             "total_amount_of_job": 180,
  918.             "total_amount_before_tax": 200
  919.           },
  920.           "address_id": {
  921.             "id": 833,
  922.             "addressType": {
  923.               "id": 2,
  924.               "name": "Communication",
  925.               "alias": "Communication"
  926.             },
  927.             "city": {
  928.               "city_id": 4759,
  929.               "city_name": "Ghaziabad",
  930.               "cityname_caps": "GHAZIABAD"
  931.             },
  932.             "country": {
  933.               "currency": {
  934.                 "id": 113,
  935.                 "code": "INR",
  936.                 "name": "Indian Rupee",
  937.                 "symbol": "₹"
  938.               },
  939.               "country_id": 101,
  940.               "country_code": "IN",
  941.               "country_name": "India",
  942.               "phone_code": "+91"
  943.             },
  944.             "state": {
  945.               "country": {
  946.                 "currency": {
  947.                   "id": 113,
  948.                   "code": "INR",
  949.                   "name": "Indian Rupee",
  950.                   "symbol": "₹"
  951.                 },
  952.                 "country_id": 101,
  953.                 "country_code": "IN",
  954.                 "country_name": "India",
  955.                 "phone_code": "+91"
  956.               },
  957.               "state_id": 38,
  958.               "state_name": "Uttar Pradesh"
  959.             },
  960.             "addressLine1": "Finoit Technologies.",
  961.             "addressLine2": "A 48 - 3rd Floor, Sector 64, Noida",
  962.             "zipCode": "201301",
  963.             "createdOn": 1551263616000,
  964.             "updatedOn": 1551263616000,
  965.             "latitude": 77.37742649999996,
  966.             "longitude": 28.611071018957404
  967.           },
  968.           "last_name": null,
  969.           "created_at": 1551263616000,
  970.           "created_by": {
  971.             "id": 138,
  972.             "name": "Mahesh Gahlot",
  973.             "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  974.             "employee_id": "EMP-000001",
  975.             "email": "mahesh.gahlot@finoit.co.in",
  976.             "emp_code": "EMP-000001",
  977.             "location": null
  978.           },
  979.           "job_participants_id": [
  980.             {
  981.               "id": 138,
  982.               "name": "Mahesh Gahlot",
  983.               "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  984.               "employee_id": "EMP-000001",
  985.               "email": "mahesh.gahlot@finoit.co.in",
  986.               "emp_code": "EMP-000001",
  987.               "location": null
  988.             }
  989.           ],
  990.           "last_updated_by": {
  991.             "id": 138,
  992.             "name": "Mahesh Gahlot",
  993.             "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  994.             "employee_id": "EMP-000001",
  995.             "email": "mahesh.gahlot@finoit.co.in",
  996.             "emp_code": "EMP-000001",
  997.             "location": null
  998.           },
  999.           "job_name": "System Repair",
  1000.           "job_start_date": 1551263224000,
  1001.           "phone": [],
  1002.           "last_updated_at": 1553855224000,
  1003.           "job_end_date": 1553855224000,
  1004.           "id": 259,
  1005.           "job_cost": 180,
  1006.           "first_name": null,
  1007.           "email": []
  1008.         }
  1009.       ],
  1010.       "last_updated_at": 1554443625000,
  1011.       "invoice_reference_id": null,
  1012.       "sales_employee": {
  1013.         "id": 138,
  1014.         "name": "Mahesh Gahlot",
  1015.         "image": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  1016.         "employee_id": "EMP-000001",
  1017.         "email": "mahesh.gahlot@finoit.co.in",
  1018.         "emp_code": "EMP-000001",
  1019.         "location": null
  1020.       },
  1021.       "invoice_work_order_id": {
  1022.         "id": 78,
  1023.         "code": "WO-000001",
  1024.         "assignee": {
  1025.           "id": 138,
  1026.           "email": "mahesh.gahlot@finoit.co.in",
  1027.           "phone": "+91-7043464686",
  1028.           "photo_url": "https://s3.ap-south-1.amazonaws.com/fieldstardev/Tenant_101/employee_pictures/1554457745529/C1B3191F-D138-45C8-AD39-3B7657C981CA.jpeg",
  1029.           "first_name": "Mahesh",
  1030.           "last_name": "Gahlot"
  1031.         },
  1032.         "updated_on": 1551258932000,
  1033.         "created_date": 1551254571000,
  1034.         "estimated_completion_date": 1561622577000,
  1035.         "priority": null,
  1036.         "total_amount": 180,
  1037.         "number_of_jobs": 1,
  1038.         "number_of_done_jobs": 0,
  1039.         "name": "System Repair"
  1040.       },
  1041.       "discount_amount_in_service": null,
  1042.       "status": {
  1043.         "id": 3860,
  1044.         "name": "Draft",
  1045.         "alias": "Draft",
  1046.         "status": 1,
  1047.         "createBy": 204,
  1048.         "createdOn": 1551253466000,
  1049.         "updatedBy": 204,
  1050.         "updatedOn": 1551253466000,
  1051.         "entity_id": 19,
  1052.         "entity_name": "Invoices",
  1053.         "entity_status_type_id": 17,
  1054.         "entity_status_type_name": "Open",
  1055.         "is_locked": true,
  1056.         "is_default": true,
  1057.         "record_payment_allowed": true,
  1058.         "is_time_included": false,
  1059.         "in_transition_form_list": null,
  1060.         "out_transition_form_list": null,
  1061.         "actions": null,
  1062.         "colour_code": "#659be0",
  1063.         "colour_code_hex": "#659be0",
  1064.         "action_label": "Mark as Draft"
  1065.       }
  1066.     }
  1067.   ]
  1068. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement