GET contacts/contact

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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.

Response 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"
  },
  {
    "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:
<ArrayOfcontactModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models">
  <contactModel>
    <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>
  <contactModel>
    <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>
</ArrayOfcontactModel>

multipart/form-data

Sample:
<ArrayOfcontactModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models"><contactModel><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><contactModel><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></ArrayOfcontactModel>