POST api/customer/SaveCustomer
Request Information
URI Parameters
None.
Body Parameters
customerMasterAdd| Name | Description | Type | Additional information |
|---|---|---|---|
| forEmployeeId | integer |
None. |
|
| customerId | integer |
None. |
|
| customerTypeId | integer |
None. |
|
| businessName | string |
None. |
|
| firstName | string |
None. |
|
| lastName | string |
None. |
|
| birthDate | string |
None. |
|
| anniversaryDate | string |
None. |
|
| qualification | string |
None. |
|
| speciality | string |
None. |
|
| category | string |
None. |
|
| phone1 | string |
None. |
|
| phone2 | string |
None. |
|
| emailId | string |
None. |
|
| latitude | string |
None. |
|
| longitude | string |
None. |
|
| address | string |
None. |
|
| stateId | integer |
None. |
|
| cityName | string |
None. |
|
| areaName | string |
None. |
|
| pincode | string |
None. |
|
| chemistIds | string |
None. |
|
| productIds | string |
None. |
|
| beatId | integer |
None. |
|
| EmployeeId | integer |
None. |
|
| SessionID | string |
None. |
|
| DeviceID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"forEmployeeId": 1,
"customerId": 2,
"customerTypeId": 3,
"businessName": "sample string 4",
"firstName": "sample string 5",
"lastName": "sample string 6",
"birthDate": "sample string 7",
"anniversaryDate": "sample string 8",
"qualification": "sample string 9",
"speciality": "sample string 10",
"category": "sample string 11",
"phone1": "sample string 12",
"phone2": "sample string 13",
"emailId": "sample string 14",
"latitude": "sample string 15",
"longitude": "sample string 16",
"address": "sample string 17",
"stateId": 18,
"cityName": "sample string 19",
"areaName": "sample string 20",
"pincode": "sample string 21",
"chemistIds": "sample string 22",
"productIds": "sample string 23",
"beatId": 24,
"EmployeeId": 25,
"SessionID": "sample string 26",
"DeviceID": "sample string 27"
}
application/xml, text/xml
Sample:
<customerMasterAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi"> <DeviceID xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi.BE">sample string 27</DeviceID> <EmployeeId xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi.BE">25</EmployeeId> <SessionID xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi.BE">sample string 26</SessionID> <address>sample string 17</address> <anniversaryDate>sample string 8</anniversaryDate> <areaName>sample string 20</areaName> <beatId>24</beatId> <birthDate>sample string 7</birthDate> <businessName>sample string 4</businessName> <category>sample string 11</category> <chemistIds>sample string 22</chemistIds> <cityName>sample string 19</cityName> <customerId>2</customerId> <customerTypeId>3</customerTypeId> <emailId>sample string 14</emailId> <firstName>sample string 5</firstName> <forEmployeeId>1</forEmployeeId> <lastName>sample string 6</lastName> <latitude>sample string 15</latitude> <longitude>sample string 16</longitude> <phone1>sample string 12</phone1> <phone2>sample string 13</phone2> <pincode>sample string 21</pincode> <productIds>sample string 23</productIds> <qualification>sample string 9</qualification> <speciality>sample string 10</speciality> <stateId>18</stateId> </customerMasterAdd>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.