Home / API Documentation

Create Account with site and Estimate

Method: POST api/v1/Account/PostCreateAccountAndEstimate

Response Format:

application/json

Required Parameters Description Additional information
accountmodel
No documentation available.

Define this parameter in the request body.

estimatemodel
No documentation available.

Define this parameter in the request body.

application/json, text/json

Sample Request:
                        {
  "accountmodel": {
    "companyid": 1,
    "branchid": 2,
    "localeid": 1,
    "email": "sample string 3",
    "streetnumber": "sample string 4",
    "streetname": "sample string 5",
    "city": "sample string 6",
    "state": "sample string 7",
    "postalcode": "sample string 8",
    "postalcodeex": "sample string 9",
    "firstname": "sample string 10",
    "lastname": "sample string 11",
    "businessname": "sample string 12",
    "phonenum": "sample string 13",
    "phoneext": "sample string 14",
    "latitude": 15.0,
    "longitude": 16.0,
    "paperless": 17,
    "phonetype": 64,
    "taxtypeid": 19,
    "sendcompletedwomethod": 20,
    "sendcompletedwoto": 21,
    "propertytype": 22
  },
  "estimatemodel": {
    "accountid": 1,
    "siteid": 2,
    "branchid": 3,
    "routeid": 4,
    "estimatetypeid": 5,
    "sourceid": "sample string 6",
    "targetid": "sample string 7",
    "name": "sample string 8",
    "scheduleddate": "2025-02-23T06:19:09.5048797+00:00",
    "duration": 1,
    "price": 1.0,
    "instructions": "sample string 9",
    "salespersonid": 10
  }
};