POST api/User/UpdateCustomerDetails
Request Information
URI Parameters
None.
Body Parameters
CustomerUserViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| customerinfoid | integer |
None. |
|
| logininfoid | integer |
None. |
|
| adminpassword | string |
None. |
|
| customertypeid | integer |
None. |
|
| customertypename | string |
None. |
|
| customertypecode | string |
None. |
|
| customercode | string |
None. |
|
| companyid | integer |
None. |
|
| financialyearid | integer |
None. |
|
| companyname | string |
None. |
|
| websiteurl | string |
None. |
|
| salutaionid | integer |
None. |
|
| customerfirstname | string |
None. |
|
| customerlastname | string |
None. |
|
| customerdisplayname | string |
None. |
|
| customeremailid | string |
None. |
|
| customermobileno | string |
None. |
|
| customerdesignation | string |
None. |
|
| customerskypename | string |
None. |
|
| customerdepartment | string |
None. |
|
| customeropeningbalance | decimal number |
None. |
|
| paymenttermid | integer |
None. |
|
| customergstno | string |
None. |
|
| customerremark | string |
None. |
|
| salutaioncode | string |
None. |
|
| salutaionname | string |
None. |
|
| paymenttermname | string |
None. |
|
| billingstatename | string |
None. |
|
| billingcity | string |
None. |
|
| billingpostalcode | string |
None. |
|
| billingphoneno | string |
None. |
|
| billingfaxno | string |
None. |
|
| billingaddressline1 | string |
None. |
|
| billingaddressline2 | string |
None. |
|
| shippingstatename | string |
None. |
|
| shippingcity | string |
None. |
|
| shippingpostalcode | string |
None. |
|
| shippingphoneno | string |
None. |
|
| shipppingfaxno | string |
None. |
|
| customerbillingmasterid | integer |
None. |
|
| customershippingmasterid | integer |
None. |
|
| billingstateid | integer |
None. |
|
| shippingstateid | integer |
None. |
|
| shippingaddressline1 | string |
None. |
|
| shippingaddressline2 | string |
None. |
|
| sameasbillingaddress | boolean |
None. |
|
| isexist | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"customerinfoid": 1,
"logininfoid": 2,
"adminpassword": "sample string 3",
"customertypeid": 4,
"customertypename": "sample string 5",
"customertypecode": "sample string 6",
"customercode": "sample string 7",
"companyid": 8,
"financialyearid": 9,
"companyname": "sample string 10",
"websiteurl": "sample string 11",
"salutaionid": 12,
"customerfirstname": "sample string 13",
"customerlastname": "sample string 14",
"customerdisplayname": "sample string 15",
"customeremailid": "sample string 16",
"customermobileno": "sample string 17",
"customerdesignation": "sample string 18",
"customerskypename": "sample string 19",
"customerdepartment": "sample string 20",
"customeropeningbalance": 21.1,
"paymenttermid": 22,
"customergstno": "sample string 23",
"customerremark": "sample string 24",
"salutaioncode": "sample string 25",
"salutaionname": "sample string 26",
"paymenttermname": "sample string 27",
"billingstatename": "sample string 28",
"billingcity": "sample string 29",
"billingpostalcode": "sample string 30",
"billingphoneno": "sample string 31",
"billingfaxno": "sample string 32",
"billingaddressline1": "sample string 33",
"billingaddressline2": "sample string 34",
"shippingstatename": "sample string 35",
"shippingcity": "sample string 36",
"shippingpostalcode": "sample string 37",
"shippingphoneno": "sample string 38",
"shipppingfaxno": "sample string 39",
"customerbillingmasterid": 40,
"customershippingmasterid": 41,
"billingstateid": 42,
"shippingstateid": 43,
"shippingaddressline1": "sample string 44",
"shippingaddressline2": "sample string 45",
"sameasbillingaddress": true,
"isexist": true
}
application/xml, text/xml
Sample:
<CustomerUserViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kantaserp.Models"> <adminpassword>sample string 3</adminpassword> <billingaddressline1>sample string 33</billingaddressline1> <billingaddressline2>sample string 34</billingaddressline2> <billingcity>sample string 29</billingcity> <billingfaxno>sample string 32</billingfaxno> <billingphoneno>sample string 31</billingphoneno> <billingpostalcode>sample string 30</billingpostalcode> <billingstateid>42</billingstateid> <billingstatename>sample string 28</billingstatename> <companyid>8</companyid> <companyname>sample string 10</companyname> <customerbillingmasterid>40</customerbillingmasterid> <customercode>sample string 7</customercode> <customerdepartment>sample string 20</customerdepartment> <customerdesignation>sample string 18</customerdesignation> <customerdisplayname>sample string 15</customerdisplayname> <customeremailid>sample string 16</customeremailid> <customerfirstname>sample string 13</customerfirstname> <customergstno>sample string 23</customergstno> <customerinfoid>1</customerinfoid> <customerlastname>sample string 14</customerlastname> <customermobileno>sample string 17</customermobileno> <customeropeningbalance>21.1</customeropeningbalance> <customerremark>sample string 24</customerremark> <customershippingmasterid>41</customershippingmasterid> <customerskypename>sample string 19</customerskypename> <customertypecode>sample string 6</customertypecode> <customertypeid>4</customertypeid> <customertypename>sample string 5</customertypename> <financialyearid>9</financialyearid> <isexist>true</isexist> <logininfoid>2</logininfoid> <paymenttermid>22</paymenttermid> <paymenttermname>sample string 27</paymenttermname> <salutaioncode>sample string 25</salutaioncode> <salutaionid>12</salutaionid> <salutaionname>sample string 26</salutaionname> <sameasbillingaddress>true</sameasbillingaddress> <shippingaddressline1>sample string 44</shippingaddressline1> <shippingaddressline2>sample string 45</shippingaddressline2> <shippingcity>sample string 36</shippingcity> <shippingphoneno>sample string 38</shippingphoneno> <shippingpostalcode>sample string 37</shippingpostalcode> <shippingstateid>43</shippingstateid> <shippingstatename>sample string 35</shippingstatename> <shipppingfaxno>sample string 39</shipppingfaxno> <websiteurl>sample string 11</websiteurl> </CustomerUserViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResultViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| message | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"data": {}
}
application/xml, text/xml
Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kantaserp.Models"> <data /> <message>sample string 2</message> <status>true</status> </HttpResultViewModel>