POST api/CustomerDetail/CreateAccount
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| customer | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"contactId": 1,
"prefix": "sample string 2",
"firstname": "sample string 3",
"lastname": "sample string 4",
"suffix": "sample string 5",
"compname": "sample string 6",
"b_phone": "sample string 7",
"country": "sample string 8",
"address": "sample string 9",
"address2": "sample string 10",
"address3": "sample string 11",
"address4": "sample string 12",
"postalcode": "sample string 13",
"city": "sample string 14",
"state": "sample string 15",
"web_alias": "sample string 16",
"web_pswd": "sample string 17",
"web_pswd2": "sample string 18",
"salesman": "sample string 19",
"salesmanname": "sample string 20"
}
text/xml
Sample:
<CustomerData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EPDS.Model"> <address>sample string 9</address> <address2>sample string 10</address2> <address3>sample string 11</address3> <address4>sample string 12</address4> <b_phone>sample string 7</b_phone> <city>sample string 14</city> <compname>sample string 6</compname> <contactId>1</contactId> <country>sample string 8</country> <firstname>sample string 3</firstname> <lastname>sample string 4</lastname> <postalcode>sample string 13</postalcode> <prefix>sample string 2</prefix> <salesman>sample string 19</salesman> <salesmanname>sample string 20</salesmanname> <state>sample string 15</state> <suffix>sample string 5</suffix> <web_alias>sample string 16</web_alias> <web_pswd>sample string 17</web_pswd> <web_pswd2>sample string 18</web_pswd2> </CustomerData>
application/x-www-form-urlencoded
Sample:
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"contactid": 1,
"companyid": "sample string 2",
"userid": 3,
"apiurl": "sample string 4",
"username": "sample string 5",
"apitoken": "sample string 6",
"isadmin": true,
"hidecost": true
}
text/xml
Sample:
<LoginDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EPDS.Model"> <apitoken>sample string 6</apitoken> <apiurl>sample string 4</apiurl> <companyid>sample string 2</companyid> <contactid>1</contactid> <hidecost>true</hidecost> <isadmin>true</isadmin> <userid>3</userid> <username>sample string 5</username> </LoginDetails>