Output/HaloAPI/Data/Templates/Site.json

{
    "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": "2019-08-02T14:35:57.189Z",
    "text": 0,
    "globx": 0,
    "globy": 0,
    "style": 0,
    "inuseby": 0,
    "notes": "string",
    "upwho": 0,
    "uptimestamp": "2019-08-02T14:35:57.189Z",
    "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,
    "itetimeoffset": 0,
    "itedateformat": 0,
    "disclaimermatchstring": "string",
    "emailsubjectprefix": "string",
    "regionaldirector": 0,
    "facilitiesmanager": 0,
    "actguid": "string",
    "teamviewerpassword": "string",
    "contractlastchecked": "2019-08-02T14:35:57.189Z",
    "maincontact_id": 0,
    "maincontact_name": "string",
    "wildcardref": "string",
    "monthlyreportlastrun": "2019-08-02T14:35:57.189Z",
    "monthlyreportinclude": true,
    "monthlyreportemailmanager": true,
    "accountmanagertech": true,
    "monthlyreportemaildirect": true,
    "language_id": 0,
    "language_name": "string",
    "snowname": "string",
    "linked_organisation_id": 0,
    "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": "2019-08-02T14:35:57.189Z",
        "date_inactive": "2019-08-02T14:35:57.189Z",
        "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",
      "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
        }
      ],
      "datecreated": "2019-08-02T14:35:57.189Z",
      "createdfrom_id": 0,
      "notes": "string",
      "announce": "string",
      "announcedate": "2019-08-02T14:35:57.189Z",
      "pritech": 0,
      "pritech_name": "string",
      "sectech": 0,
      "sectech_name": "string",
      "prinotify": true,
      "secnotify": true,
      "priassign": true,
      "secassign": true,
      "accountmanagertech": 0,
      "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": "2019-08-02T14:35:57.189Z",
      "startbalance": 0,
      "hourlyrate": 0,
      "periodcharge": 0,
      "dontinvoice": true,
      "invoicetemplate": "string",
      "invoicecomment": "string",
      "lastinvoiceenddate": "2019-08-02T14:35:57.189Z",
      "showslaonweb": true,
      "slataxcode": 0,
      "nonslataxcode": 0,
      "accountsid": "string",
      "imageindex": 0,
      "chargehours2": 0,
      "hourlyrate2": 0,
      "cat2": "string",
      "cat3": "string",
      "cat4": "string",
      "cat5": "string",
      "enddate": "2019-08-02T14:35:57.189Z",
      "ucemail": 0,
      "fcemail": 0,
      "stopped": 0,
      "actguid": "string",
      "smsbalance": 0,
      "html": "string",
      "hv": 0,
      "hvdate": "2019-08-02T14:35:57.189Z",
      "emailinvoice": true,
      "seriousnesslevel": 0,
      "defcat1": "string",
      "defcat2": "string",
      "defcat3": "string",
      "defcat4": "string",
      "thresholdbreached": 0,
      "monthlyreportinclude": true,
      "monthlyreportlastrun": "2019-08-02T14:35:57.189Z",
      "monthlyreportemaildirect": true,
      "monthlyreportemailmanager": true,
      "monthlyreportshowonweb": true,
      "ref": "string",
      "areatype": 0,
      "unmatchedcombinations": 0,
      "prepayrecurringchargenextdate": "2019-08-02T14:35:57.189Z",
      "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",
      "calldate": "2019-08-02T14:35:57.189Z",
      "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": "2019-08-02T14:35:57.189Z",
            "date_inactive": "2019-08-02T14:35:57.189Z",
            "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": [
                    {}
                  ],
                  "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": "2019-08-02T14:35:57.189Z",
                  "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"
                    }
                  ],
                  "_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",
              "ticket_count": 0,
              "use": "string",
              "sequence": 0,
              "default_sla": 0,
              "group_id": 0,
              "group_name": "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,
                        "rates": [
                          {
                            "id": 0,
                            "area": 0,
                            "charge_id": 0,
                            "startdate": "2019-08-02T14:35:57.189Z",
                            "rate": 0,
                            "org": 0,
                            "minimum": 0,
                            "increment": 0,
                            "oohmultiplier": 0,
                            "holidaymultiplier": 0,
                            "weekendmultiplier": 0,
                            "surcharge": true,
                            "round": 0,
                            "current": true,
                            "_warning": "string"
                          }
                        ],
                        "_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
                      }
                    ],
                    "_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": [
        {}
      ],
      "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": "2019-08-02T14:35:57.189Z",
        "date_inactive": "2019-08-02T14:35:57.189Z",
        "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,
                    "rates": [
                      {
                        "id": 0,
                        "area": 0,
                        "charge_id": 0,
                        "startdate": "2019-08-02T14:35:57.189Z",
                        "rate": 0,
                        "org": 0,
                        "minimum": 0,
                        "increment": 0,
                        "oohmultiplier": 0,
                        "holidaymultiplier": 0,
                        "weekendmultiplier": 0,
                        "surcharge": true,
                        "round": 0,
                        "current": true,
                        "_warning": "string"
                      }
                    ],
                    "_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
                  }
                ],
                "_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": "2019-08-02T14:35:57.190Z",
          "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",
          "ticket_count": 0,
          "use": "string",
          "sequence": 0,
          "default_sla": 0,
          "group_id": 0,
          "group_name": "string"
        }
      ],
      "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"
        }
      ],
      "_warning": "string"
    },
    "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,
        "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
          }
        ],
        "datecreated": "2019-08-02T14:35:57.190Z",
        "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": "2019-08-02T14:35:57.190Z",
        "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": "2019-08-02T14:35:57.190Z",
          "date_inactive": "2019-08-02T14:35:57.190Z",
          "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": "2019-08-02T14:35:57.190Z",
            "date_inactive": "2019-08-02T14:35:57.190Z",
            "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": "2019-08-02T14:35:57.190Z",
            "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,
        "_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": "2019-08-02T14:35:57.190Z",
      "date_inactive": "2019-08-02T14:35:57.190Z",
      "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": "2019-08-02T14:35:57.190Z",
      "date_inactive": "2019-08-02T14:35:57.190Z",
      "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": "2019-08-02T14:35:57.190Z",
        "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,
        "typeinfo_id": 0
      }
    ],
    "licences": [
      {
        "id": "string",
        "licence_key": "string",
        "licencehashdate": "2019-08-02T14:35:57.190Z",
        "site_id": 0,
        "version": "string",
        "apiurl": "string",
        "organisationname": "string",
        "is_trial": true,
        "trialexpiry": "2019-08-02T14:35:57.190Z",
        "registrationdate": "2019-08-02T14:35:57.190Z"
      }
    ],
    "open_ticket_count": 0,
    "onhold_ticket_count": 0,
    "total_ticket_count": 0,
    "opened_thismonth_count": 0,
    "guid": "string",
    "_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
      }
    ]
  }