Home / API / ASP.NET Web API Details

POST api/v1/Account/PostCreateAccount

Description

Create Account With Site

Request Information

Parameters

NameDescriptionAdditional information
companyid
No documentation available.

Define this parameter in the request body.

branchid
No documentation available.

Define this parameter in the request body.

localeid
No documentation available.

Define this parameter in the request body.

email
No documentation available.

Define this parameter in the request body.

streetnumber
No documentation available.

Define this parameter in the request body.

streetname
No documentation available.

Define this parameter in the request body.

city
No documentation available.

Define this parameter in the request body.

state
No documentation available.

Define this parameter in the request body.

postalcode
No documentation available.

Define this parameter in the request body.

postalcodeex
No documentation available.

Define this parameter in the request body.

firstname
No documentation available.

Define this parameter in the request body.

lastname
No documentation available.

Define this parameter in the request body.

businessname
No documentation available.

Define this parameter in the request body.

phonenum
No documentation available.

Define this parameter in the request body.

phoneext
No documentation available.

Define this parameter in the request body.

latitude
No documentation available.

Define this parameter in the request body.

longitude
No documentation available.

Define this parameter in the request body.

paperless
No documentation available.

Define this parameter in the request body.

phonetype
No documentation available.

Define this parameter in the request body.

taxtypeid
No documentation available.

Define this parameter in the request body.

sendcompletedwomethod
No documentation available.

Define this parameter in the request body.

sendcompletedwoto
No documentation available.

Define this parameter in the request body.

propertytype
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "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
}

application/xml, text/xml

Sample:
<createaccountmodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <branchid>2</branchid>
  <businessname>sample string 12</businessname>
  <city>sample string 6</city>
  <companyid>1</companyid>
  <email>sample string 3</email>
  <firstname>sample string 10</firstname>
  <lastname>sample string 11</lastname>
  <latitude>15</latitude>
  <localeid>1</localeid>
  <longitude>16</longitude>
  <paperless>17</paperless>
  <phoneext>sample string 14</phoneext>
  <phonenum>sample string 13</phonenum>
  <phonetype>64</phonetype>
  <postalcode>sample string 8</postalcode>
  <postalcodeex>sample string 9</postalcodeex>
  <propertytype>22</propertytype>
  <sendcompletedwomethod>20</sendcompletedwomethod>
  <sendcompletedwoto>21</sendcompletedwoto>
  <state>sample string 7</state>
  <streetname>sample string 5</streetname>
  <streetnumber>sample string 4</streetnumber>
  <taxtypeid>19</taxtypeid>
</createaccountmodel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

{ "accountid": 26882 "accountnum": "26882" "siteid": 26996 "message": "Successful" }

Response body formats

application/json, text/json

Sample:
{
  "accountid": 1,
  "accountnum": "sample string 2",
  "siteid": 3,
  "message": "sample string 4"
}

application/xml, text/xml

Sample:
<returnaccountmodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <accountid>1</accountid>
  <accountnum>sample string 2</accountnum>
  <message>sample string 4</message>
  <siteid>3</siteid>
</returnaccountmodel>