POST api/Customer/UpdateCustomer

Request Information

URI Parameters

None.

Body Parameters

CustomerDto
NameDescriptionTypeAdditional information
customerid

integer

None.

customername

string

None.

contactname

string

None.

add1

string

None.

add2

string

None.

homephone

string

None.

emailaddress

string

None.

slmcno

string

None.

nmrano

string

None.

registrationno

string

None.

Request Formats

application/json, text/json

Sample:
{
  "customerid": 1,
  "customername": "sample string 2",
  "contactname": "sample string 3",
  "add1": "sample string 4",
  "add2": "sample string 5",
  "homephone": "sample string 6",
  "emailaddress": "sample string 7",
  "slmcno": "sample string 8",
  "nmrano": "sample string 9",
  "registrationno": "sample string 10"
}

application/xml, text/xml

Sample:
<CustomerDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapitemplate">
  <add1>sample string 4</add1>
  <add2>sample string 5</add2>
  <contactname>sample string 3</contactname>
  <customerid>1</customerid>
  <customername>sample string 2</customername>
  <emailaddress>sample string 7</emailaddress>
  <homephone>sample string 6</homephone>
  <nmrano>sample string 9</nmrano>
  <registrationno>sample string 10</registrationno>
  <slmcno>sample string 8</slmcno>
</CustomerDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.