Data/Templates/Invoice.json

[
    {
      "id": 0,
      "client_id": 0,
      "sitenumber": 0,
      "uid": 0,
      "invoicenumber": "string",
      "thirdpartyinvoicenumber": "string",
      "posted": true,
      "name": "string",
      "address1": "string",
      "address2": "string",
      "address3": "string",
      "address4": "string",
      "address5": "string",
      "deladdress1": "string",
      "deladdress2": "string",
      "deladdress3": "string",
      "deladdress4": "string",
      "deladdress5": "string",
      "tel_number": "string",
      "contactname": "string",
      "global_tax_code": "string",
      "invoice_date": "2020-07-03T12:53:40.262Z",
      "dateposted": "2020-07-03T12:53:40.262Z",
      "last_synced": "2020-07-03T12:53:40.262Z",
      "last_modified": "2020-07-03T12:53:40.262Z",
      "notes_1": "string",
      "notes_2": "string",
      "notes_3": "string",
      "taken_by": "string",
      "order_number": "string",
      "cust_order_number": "string",
      "payment_ref": "string",
      "global_nom_code": "string",
      "global_details": "string",
      "invoice_type_code": "string",
      "ohid": 0,
      "datetype": 0,
      "percent": 0,
      "type": 0,
      "chid": 0,
      "datesent": "2020-07-03T12:53:40.262Z",
      "currency": "string",
      "paymentterms": 0,
      "hideinvoice": true,
      "faultid": 0,
      "invoicetype": 0,
      "datepaid": "2020-07-03T12:53:40.262Z",
      "paymentstatus": 0,
      "xeroid": "string",
      "amountpaid": 0,
      "amountdue": 0,
      "emailstatus": 0,
      "address": {
        "id": 0,
        "type": 0,
        "description": "string",
        "note": "string",
        "line1": "string",
        "line2": "string",
        "line3": "string",
        "line4": "string",
        "postcode": "string",
        "primary": true,
        "inactive": true,
        "date_active": "2020-07-03T12:53:40.262Z",
        "date_inactive": "2020-07-03T12:53:40.262Z",
        "lat": 0,
        "long": 0,
        "site_id": 0,
        "user_id": 0,
        "_warning": "string"
      },
      "lines": [
        {
          "id": 0,
          "ihid": 0,
          "item_code": "string",
          "item_shortdescription": "string",
          "item_longdescription": "string",
          "nominal_code": "string",
          "tax_code": "string",
          "qty_order": 0,
          "unit_price": 0,
          "net_amount": 0,
          "tax_amount": 0,
          "tax_rate": 0,
          "comment_1": "string",
          "comment_2": "string",
          "itemonorder": true,
          "dsite": 0,
          "ddevnum": 0,
          "_itemid": 0,
          "productnumber": "string",
          "unit_cost": 0,
          "did": 0,
          "chid": 0,
          "actioncode": 0,
          "site": 0,
          "dmid": 0,
          "faultid": 0,
          "lineactiondate": "2020-07-03T12:53:40.262Z",
          "labourdepartmentid": 0,
          "olid": 0,
          "olseq": 0,
          "item_tax_code": 0,
          "_warning": "string"
        }
      ],
      "invoicevalue": "string",
      "client": {
        "id": 0,
        "name": "string",
        "toplevel_id": 0,
        "toplevel_name": "string",
        "inactive": true,
        "colour": "string",
        "confirmemail": 0,
        "actionemail": 0,
        "clearemail": 0,
        "messagegroup_id": 0,
        "from_address_override": "string",
        "logo": "string",
        "override_org_logo": true,
        "override_org_name": "string",
        "override_org_address": {
          "id": 0,
          "type": 0,
          "description": "string",
          "note": "string",
          "line1": "string",
          "line2": "string",
          "line3": "string",
          "line4": "string",
          "postcode": "string",
          "primary": true,
          "inactive": true,
          "date_active": "2020-07-03T12:53:40.262Z",
          "date_inactive": "2020-07-03T12:53:40.262Z",
          "lat": 0,
          "long": 0,
          "site_id": 0,
          "user_id": 0,
          "_warning": "string"
        },
        "override_org_phone": "string",
        "override_org_email": "string",
        "override_org_website": "string",
        "override_org_portalurl": "string",
        "mailbox_override": 0,
        "default_mailbox_id": 0,
        "calldate": "2020-07-03T12:53:40.262Z",
        "item_tax_code": 0,
        "customfields": [
          {
            "id": 0,
            "name": "string",
            "label": "string",
            "summary": "string",
            "type": 0,
            "value": {},
            "display": "string",
            "characterlimit": 0,
            "characterlimittype": 0,
            "inputtype": 0,
            "copytochild": true,
            "searchable": true,
            "ordervalues": true,
            "database_lookup_id": 0,
            "third_party_name": "string",
            "extratype": 0
          }
        ],
        "attachments": [
          {
            "id": 0,
            "filename": "string",
            "datecreated": "2020-07-03T12:53:40.262Z",
            "note": "string",
            "filesize": 0,
            "type": 0,
            "unique_id": 0,
            "desc": "string",
            "data": "string",
            "ticket_id": 0,
            "action_id": 0,
            "user_id": 0,
            "agent_id": 0,
            "attachmentaction_id": 0,
            "_canupdate": true,
            "_warning": "string",
            "showforusers": true,
            "data_base64": "string",
            "download_url": "string",
            "third_party_token": "string",
            "third_party_id": "string"
          }
        ],
        "site_fields": [
          {
            "id": 0,
            "name": "string",
            "validate": "string",
            "value": {},
            "display": "string",
            "mandatory": true,
            "showonactivity": true,
            "lookup": 0,
            "systemuse": 0,
            "parenttype_id": 0,
            "url": "string",
            "typeinfo_id": 0
          }
        ],
        "pritech": 0,
        "sectech": 0,
        "accountmanagertech": 0,
        "datecreated": "2020-07-03T12:53:40.262Z",
        "createdfrom_id": 0,
        "notes": "string",
        "announce": "string",
        "announcedate": "2020-07-03T12:53:40.262Z",
        "pritech_name": "string",
        "sectech_name": "string",
        "prinotify": true,
        "secnotify": true,
        "priassign": true,
        "secassign": true,
        "accountmanagertech_name": "string",
        "percentage_to_survey": 0,
        "chargeperiod": 0,
        "chargehours": 0,
        "chargecarryover": 0,
        "invoiceyes": true,
        "fluserdef1": "string",
        "fluserdef2": "string",
        "fluserdef3": "string",
        "fluserdef4": "string",
        "fluserdef5": "string",
        "floverride": true,
        "fluserdef1hide": true,
        "fluserdef2hide": true,
        "fluserdef3hide": true,
        "fluserdef4hide": true,
        "fluserdef5hide": true,
        "fluserdef1mand": true,
        "fluserdef2mand": true,
        "fluserdef3mand": true,
        "fluserdef4mand": true,
        "fluserdef5mand": true,
        "includeactions": true,
        "needsinvoice": true,
        "startdate": "2020-07-03T12:53:40.263Z",
        "startbalance": 0,
        "hourlyrate": 0,
        "periodcharge": 0,
        "dontinvoice": true,
        "invoicetemplate": "string",
        "invoicecomment": "string",
        "lastinvoiceenddate": "2020-07-03T12:53:40.263Z",
        "showslaonweb": true,
        "item_tax_code_name": "string",
        "service_tax_code": 0,
        "service_tax_code_name": "string",
        "contract_tax_code": 0,
        "contract_tax_code_name": "string",
        "accountsid": "string",
        "imageindex": 0,
        "chargehours2": 0,
        "hourlyrate2": 0,
        "cat2": "string",
        "cat3": "string",
        "cat4": "string",
        "cat5": "string",
        "enddate": "2020-07-03T12:53:40.263Z",
        "ucemail": 0,
        "fcemail": 0,
        "stopped": 0,
        "actguid": "string",
        "smsbalance": 0,
        "html": "string",
        "hv": 0,
        "hvdate": "2020-07-03T12:53:40.263Z",
        "emailinvoice": true,
        "seriousnesslevel": 0,
        "defcat1": "string",
        "defcat2": "string",
        "defcat3": "string",
        "defcat4": "string",
        "thresholdbreached": 0,
        "monthlyreportinclude": true,
        "monthlyreportlastrun": "2020-07-03T12:53:40.263Z",
        "monthlyreportemaildirect": true,
        "monthlyreportemailmanager": true,
        "monthlyreportshowonweb": true,
        "ref": "string",
        "areatype": 0,
        "unmatchedcombinations": 0,
        "prepayrecurringchargenextdate": "2020-07-03T12:53:40.263Z",
        "billforrecurringprepayamount": true,
        "prepayrecurringcharge": 0,
        "prepayrecurringhours": 0,
        "prepayrecurringchargebp": 0,
        "gficlientid": "string",
        "accountsemailaddress": "string",
        "disclaimermatchstring": "string",
        "paymentterms": 0,
        "showallnonbillable": true,
        "billinggroup": 0,
        "autotopupthreshhold": 0,
        "autotopuptoamount": 0,
        "autotopupcostperhour": 0,
        "autotopupbyamount": 0,
        "surchargeid": 0,
        "contracttemplateid": 0,
        "overidegreeting": "string",
        "clientpackage": 0,
        "scopeofbusiness": 0,
        "preferredagent": 0,
        "callhandlingnotes": "string",
        "teamviewerpassword": "string",
        "customertype": 0,
        "customertype_new": "string",
        "discountperc": 0,
        "showfaqfortoplevel": true,
        "accountsccemailaddress": "string",
        "isopportunity": 0,
        "snowname": "string",
        "is_vip": true,
        "main_site_id": 0,
        "main_site_name": "string",
        "linked_organisation_id": 0,
        "all_organisations_allowed": true,
        "allowed_organisations": [
          {
            "id": 0,
            "name": "string",
            "reply_address": "string",
            "messagegroup_id": 0,
            "address": {
              "id": 0,
              "type": 0,
              "description": "string",
              "note": "string",
              "line1": "string",
              "line2": "string",
              "line3": "string",
              "line4": "string",
              "postcode": "string",
              "primary": true,
              "inactive": true,
              "date_active": "2020-07-03T12:53:40.263Z",
              "date_inactive": "2020-07-03T12:53:40.263Z",
              "lat": 0,
              "long": 0,
              "site_id": 0,
              "user_id": 0,
              "_warning": "string"
            },
            "phone": "string",
            "fax": "string",
            "email": "string",
            "website": "string",
            "logo": "string",
            "deliverysite": 0,
            "portalurl": "string",
            "portalcolour": "string",
            "portalfolderlocation": "string",
            "departments": [
              {
                "id": 0,
                "name": "string",
                "organisation_id": 0,
                "organisation_name": "string",
                "long_name": "string",
                "type": 0,
                "teams": [
                  {
                    "id": 0,
                    "name": "string",
                    "sequence": 0,
                    "forrequests": true,
                    "foropps": true,
                    "forprojects": true,
                    "ticket_count": 0,
                    "department_id": 0,
                    "department_name": "string",
                    "inactive": true,
                    "override_column_id": 0,
                    "agents": [
                      {
                        "id": 0,
                        "name": "string",
                        "onlinestatus_actual": 0,
                        "onlinestatus": 0,
                        "is_online": true,
                        "lastonline": "string",
                        "team": "string",
                        "isdisabled": true,
                        "email": "string",
                        "ad": "string",
                        "lastlogindate": "2020-07-03T12:53:40.263Z",
                        "agentphotopath": "string",
                        "initials": "string",
                        "firstname": "string",
                        "surname": "string",
                        "colour": "string",
                        "jobtitle": "string",
                        "sms": "string",
                        "extensionnumber": "string",
                        "ticket_count": 0,
                        "is_agent": true,
                        "one_client": 0,
                        "teams": [
                          {
                            "id": 0,
                            "agent_id": 0,
                            "agent_name": "string",
                            "team_id": 0,
                            "team_name": "string",
                            "department_id": 0,
                            "role_id": "string",
                            "role_name": "string",
                            "is_manager": true,
                            "unassigned_access": true,
                            "otheragent_access": true,
                            "fortickets": true,
                            "foropps": true,
                            "forprojects": true,
                            "in_section": true
                          }
                        ],
                        "departments": [
                          {
                            "id": 0,
                            "agent_id": 0,
                            "agent_name": "string",
                            "department_id": 0,
                            "department_name": "string",
                            "role_id": "string",
                            "role_name": "string",
                            "membershiplevel": 0,
                            "includeteamsintree": true
                          }
                        ],
                        "clients": [
                          {
                            "id": 0,
                            "agent_id": 0,
                            "agent_name": "string",
                            "client_id": 0,
                            "client_name": "string",
                            "role_id": "string",
                            "role_name": "string"
                          }
                        ],
                        "tickettypes": [
                          {
                            "id": 0,
                            "agent_id": 0,
                            "agent_name": "string",
                            "tickettype_id": 0,
                            "tickettype_name": "string",
                            "role_id": "string",
                            "role_name": "string",
                            "cancreate": true,
                            "canview": true,
                            "canedit": true,
                            "_warning": "string"
                          }
                        ],
                        "qualifications": [
                          {
                            "id": 0,
                            "agent_id": 0,
                            "agent_name": "string",
                            "qualification_id": 0,
                            "qualification_name": "string",
                            "role_id": "string",
                            "role_name": "string",
                            "date": "2020-07-03T12:53:40.263Z",
                            "_warning": "string"
                          }
                        ],
                        "qualification_weighting": 0,
                        "qualified": true,
                        "role_list": "string",
                        "current_action_type": "string",
                        "current_action_name": "string",
                        "_canupdate": true,
                        "_canupdate_moreinfo": true
                      }
                    ],
                    "managers": [
                      {
                        "id": 0,
                        "name": "string",
                        "agent_id": 0,
                        "user_id": 0
                      }
                    ]
                  }
                ],
                "agent_members": [
                  {
                    "id": 0,
                    "name": "string",
                    "onlinestatus_actual": 0,
                    "onlinestatus": 0,
                    "is_online": true,
                    "lastonline": "string",
                    "team": "string",
                    "isdisabled": true,
                    "email": "string",
                    "ad": "string",
                    "lastlogindate": "2020-07-03T12:53:40.263Z",
                    "agentphotopath": "string",
                    "initials": "string",
                    "firstname": "string",
                    "surname": "string",
                    "colour": "string",
                    "jobtitle": "string",
                    "sms": "string",
                    "extensionnumber": "string",
                    "ticket_count": 0,
                    "is_agent": true,
                    "one_client": 0,
                    "teams": [
                      {
                        "id": 0,
                        "agent_id": 0,
                        "agent_name": "string",
                        "team_id": 0,
                        "team_name": "string",
                        "department_id": 0,
                        "role_id": "string",
                        "role_name": "string",
                        "is_manager": true,
                        "unassigned_access": true,
                        "otheragent_access": true,
                        "fortickets": true,
                        "foropps": true,
                        "forprojects": true,
                        "in_section": true
                      }
                    ],
                    "departments": [
                      {
                        "id": 0,
                        "agent_id": 0,
                        "agent_name": "string",
                        "department_id": 0,
                        "department_name": "string",
                        "role_id": "string",
                        "role_name": "string",
                        "membershiplevel": 0,
                        "includeteamsintree": true
                      }
                    ],
                    "clients": [
                      {
                        "id": 0,
                        "agent_id": 0,
                        "agent_name": "string",
                        "client_id": 0,
                        "client_name": "string",
                        "role_id": "string",
                        "role_name": "string"
                      }
                    ],
                    "tickettypes": [
                      {
                        "id": 0,
                        "agent_id": 0,
                        "agent_name": "string",
                        "tickettype_id": 0,
                        "tickettype_name": "string",
                        "role_id": "string",
                        "role_name": "string",
                        "cancreate": true,
                        "canview": true,
                        "canedit": true,
                        "_warning": "string"
                      }
                    ],
                    "qualifications": [
                      {
                        "id": 0,
                        "agent_id": 0,
                        "agent_name": "string",
                        "qualification_id": 0,
                        "qualification_name": "string",
                        "role_id": "string",
                        "role_name": "string",
                        "date": "2020-07-03T12:53:40.263Z",
                        "_warning": "string"
                      }
                    ],
                    "qualification_weighting": 0,
                    "qualified": true,
                    "role_list": "string",
                    "current_action_type": "string",
                    "current_action_name": "string",
                    "_canupdate": true,
                    "_canupdate_moreinfo": true
                  }
                ],
                "managers": [
                  {
                    "id": 0,
                    "name": "string",
                    "agent_id": 0,
                    "user_id": 0
                  }
                ],
                "user_count": 0
              }
            ],
            "linked_client_id": 0,
            "allowall_tickettypes": true,
            "allowed_tickettypes": [
              {
                "id": 0,
                "name": "string",
                "use": "string",
                "sequence": 0,
                "default_sla": 0,
                "group_id": 0,
                "group_name": "string",
                "jira_issue_type": "string",
                "ticket_count": 0,
                "cancreate": true,
                "agentscanselect": true,
                "itilrequesttype": 0
              }
            ],
            "faqlists": [
              {
                "id": 0,
                "name": "string",
                "showforall": true,
                "level": 0,
                "is_group": true,
                "group_id": 0,
                "group_name": "string",
                "full_name": "string",
                "article_count": 0,
                "fields": [
                  {
                    "id": 0,
                    "rtid": 0,
                    "fieldid": 0,
                    "seq": 0,
                    "tableid": 0,
                    "groupid": 0,
                    "endusernew": 0,
                    "enduserdetail": 0,
                    "technew": 0,
                    "techdetail": 0,
                    "fieldname": "string",
                    "fieldinfo": {
                      "id": 0,
                      "name": "string",
                      "label": "string",
                      "labellong": "string",
                      "summary": "string",
                      "hint": "string",
                      "lookup": 0,
                      "type": 0,
                      "custom": 0,
                      "usage": 0,
                      "tab_id": 0,
                      "tab_name": "string",
                      "table_id": 0,
                      "table_name": "string",
                      "readonly": true,
                      "addunknown": true,
                      "extratype": 0,
                      "calcfield": "string",
                      "characterlimit": 0,
                      "characterlimittype": 0,
                      "inputtype": 0,
                      "copytochild": true,
                      "searchable": true,
                      "user_searchable": true,
                      "defaultvalue": "string",
                      "ordervaluesalphanumerically": true,
                      "defaultvalue_lookup": "string",
                      "values": [
                        {
                          "lookupid": 0,
                          "id": 0,
                          "name": "string",
                          "value2": "string",
                          "value2_bool": true,
                          "value3": "string",
                          "value3_bool": true,
                          "value4": "string",
                          "value4_bool": true,
                          "value5": "string",
                          "value5_bool": true,
                          "value6": "string",
                          "value6_bool": true,
                          "value7": "string",
                          "value7_bool": true,
                          "rates": [
                            {
                              "id": 0,
                              "area": 0,
                              "contract_id": 0,
                              "charge_id": 0,
                              "startdate": "2020-07-03T12:53:40.263Z",
                              "rate": 0,
                              "org": 0,
                              "minimum": 0,
                              "increment": 0,
                              "oohmultiplier": 0,
                              "holidaymultiplier": 0,
                              "weekendmultiplier": 0,
                              "surcharge": true,
                              "round": 0,
                              "current": true,
                              "_warning": "string"
                            }
                          ],
                          "_isnewcode": true,
                          "_warning": "string"
                        }
                      ],
                      "new_values": "string",
                      "variable_name": "string",
                      "faults_field_name": "string",
                      "actions_field_name": "string",
                      "table_info": {
                        "id": 0,
                        "name": "string",
                        "linkto_table_id": 0,
                        "note": "string",
                        "fields": [
                          {}
                        ],
                        "_warning": "string"
                      },
                      "client_restrictions": [
                        {
                          "id": 0,
                          "client_id": 0,
                          "client_name": "string",
                          "field_id": 0
                        }
                      ],
                      "database_lookup_id": 0,
                      "database_lookup_name": "string",
                      "third_party_name": "string",
                      "sqllookup": "string",
                      "_testsql": true,
                      "_warning": "string"
                    },
                    "visibility_conditions": [
                      {
                        "id": 0,
                        "tickettype_id": 0,
                        "field_id": 0,
                        "lookup_field_id": 0,
                        "lookup_value_id": 0,
                        "lookup_value": "string",
                        "_warning": "string"
                      }
                    ],
                    "value_restrictions": [
                      {
                        "id": 0,
                        "tickettype_id": 0,
                        "field_id": 0,
                        "value_id": 0,
                        "value_name": "string",
                        "_warning": "string"
                      }
                    ],
                    "group": {
                      "id": 0,
                      "header": "string",
                      "name": "string",
                      "fields": [
                        {}
                      ],
                      "_warning": "string"
                    },
                    "_warning": "string"
                  }
                ]
              }
            ],
            "_warning": "string"
          }
        ],
        "override_signature": "string",
        "contractaccountsdesc": "string",
        "prepayaccountsdesc": "string",
        "site_update": [
          {
            "id": 0,
            "name": "string",
            "client_id": 0,
            "client_name": "string",
            "clientsite_name": "string",
            "inactive": true,
            "sla_id": 0,
            "phonenumber": "string",
            "colour": "string",
            "timezone": "string",
            "invoice_address_isdelivery": true,
            "datecreated": "2020-07-03T12:53:40.263Z",
            "text": 0,
            "globx": 0,
            "globy": 0,
            "style": 0,
            "inuseby": 0,
            "notes": "string",
            "upwho": 0,
            "uptimestamp": "2020-07-03T12:53:40.263Z",
            "xrefsite": 0,
            "zoffsetx": 0,
            "zoffsety": 0,
            "zoomx": 0,
            "zoomy": 0,
            "smallx": 0,
            "smally": 0,
            "bigx": 0,
            "bigy": 0,
            "ldapstring": "string",
            "emaildomain": "string",
            "deliverby": 0,
            "isinvoicesite": true,
            "refnumber": 0,
            "defaultdelivery": true,
            "seriousnesslevel": 0,
            "geocoord1": 0,
            "geocoord2": 0,
            "todomain": "string",
            "defaultstocklocation": 0,
            "stopped": 0,
            "gfisiteid": 0,
            "sitetimeoffset": 0,
            "sitedateformat": 0,
            "disclaimermatchstring": "string",
            "emailsubjectprefix": "string",
            "regionaldirector": 0,
            "facilitiesmanager": 0,
            "actguid": "string",
            "teamviewerpassword": "string",
            "contractlastchecked": "2020-07-03T12:53:40.263Z",
            "maincontact_id": 0,
            "maincontact_name": "string",
            "wildcardref": "string",
            "monthlyreportlastrun": "2020-07-03T12:53:40.263Z",
            "monthlyreportinclude": true,
            "monthlyreportemailmanager": true,
            "accountmanagertech": true,
            "monthlyreportemaildirect": true,
            "language_id": 0,
            "language_name": "string",
            "snowname": "string",
            "linked_organisation_id": 0,
            "client": {},
            "users_update": [
              {
                "id": 0,
                "name": "string",
                "site_id": 0,
                "site_name": "string",
                "client_name": "string",
                "firstname": "string",
                "surname": "string",
                "initials": "string",
                "title": "string",
                "emailaddress": "string",
                "phonenumber_preferred": "string",
                "sitephonenumber": "string",
                "phonenumber": "string",
                "homenumber": "string",
                "mobilenumber": "string",
                "mobilenumber2": "string",
                "fax": "string",
                "telpref": 0,
                "activedirectory_dn": "string",
                "container_dn": "string",
                "login": "string",
                "inactive": true,
                "colour": "string",
                "isimportantcontact": true,
                "other1": "string",
                "other2": "string",
                "other3": "string",
                "other4": "string",
                "other5": "string",
                "neversendemails": true,
                "item_tax_code": 0,
                "site_guid": "string",
                "area_guid": "string",
                "customfields": [
                  {
                    "id": 0,
                    "name": "string",
                    "label": "string",
                    "summary": "string",
                    "type": 0,
                    "value": {},
                    "display": "string",
                    "characterlimit": 0,
                    "characterlimittype": 0,
                    "inputtype": 0,
                    "copytochild": true,
                    "searchable": true,
                    "ordervalues": true,
                    "database_lookup_id": 0,
                    "third_party_name": "string",
                    "extratype": 0
                  }
                ],
                "attachments": [
                  {
                    "id": 0,
                    "filename": "string",
                    "datecreated": "2020-07-03T12:53:40.264Z",
                    "note": "string",
                    "filesize": 0,
                    "type": 0,
                    "unique_id": 0,
                    "desc": "string",
                    "data": "string",
                    "ticket_id": 0,
                    "action_id": 0,
                    "user_id": 0,
                    "agent_id": 0,
                    "attachmentaction_id": 0,
                    "_canupdate": true,
                    "_warning": "string",
                    "showforusers": true,
                    "data_base64": "string",
                    "download_url": "string",
                    "third_party_token": "string",
                    "third_party_id": "string"
                  }
                ],
                "datecreated": "2020-07-03T12:53:40.264Z",
                "inv1": 0,
                "inv2": 0,
                "inv3": 0,
                "inv4": 0,
                "notes": "string",
                "slaid": 0,
                "old_password": "string",
                "new_password": "string",
                "dontackemails": true,
                "web_access_level": 0,
                "showmeonly": 0,
                "showrecentonly": 0,
                "inform": true,
                "inv1site": 0,
                "inv2site": 0,
                "inv3site": 0,
                "inv4site": 0,
                "inv5": 0,
                "inv6": 0,
                "inv7": 0,
                "inv8": 0,
                "inv9": 0,
                "inv10": 0,
                "inv5site": 0,
                "inv6site": 0,
                "inv7site": 0,
                "inv8site": 0,
                "inv9site": 0,
                "inv10site": 0,
                "informaction": true,
                "informclearance": true,
                "inv11": 0,
                "inv12": 0,
                "inv13": 0,
                "inv14": 0,
                "inv15": 0,
                "inv16": 0,
                "inv17": 0,
                "inv18": 0,
                "inv19": 0,
                "inv20": 0,
                "inv21": 0,
                "inv22": 0,
                "inv23": 0,
                "inv24": 0,
                "inv25": 0,
                "inv11site": 0,
                "inv12site": 0,
                "inv13site": 0,
                "inv14site": 0,
                "inv15site": 0,
                "inv16site": 0,
                "inv17site": 0,
                "inv18site": 0,
                "inv19site": 0,
                "inv20site": 0,
                "inv21site": 0,
                "inv22site": 0,
                "inv23site": 0,
                "inv24site": 0,
                "inv25site": 0,
                "showslatimes": true,
                "priority_id": 0,
                "canadd": true,
                "allowviewsitedocs": true,
                "third_party_guid": "string",
                "ischangeapprover": true,
                "cancreateuser": true,
                "department": "string",
                "isheadofdept": true,
                "deputysite": 0,
                "deputyusername": "string",
                "cat2": "string",
                "lastlogindate": "2020-07-03T12:53:40.264Z",
                "email2": "string",
                "email3": "string",
                "iscontractcontact": true,
                "informnewarea": true,
                "informactionarea": true,
                "informclearancearea": true,
                "disclaimermatchstring": "string",
                "viewallcleared": true,
                "twitterscreenname": "string",
                "facebookid": 0,
                "isexternal": true,
                "question1": 0,
                "question2": 0,
                "question3": 0,
                "question4": 0,
                "question5": 0,
                "dontaddtomailinglist": true,
                "caneditwebdetails": true,
                "cataloglevel": 0,
                "canaccesscatalog": true,
                "hasbeentrained": true,
                "admanager": "string",
                "canviewcontracts": true,
                "ispoapprover": true,
                "encmethod": 0,
                "adconnection": 0,
                "useadlogin": 0,
                "site": {},
                "sendwelcomeemail": true,
                "resetpassword": true,
                "_anonymise": true,
                "_reassign_all_to_user": 0,
                "ismaincontact": true,
                "primary_address": {
                  "id": 0,
                  "type": 0,
                  "description": "string",
                  "note": "string",
                  "line1": "string",
                  "line2": "string",
                  "line3": "string",
                  "line4": "string",
                  "postcode": "string",
                  "primary": true,
                  "inactive": true,
                  "date_active": "2020-07-03T12:53:40.264Z",
                  "date_inactive": "2020-07-03T12:53:40.264Z",
                  "lat": 0,
                  "long": 0,
                  "site_id": 0,
                  "user_id": 0,
                  "_warning": "string"
                },
                "addresses": [
                  {
                    "id": 0,
                    "type": 0,
                    "description": "string",
                    "note": "string",
                    "line1": "string",
                    "line2": "string",
                    "line3": "string",
                    "line4": "string",
                    "postcode": "string",
                    "primary": true,
                    "inactive": true,
                    "date_active": "2020-07-03T12:53:40.264Z",
                    "date_inactive": "2020-07-03T12:53:40.264Z",
                    "lat": 0,
                    "long": 0,
                    "site_id": 0,
                    "user_id": 0,
                    "_warning": "string"
                  }
                ],
                "departments": [
                  {
                    "id": 0,
                    "user_id": 0,
                    "user_name": "string",
                    "department_id": 0,
                    "department_name": "string",
                    "is_manager": true
                  }
                ],
                "linked_agent_id": 0,
                "organisation_id": 0,
                "popup_notes": [
                  {
                    "id": 0,
                    "client_id": 0,
                    "site_id": 0,
                    "user_id": 0,
                    "date_created": "2020-07-03T12:53:40.264Z",
                    "note": "string",
                    "dismissable": true,
                    "read_status": 0,
                    "displaymodal": true,
                    "_warning": "string"
                  }
                ],
                "open_ticket_count": 0,
                "onhold_ticket_count": 0,
                "total_ticket_count": 0,
                "opened_thismonth_count": 0,
                "_isnew": true,
                "_isimport": true,
                "memberof": "string",
                "_importtype": "string",
                "azureoid": "string",
                "usercompany": [
                  {
                    "company_id": 0,
                    "user_id": 0,
                    "name": "string",
                    "_warning": "string"
                  }
                ],
                "supplier": {
                  "id": 0,
                  "name": "string"
                },
                "_warning": "string",
                "client_id": 0
              }
            ],
            "newsite_contactname": "string",
            "newsite_contactemail": "string",
            "newsite_contacttitle": "string",
            "newsite_web_access_level": 0,
            "newsite_sendwelcomeemail": true,
            "delivery_address": {
              "id": 0,
              "type": 0,
              "description": "string",
              "note": "string",
              "line1": "string",
              "line2": "string",
              "line3": "string",
              "line4": "string",
              "postcode": "string",
              "primary": true,
              "inactive": true,
              "date_active": "2020-07-03T12:53:40.264Z",
              "date_inactive": "2020-07-03T12:53:40.264Z",
              "lat": 0,
              "long": 0,
              "site_id": 0,
              "user_id": 0,
              "_warning": "string"
            },
            "invoice_address": {
              "id": 0,
              "type": 0,
              "description": "string",
              "note": "string",
              "line1": "string",
              "line2": "string",
              "line3": "string",
              "line4": "string",
              "postcode": "string",
              "primary": true,
              "inactive": true,
              "date_active": "2020-07-03T12:53:40.264Z",
              "date_inactive": "2020-07-03T12:53:40.264Z",
              "lat": 0,
              "long": 0,
              "site_id": 0,
              "user_id": 0,
              "_warning": "string"
            },
            "popup_notes": [
              {
                "id": 0,
                "client_id": 0,
                "site_id": 0,
                "user_id": 0,
                "date_created": "2020-07-03T12:53:40.264Z",
                "note": "string",
                "dismissable": true,
                "read_status": 0,
                "displaymodal": true,
                "_warning": "string"
              }
            ],
            "_reassign_all_to_user": 0,
            "fields": [
              {
                "id": 0,
                "name": "string",
                "validate": "string",
                "value": {},
                "display": "string",
                "mandatory": true,
                "showonactivity": true,
                "lookup": 0,
                "systemuse": 0,
                "parenttype_id": 0,
                "url": "string",
                "typeinfo_id": 0
              }
            ],
            "licences": [
              {
                "id": "string",
                "licence_key": "string",
                "licencehashdate": "2020-07-03T12:53:40.264Z",
                "site_id": 0,
                "client_id": 0,
                "client_name": "string",
                "version": "string",
                "apiurl": "string",
                "organisationname": "string",
                "is_trial": true,
                "trialexpiry": "2020-07-03T12:53:40.264Z",
                "registrationdate": "2020-07-03T12:53:40.264Z"
              }
            ],
            "open_ticket_count": 0,
            "onhold_ticket_count": 0,
            "total_ticket_count": 0,
            "opened_thismonth_count": 0,
            "guid": "string",
            "_isimport": true,
            "_warning": "string",
            "customfields": [
              {
                "id": 0,
                "name": "string",
                "label": "string",
                "summary": "string",
                "type": 0,
                "value": {},
                "display": "string",
                "characterlimit": 0,
                "characterlimittype": 0,
                "inputtype": 0,
                "copytochild": true,
                "searchable": true,
                "ordervalues": true,
                "database_lookup_id": 0,
                "third_party_name": "string",
                "extratype": 0
              }
            ],
            "site_fields": [
              {
                "id": 0,
                "name": "string",
                "validate": "string",
                "value": {},
                "display": "string",
                "mandatory": true,
                "showonactivity": true,
                "lookup": 0,
                "systemuse": 0,
                "parenttype_id": 0,
                "url": "string",
                "typeinfo_id": 0
              }
            ]
          }
        ],
        "newclient_sitename": "string",
        "newclient_phonenumber": "string",
        "newclient_domain": "string",
        "newclient_timezone": "string",
        "newclient_contactname": "string",
        "newclient_contactemail": "string",
        "newclient_contacttitle": "string",
        "newclient_web_access_level": 0,
        "newclient_sendwelcomeemail": true,
        "newclient_delivery_address": {
          "id": 0,
          "type": 0,
          "description": "string",
          "note": "string",
          "line1": "string",
          "line2": "string",
          "line3": "string",
          "line4": "string",
          "postcode": "string",
          "primary": true,
          "inactive": true,
          "date_active": "2020-07-03T12:53:40.264Z",
          "date_inactive": "2020-07-03T12:53:40.264Z",
          "lat": 0,
          "long": 0,
          "site_id": 0,
          "user_id": 0,
          "_warning": "string"
        },
        "faqlists": [
          {
            "id": 0,
            "name": "string",
            "showforall": true,
            "level": 0,
            "is_group": true,
            "group_id": 0,
            "group_name": "string",
            "full_name": "string",
            "article_count": 0,
            "fields": [
              {
                "id": 0,
                "rtid": 0,
                "fieldid": 0,
                "seq": 0,
                "tableid": 0,
                "groupid": 0,
                "endusernew": 0,
                "enduserdetail": 0,
                "technew": 0,
                "techdetail": 0,
                "fieldname": "string",
                "fieldinfo": {
                  "id": 0,
                  "name": "string",
                  "label": "string",
                  "labellong": "string",
                  "summary": "string",
                  "hint": "string",
                  "lookup": 0,
                  "type": 0,
                  "custom": 0,
                  "usage": 0,
                  "tab_id": 0,
                  "tab_name": "string",
                  "table_id": 0,
                  "table_name": "string",
                  "readonly": true,
                  "addunknown": true,
                  "extratype": 0,
                  "calcfield": "string",
                  "characterlimit": 0,
                  "characterlimittype": 0,
                  "inputtype": 0,
                  "copytochild": true,
                  "searchable": true,
                  "user_searchable": true,
                  "defaultvalue": "string",
                  "ordervaluesalphanumerically": true,
                  "defaultvalue_lookup": "string",
                  "values": [
                    {
                      "lookupid": 0,
                      "id": 0,
                      "name": "string",
                      "value2": "string",
                      "value2_bool": true,
                      "value3": "string",
                      "value3_bool": true,
                      "value4": "string",
                      "value4_bool": true,
                      "value5": "string",
                      "value5_bool": true,
                      "value6": "string",
                      "value6_bool": true,
                      "value7": "string",
                      "value7_bool": true,
                      "rates": [
                        {
                          "id": 0,
                          "area": 0,
                          "contract_id": 0,
                          "charge_id": 0,
                          "startdate": "2020-07-03T12:53:40.264Z",
                          "rate": 0,
                          "org": 0,
                          "minimum": 0,
                          "increment": 0,
                          "oohmultiplier": 0,
                          "holidaymultiplier": 0,
                          "weekendmultiplier": 0,
                          "surcharge": true,
                          "round": 0,
                          "current": true,
                          "_warning": "string"
                        }
                      ],
                      "_isnewcode": true,
                      "_warning": "string"
                    }
                  ],
                  "new_values": "string",
                  "variable_name": "string",
                  "faults_field_name": "string",
                  "actions_field_name": "string",
                  "table_info": {
                    "id": 0,
                    "name": "string",
                    "linkto_table_id": 0,
                    "note": "string",
                    "fields": [
                      {}
                    ],
                    "_warning": "string"
                  },
                  "client_restrictions": [
                    {
                      "id": 0,
                      "client_id": 0,
                      "client_name": "string",
                      "field_id": 0
                    }
                  ],
                  "database_lookup_id": 0,
                  "database_lookup_name": "string",
                  "third_party_name": "string",
                  "sqllookup": "string",
                  "_testsql": true,
                  "_warning": "string"
                },
                "visibility_conditions": [
                  {
                    "id": 0,
                    "tickettype_id": 0,
                    "field_id": 0,
                    "lookup_field_id": 0,
                    "lookup_value_id": 0,
                    "lookup_value": "string",
                    "_warning": "string"
                  }
                ],
                "value_restrictions": [
                  {
                    "id": 0,
                    "tickettype_id": 0,
                    "field_id": 0,
                    "value_id": 0,
                    "value_name": "string",
                    "_warning": "string"
                  }
                ],
                "group": {
                  "id": 0,
                  "header": "string",
                  "name": "string",
                  "fields": [
                    {}
                  ],
                  "_warning": "string"
                },
                "_warning": "string"
              }
            ]
          }
        ],
        "popup_notes": [
          {
            "id": 0,
            "client_id": 0,
            "site_id": 0,
            "user_id": 0,
            "date_created": "2020-07-03T12:53:40.264Z",
            "note": "string",
            "dismissable": true,
            "read_status": 0,
            "displaymodal": true,
            "_warning": "string"
          }
        ],
        "_reassign_all_to_user": 0,
        "allowall_tickettypes": true,
        "allowed_tickettypes": [
          {
            "id": 0,
            "name": "string",
            "use": "string",
            "sequence": 0,
            "default_sla": 0,
            "group_id": 0,
            "group_name": "string",
            "jira_issue_type": "string",
            "ticket_count": 0,
            "cancreate": true,
            "agentscanselect": true,
            "itilrequesttype": 0
          }
        ],
        "allowall_category1": true,
        "allowed_category1": [
          {
            "id": 0,
            "type": 0,
            "client_id": 0,
            "tickettype_id": 0,
            "team_id": 0,
            "service_id": 0,
            "category_id": 0,
            "category_value": "string",
            "_warning": "string"
          }
        ],
        "allowall_category2": true,
        "allowed_category2": [
          {
            "id": 0,
            "type": 0,
            "client_id": 0,
            "tickettype_id": 0,
            "team_id": 0,
            "service_id": 0,
            "category_id": 0,
            "category_value": "string",
            "_warning": "string"
          }
        ],
        "allowall_category3": true,
        "allowed_category3": [
          {
            "id": 0,
            "type": 0,
            "client_id": 0,
            "tickettype_id": 0,
            "team_id": 0,
            "service_id": 0,
            "category_id": 0,
            "category_value": "string",
            "_warning": "string"
          }
        ],
        "allowall_category4": true,
        "allowed_category4": [
          {
            "id": 0,
            "type": 0,
            "client_id": 0,
            "tickettype_id": 0,
            "team_id": 0,
            "service_id": 0,
            "category_id": 0,
            "category_value": "string",
            "_warning": "string"
          }
        ],
        "open_ticket_count": 0,
        "onhold_ticket_count": 0,
        "total_ticket_count": 0,
        "opened_thismonth_count": 0,
        "billingplans": [
          {
            "client_id": 0,
            "seq": 0,
            "type": 0,
            "itil_requesttype": 0,
            "priority": 0,
            "chargerate_id": 0,
            "chargerate_name": "string",
            "multiplier": 0,
            "plan_id": 0,
            "plan_name": "string",
            "category_1": "string",
            "_warning": "string"
          }
        ],
        "overriding_rates": [
          {
            "id": 0,
            "area": 0,
            "contract_id": 0,
            "charge_id": 0,
            "startdate": "2020-07-03T12:53:40.265Z",
            "rate": 0,
            "org": 0,
            "minimum": 0,
            "increment": 0,
            "oohmultiplier": 0,
            "holidaymultiplier": 0,
            "weekendmultiplier": 0,
            "surcharge": true,
            "round": 0,
            "current": true,
            "_warning": "string"
          }
        ],
        "newclient_siteguid": "string",
        "_isimport": true,
        "_importtype": "string",
        "_warning": "string"
      },
      "_warning": "string"
    }
  ]