POST api/SalesMan/NewCustomer

New Customer Creation

Request Information

Parameters

NameDescriptionAdditional information
beData
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "Name": "sample string 2",
  "Address": "sample string 3",
  "RouteId": 4,
  "ContactPerson": "sample string 5",
  "ContactNo": "sample string 6",
  "MobileNo": "sample string 7",
  "EmailId": "sample string 8",
  "DebtorTypeId": 1,
  "PassKey": "sample string 9",
  "Lat": 10.1,
  "Lon": 11.1,
  "UserId": 12,
  "AgentId": 13
}

application/xml, text/xml

Sample:
<NewCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesOrderAPI.Models.BusinessEntity">
  <AgentId>13</AgentId>
  <Lat>10.1</Lat>
  <Lon>11.1</Lon>
  <PassKey>sample string 9</PassKey>
  <UserId>12</UserId>
  <Address>sample string 3</Address>
  <ContactNo>sample string 6</ContactNo>
  <ContactPerson>sample string 5</ContactPerson>
  <CustomerId>1</CustomerId>
  <DebtorTypeId>1</DebtorTypeId>
  <EmailId>sample string 8</EmailId>
  <MobileNo>sample string 7</MobileNo>
  <Name>sample string 2</Name>
  <RouteId>4</RouteId>
</NewCustomer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "ResponseMSG": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesOrderAPI.Models.Global">
  <IsSuccess>true</IsSuccess>
  <ResponseMSG>sample string 2</ResponseMSG>
</ResponseValue>