PUT contacts/contact

Request Information

URI Parameters

None.

Body Parameters

contactModel
Name Description Type Additional information
tel

string

Required

Max length: 64

email

string

Required

Max length: 64

address

string

Required

Max length: 256

location

string

Required

Max length: 64

updatedInfo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "tel": "sample string 1",
  "email": "sample string 2",
  "address": "sample string 3",
  "location": "sample string 4",
  "updatedInfo": "sample string 5"
}

application/xml, text/xml

Sample:
<contactModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models">
  <address>sample string 3</address>
  <email>sample string 2</email>
  <id>6</id>
  <location>sample string 4</location>
  <tel>sample string 1</tel>
  <updatedInfo>sample string 5</updatedInfo>
</contactModel>

multipart/form-data

Sample:
<contactModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models"><address>sample string 3</address><email>sample string 2</email><id>6</id><location>sample string 4</location><tel>sample string 1</tel><updatedInfo>sample string 5</updatedInfo></contactModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.