GET api/admin/products

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of AdminProductModel
NameDescriptionTypeAdditional information
id

decimal number

None.

name

string

None.

requireMlsSetup

boolean

None.

product_name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1.1,
    "name": "sample string 2",
    "requireMlsSetup": true,
    "product_name": "sample string 4"
  },
  {
    "id": 1.1,
    "name": "sample string 2",
    "requireMlsSetup": true,
    "product_name": "sample string 4"
  }
]

text/html

Sample:
[{"id":1.1,"name":"sample string 2","requireMlsSetup":true,"product_name":"sample string 4"},{"id":1.1,"name":"sample string 2","requireMlsSetup":true,"product_name":"sample string 4"}]

application/xml, text/xml

Sample:
<ArrayOfAdminProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services">
  <AdminProductModel>
    <FriendlyName>sample string 2</FriendlyName>
    <Id>1.1</Id>
    <ProductName>sample string 4</ProductName>
    <RequiresMlsSetup>true</RequiresMlsSetup>
  </AdminProductModel>
  <AdminProductModel>
    <FriendlyName>sample string 2</FriendlyName>
    <Id>1.1</Id>
    <ProductName>sample string 4</ProductName>
    <RequiresMlsSetup>true</RequiresMlsSetup>
  </AdminProductModel>
</ArrayOfAdminProductModel>