JSON Response

COMPANY INFO JSON RESPONSE

This is an example of what a request to Company Info will return. Note that the section with the key “response” is what comes back from QuickBooks. The other parts like “runtime” are from fmQBO.

{
  "runtime": 1.292,
  "responseHeader": "HTTP/1.1 200 OK\rDate: Sun, 08 Mar 2015 01:38:13 GMT\rContent-Type: application/json;charset=UTF-8\rintuit_tid: 53530cbc-bdf6-4909-b2aa-0f2b35c5c5c3\rVia: 1.1 ipp-gateway-.net\rCache-Control: max-age=0, no-cache, no-store, must-revalidate, private\rExpires: 0\rQBO-Version: 83.489\rVary: Accept-Encoding\rTransfer-Encoding: chunked\r\r",
  "response": {
    "QueryResponse": {
      "CompanyInfo": [
        {
          "CompanyName": "Todd Geist Sandbox Company",
          "LegalName": "Todd Geist Sandbox Company",
          "CompanyAddr": {
            "Id": "1",
            "Line1": "123 Sierra Way",
            "City": "San Pablo",
            "CountrySubDivisionCode": "CA",
            "PostalCode": "87999",
            "Lat": "36.6788345",
            "Long": "-5.4464622"
          },
          "CustomerCommunicationAddr": {
            "Id": "1",
            "Line1": "123 Sierra Way",
            "City": "San Pablo",
            "CountrySubDivisionCode": "CA",
            "PostalCode": "87999",
            "Lat": "36.6788345",
            "Long": "-5.4464622"
          },
          "LegalAddr": {
            "Id": "1",
            "Line1": "123 Sierra Way",
            "City": "San Pablo",
            "CountrySubDivisionCode": "CA",
            "PostalCode": "87999",
            "Lat": "36.6788345",
            "Long": "-5.4464622"
          },
          "PrimaryPhone": {},
          "CompanyStartDate": "2014-10-20",
          "FiscalYearStartMonth": "January",
          "Country": "US",
          "Email": {
            "Address": "noreply@quickbooks.com"
          },
          "WebAddr": {},
          "SupportedLanguages": "en",
          "NameValue": [
            {
              "Name": "NeoEnabled",
              "Value": "true"
            },
            {
              "Name": "CompanyType",
              "Value": "Other"
            },
            {
              "Name": "SubscriptionStatus",
              "Value": "TRIAL"
            },
            {
              "Name": "OfferingSku",
              "Value": "QuickBooks Online Plus"
            },
            {
              "Name": "PayrollFeature",
              "Value": "false"
            },
            {
              "Name": "AccountantFeature",
              "Value": "false"
            }
          ],
          "domain": "QBO",
          "sparse": false,
          "Id": "1",
          "SyncToken": "6",
          "MetaData": {
            "CreateTime": "2014-10-20T01:55:14-07:00",
            "LastUpdatedTime": "2015-01-23T12:19:39-08:00"
          }
        }
      ],
      "maxResults": 1
    },
    "time": "2015-03-07T17:38:06.440-08:00"
  }
}

Still need help? Contact Us Contact Us