Estimate
Estimates

POST /estimates

Changed on

Posts an individual estimate for a business.

Request

  • Base URL
    https://api.railz.ai
  • Auth
    HTTP bearer

Request body

Example request

{
  "connection": {
    "businessName": "Railz",
    "serviceName": "quickbooks"
  },
  "data": {
    "passThrough": {
      "CustomField": [
        {
          "DefinitionId": "1",
          "StringValue": "my custom value",
          "Name": "Field One"
        }
      ]
    },
    "dueDate": "2021-03-09",
    "postedDate": "2021-03-09",
    "acceptedDate": "2021-03-09",
    "expiryDate": "2021-03-09",
    "customerRef": "645",
    "currency": "CAD",
    "lines": [
      {
        "description": "Services rendered.",
        "accountRef": "200",
        "taxRef": "197.05",
        "inventoryRef": "BOOK"
      }
    ],
    "shipToAddress": {
      "line1": "1234 Park Street",
      "line2": "Suite 1000",
      "city": "Toronto",
      "region": "ON",
      "country": "CAN",
      "postalCode": "A0B1C2"
    },
    "memo": "Example memo."
  }
}

Response

pushCommunicationIdstring required
requestedOnstring date-time required
status'success' | 'failed' | 'pending' required
businessNamestring required
serviceName'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'xero' | 'oracleNetsuite' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'wave' | 'myob' | 'zohoBooks' | 'byod' required

Example response

{
  "pushCommunicationId": "60473b57f0cdd1683ca71f60",
  "requestedOn": "2021-03-09T08:15:22.035Z",
  "status": "pending",
  "businessName": "Railz",
  "serviceName": "quickbooks",
  "data": {
    "passThrough": {
      "CustomField": [
        {
          "DefinitionId": "1",
          "StringValue": "my custom value",
          "Name": "Field One"
        }
      ]
    },
    "dueDate": "2021-03-09",
    "postedDate": "2021-03-09",
    "acceptedDate": "2021-03-09",
    "expiryDate": "2021-03-09",
    "customerRef": "645",
    "currency": "CAD",
    "lines": [
      {
        "description": "Services rendered.",
        "accountRef": "200",
        "taxRef": "197.05",
        "inventoryRef": "BOOK"
      }
    ],
    "shipToAddress": {
      "line1": "1234 Park Street",
      "line2": "Suite 1000",
      "city": "Toronto",
      "region": "ON",
      "country": "CAN",
      "postalCode": "A0B1C2"
    },
    "memo": "Example memo."
  }
}

Changes

    • info

      api tag Estimate added

    • breaking

      the response's property format changed from uuid to no format for status

    • warning

      removed the request property ///

    • warning

      added the new byod enum value to the response property for the response status

    • warning

      added the new dynamics365Finance enum value to the response property for the response status

    • warning

      added the new dynamicsBusinessCentral enum value to the response property for the response status

    • warning

      added the new freshbooks enum value to the response property for the response status

    • warning

      added the new myob enum value to the response property for the response status

    • warning

      added the new oracleNetsuite enum value to the response property for the response status

    • warning

      added the new quickbooks enum value to the response property for the response status

    • warning

      added the new quickbooksDesktop enum value to the response property for the response status

    • warning

      added the new sageBusinessCloud enum value to the response property for the response status

    • warning

      added the new sageIntacct enum value to the response property for the response status

    • warning

      added the new wave enum value to the response property for the response status

    • warning

      added the new xero enum value to the response property for the response status

    • warning

      added the new zohoBooks enum value to the response property for the response status

    • info

      added the new optional request property ///

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      the request property /// became optional

    • info

      the request property /// became optional

    • info

      request property /// deprecated

    • info

      request property /// deprecated

    • info

      the / request property format was generalized from uuid to no format

    • info

      added to the response property allOf list for the response status

    • info

      removed from the response property allOf list for the response status