GET api/CustomerUser/GetDataForTable?customerID={customerID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CustomerUserVenueDTO
NameDescriptionTypeAdditional information
ID

integer

None.

CustomerUser

CustomerUserDTO

None.

VenueList

Collection of CustomerVenueDTO

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "CustomerUser": {
      "ID": 1,
      "CustomerID": 2,
      "Name": "sample string 3",
      "Username": "sample string 4",
      "Password": "sample string 5"
    },
    "VenueList": [
      {
        "ID": 1,
        "CustomerID": 2,
        "RegionID": 3,
        "Name": "sample string 4",
        "PostalCode": "sample string 5",
        "ContactTel": "sample string 6",
        "EmailAddress": "sample string 7",
        "AddressLine1": "sample string 8",
        "AddressLine2": "sample string 9",
        "Suburb": "sample string 10",
        "Province": "sample string 11",
        "Latitude": "sample string 12",
        "Longitude": "sample string 13",
        "IsDeleted": true,
        "RegionName": "sample string 15",
        "CheckedIn": true
      },
      {
        "ID": 1,
        "CustomerID": 2,
        "RegionID": 3,
        "Name": "sample string 4",
        "PostalCode": "sample string 5",
        "ContactTel": "sample string 6",
        "EmailAddress": "sample string 7",
        "AddressLine1": "sample string 8",
        "AddressLine2": "sample string 9",
        "Suburb": "sample string 10",
        "Province": "sample string 11",
        "Latitude": "sample string 12",
        "Longitude": "sample string 13",
        "IsDeleted": true,
        "RegionName": "sample string 15",
        "CheckedIn": true
      }
    ]
  },
  {
    "ID": 1,
    "CustomerUser": {
      "ID": 1,
      "CustomerID": 2,
      "Name": "sample string 3",
      "Username": "sample string 4",
      "Password": "sample string 5"
    },
    "VenueList": [
      {
        "ID": 1,
        "CustomerID": 2,
        "RegionID": 3,
        "Name": "sample string 4",
        "PostalCode": "sample string 5",
        "ContactTel": "sample string 6",
        "EmailAddress": "sample string 7",
        "AddressLine1": "sample string 8",
        "AddressLine2": "sample string 9",
        "Suburb": "sample string 10",
        "Province": "sample string 11",
        "Latitude": "sample string 12",
        "Longitude": "sample string 13",
        "IsDeleted": true,
        "RegionName": "sample string 15",
        "CheckedIn": true
      },
      {
        "ID": 1,
        "CustomerID": 2,
        "RegionID": 3,
        "Name": "sample string 4",
        "PostalCode": "sample string 5",
        "ContactTel": "sample string 6",
        "EmailAddress": "sample string 7",
        "AddressLine1": "sample string 8",
        "AddressLine2": "sample string 9",
        "Suburb": "sample string 10",
        "Province": "sample string 11",
        "Latitude": "sample string 12",
        "Longitude": "sample string 13",
        "IsDeleted": true,
        "RegionName": "sample string 15",
        "CheckedIn": true
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerUserVenueDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
  <CustomerUserVenueDTO>
    <CustomerUser>
      <CustomerID>2</CustomerID>
      <ID>1</ID>
      <Name>sample string 3</Name>
      <Password>sample string 5</Password>
      <Username>sample string 4</Username>
    </CustomerUser>
    <ID>1</ID>
    <VenueList>
      <CustomerVenueDTO>
        <AddressLine1>sample string 8</AddressLine1>
        <AddressLine2>sample string 9</AddressLine2>
        <CheckedIn>true</CheckedIn>
        <ContactTel>sample string 6</ContactTel>
        <CustomerID>2</CustomerID>
        <EmailAddress>sample string 7</EmailAddress>
        <ID>1</ID>
        <IsDeleted>true</IsDeleted>
        <Latitude>sample string 12</Latitude>
        <Longitude>sample string 13</Longitude>
        <Name>sample string 4</Name>
        <PostalCode>sample string 5</PostalCode>
        <Province>sample string 11</Province>
        <RegionID>3</RegionID>
        <RegionName>sample string 15</RegionName>
        <Suburb>sample string 10</Suburb>
      </CustomerVenueDTO>
      <CustomerVenueDTO>
        <AddressLine1>sample string 8</AddressLine1>
        <AddressLine2>sample string 9</AddressLine2>
        <CheckedIn>true</CheckedIn>
        <ContactTel>sample string 6</ContactTel>
        <CustomerID>2</CustomerID>
        <EmailAddress>sample string 7</EmailAddress>
        <ID>1</ID>
        <IsDeleted>true</IsDeleted>
        <Latitude>sample string 12</Latitude>
        <Longitude>sample string 13</Longitude>
        <Name>sample string 4</Name>
        <PostalCode>sample string 5</PostalCode>
        <Province>sample string 11</Province>
        <RegionID>3</RegionID>
        <RegionName>sample string 15</RegionName>
        <Suburb>sample string 10</Suburb>
      </CustomerVenueDTO>
    </VenueList>
  </CustomerUserVenueDTO>
  <CustomerUserVenueDTO>
    <CustomerUser>
      <CustomerID>2</CustomerID>
      <ID>1</ID>
      <Name>sample string 3</Name>
      <Password>sample string 5</Password>
      <Username>sample string 4</Username>
    </CustomerUser>
    <ID>1</ID>
    <VenueList>
      <CustomerVenueDTO>
        <AddressLine1>sample string 8</AddressLine1>
        <AddressLine2>sample string 9</AddressLine2>
        <CheckedIn>true</CheckedIn>
        <ContactTel>sample string 6</ContactTel>
        <CustomerID>2</CustomerID>
        <EmailAddress>sample string 7</EmailAddress>
        <ID>1</ID>
        <IsDeleted>true</IsDeleted>
        <Latitude>sample string 12</Latitude>
        <Longitude>sample string 13</Longitude>
        <Name>sample string 4</Name>
        <PostalCode>sample string 5</PostalCode>
        <Province>sample string 11</Province>
        <RegionID>3</RegionID>
        <RegionName>sample string 15</RegionName>
        <Suburb>sample string 10</Suburb>
      </CustomerVenueDTO>
      <CustomerVenueDTO>
        <AddressLine1>sample string 8</AddressLine1>
        <AddressLine2>sample string 9</AddressLine2>
        <CheckedIn>true</CheckedIn>
        <ContactTel>sample string 6</ContactTel>
        <CustomerID>2</CustomerID>
        <EmailAddress>sample string 7</EmailAddress>
        <ID>1</ID>
        <IsDeleted>true</IsDeleted>
        <Latitude>sample string 12</Latitude>
        <Longitude>sample string 13</Longitude>
        <Name>sample string 4</Name>
        <PostalCode>sample string 5</PostalCode>
        <Province>sample string 11</Province>
        <RegionID>3</RegionID>
        <RegionName>sample string 15</RegionName>
        <Suburb>sample string 10</Suburb>
      </CustomerVenueDTO>
    </VenueList>
  </CustomerUserVenueDTO>
</ArrayOfCustomerUserVenueDTO>