GET api/Customer

returns a list of customers

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CustomerModel
NameDescriptionTypeAdditional information
Details1

string

None.

Details2

string

None.

UserID

integer

None.

Email

string

None.

BeginDates

Collection of date

None.

EndDates

Collection of date

None.

ID

integer

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Details1": "sample string 1",
    "UserID": 3,
    "ID": 5,
    "Details2": "sample string 2",
    "Email": "sample string 4",
    "Name": "sample string 6",
    "BeginDates": [
      "2024-12-22T08:31:44.1668564+01:00",
      "2024-12-22T08:31:44.1668564+01:00"
    ],
    "EndDates": [
      "2024-12-22T08:31:44.1668564+01:00",
      "2024-12-22T08:31:44.1668564+01:00"
    ]
  },
  {
    "Details1": "sample string 1",
    "UserID": 3,
    "ID": 5,
    "Details2": "sample string 2",
    "Email": "sample string 4",
    "Name": "sample string 6",
    "BeginDates": [
      "2024-12-22T08:31:44.1668564+01:00",
      "2024-12-22T08:31:44.1668564+01:00"
    ],
    "EndDates": [
      "2024-12-22T08:31:44.1668564+01:00",
      "2024-12-22T08:31:44.1668564+01:00"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Paralax.Cas.Web.WebServices.Models">
  <CustomerModel>
    <ID>5</ID>
    <Name>sample string 6</Name>
    <UserID>3</UserID>
    <Email>sample string 4</Email>
    <BeginDates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:dateTime>2024-12-22T08:31:44.1668564+01:00</d3p1:dateTime>
      <d3p1:dateTime>2024-12-22T08:31:44.1668564+01:00</d3p1:dateTime>
    </BeginDates>
    <EndDates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:dateTime>2024-12-22T08:31:44.1668564+01:00</d3p1:dateTime>
      <d3p1:dateTime>2024-12-22T08:31:44.1668564+01:00</d3p1:dateTime>
    </EndDates>
    <Details1>sample string 1</Details1>
    <Details2>sample string 2</Details2>
  </CustomerModel>
  <CustomerModel>
    <ID>5</ID>
    <Name>sample string 6</Name>
    <UserID>3</UserID>
    <Email>sample string 4</Email>
    <BeginDates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:dateTime>2024-12-22T08:31:44.1668564+01:00</d3p1:dateTime>
      <d3p1:dateTime>2024-12-22T08:31:44.1668564+01:00</d3p1:dateTime>
    </BeginDates>
    <EndDates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:dateTime>2024-12-22T08:31:44.1668564+01:00</d3p1:dateTime>
      <d3p1:dateTime>2024-12-22T08:31:44.1668564+01:00</d3p1:dateTime>
    </EndDates>
    <Details1>sample string 1</Details1>
    <Details2>sample string 2</Details2>
  </CustomerModel>
</ArrayOfCustomerModel>