GET api/Customers

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Customer
NameDescriptionTypeAdditional information
CustomerId

integer

None.

Name

string

None.

Address

string

None.

MobileNo

string

None.

Birthdate

date

None.

EmailId

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustomerId": 1,
    "Name": "sample string 2",
    "Address": "sample string 3",
    "MobileNo": "sample string 4",
    "Birthdate": "2019-11-18T01:24:01.1615065-08:00",
    "EmailId": "sample string 5"
  },
  {
    "CustomerId": 1,
    "Name": "sample string 2",
    "Address": "sample string 3",
    "MobileNo": "sample string 4",
    "Birthdate": "2019-11-18T01:24:01.1615065-08:00",
    "EmailId": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <Customer>
    <Address>sample string 3</Address>
    <Birthdate>2019-11-18T01:24:01.1615065-08:00</Birthdate>
    <CustomerId>1</CustomerId>
    <EmailId>sample string 5</EmailId>
    <MobileNo>sample string 4</MobileNo>
    <Name>sample string 2</Name>
  </Customer>
  <Customer>
    <Address>sample string 3</Address>
    <Birthdate>2019-11-18T01:24:01.1615065-08:00</Birthdate>
    <CustomerId>1</CustomerId>
    <EmailId>sample string 5</EmailId>
    <MobileNo>sample string 4</MobileNo>
    <Name>sample string 2</Name>
  </Customer>
</ArrayOfCustomer>