POST SetCustomerData

Request Information

URI Parameters

None.

Body Parameters

CustomerMasterEntity
NameDescriptionTypeAdditional information
customerid

integer

None.

customername

string

None.

address1

string

None.

address2

string

None.

address3

string

None.

city

string

None.

postalcode

string

None.

district

string

None.

territoryid

integer

None.

telephone

string

None.

potential

decimal number

None.

Latitude

string

None.

Longitude

string

None.

Image

string

None.

employeeid

integer

None.

customertypebd

integer

None.

responsetype

integer

None.

customerstatus

integer

None.

dateofconversion

string

None.

Request Formats

application/json, text/json

Sample:
{
  "customerid": 1,
  "customername": "sample string 2",
  "address1": "sample string 3",
  "address2": "sample string 4",
  "address3": "sample string 5",
  "city": "sample string 6",
  "postalcode": "sample string 7",
  "district": "sample string 8",
  "territoryid": 9,
  "telephone": "sample string 10",
  "potential": 11.1,
  "Latitude": "sample string 12",
  "Longitude": "sample string 13",
  "Image": "sample string 14",
  "employeeid": 15,
  "customertypebd": 16,
  "responsetype": 17,
  "customerstatus": 18,
  "dateofconversion": "sample string 19"
}

application/xml, text/xml

Sample:
<CustomerMasterEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SF_API.Entity.Customer">
  <Image>sample string 14</Image>
  <Latitude>sample string 12</Latitude>
  <Longitude>sample string 13</Longitude>
  <address1>sample string 3</address1>
  <address2>sample string 4</address2>
  <address3>sample string 5</address3>
  <city>sample string 6</city>
  <customerid>1</customerid>
  <customername>sample string 2</customername>
  <customerstatus>18</customerstatus>
  <customertypebd>16</customertypebd>
  <dateofconversion>sample string 19</dateofconversion>
  <district>sample string 8</district>
  <employeeid>15</employeeid>
  <postalcode>sample string 7</postalcode>
  <potential>11.1</potential>
  <responsetype>17</responsetype>
  <telephone>sample string 10</telephone>
  <territoryid>9</territoryid>
</CustomerMasterEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.