PUT api/contactDetail/update

Request Information

URI Parameters

None.

Body Parameters

ContactDetailViewModel
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

Required

Phone

string

Max length: 50

Email

string

Max length: 250

Facebook

string

Max length: 250

Logo

string

Max length: 250

Website

string

Max length: 250

Address

string

Max length: 250

Description

string

Max length: 250

Other

string

None.

TaxIdentificationNumber

integer

None.

BankCode

string

None.

Lat

decimal number

None.

Lng

decimal number

None.

Status

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "Phone": "sample string 3",
  "Email": "sample string 4",
  "Facebook": "sample string 5",
  "Logo": "sample string 6",
  "Website": "sample string 7",
  "Address": "sample string 8",
  "Description": "sample string 9",
  "Other": "sample string 10",
  "TaxIdentificationNumber": 1,
  "BankCode": "sample string 11",
  "Lat": 1.1,
  "Lng": 1.1,
  "Status": true
}

application/xml, text/xml

Sample:
<ContactDetailViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TeduShop.Web.Models">
  <Address>sample string 8</Address>
  <BankCode>sample string 11</BankCode>
  <Description>sample string 9</Description>
  <Email>sample string 4</Email>
  <Facebook>sample string 5</Facebook>
  <ID>1</ID>
  <Lat>1.1</Lat>
  <Lng>1.1</Lng>
  <Logo>sample string 6</Logo>
  <Name>sample string 2</Name>
  <Other>sample string 10</Other>
  <Phone>sample string 3</Phone>
  <Status>true</Status>
  <TaxIdentificationNumber>1</TaxIdentificationNumber>
  <Website>sample string 7</Website>
</ContactDetailViewModel>

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.