GET api/Values

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Collection of Object

Response Formats

application/json, text/json

Sample:
[
  null,
  []
]

application/xml, text/xml

Sample:
<ArrayOfDiscountOffers_DataSet.DiscountOffersDataTable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication_POS">
  <DiscountOffers_DataSet.DiscountOffersDataTable i:nil="true" />
  <DiscountOffers_DataSet.DiscountOffersDataTable>
    <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
      <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="DiscountOffers" msdata:CaseSensitive="true" msdata:UseCurrentLocale="true">
        <xs:complexType>
          <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="DiscountOffers" msdata:CaseSensitive="True">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ID">
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="50" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="MerchantID" minOccurs="0">
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="50" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="Description" minOccurs="0">
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="2147483647" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="DiscountPercentage" type="xs:decimal" minOccurs="0" />
                  <xs:element name="PeriodInDays" type="xs:int" minOccurs="0" />
                  <xs:element name="InsertTime" type="xs:dateTime" minOccurs="0" />
                  <xs:element name="Notes" minOccurs="0">
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="2147483647" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="Points" type="xs:decimal" minOccurs="0" />
                  <xs:element name="IsActive" type="xs:boolean" minOccurs="0" />
                  <xs:element name="Title" minOccurs="0">
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:maxLength value="500" />
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                  <xs:element name="PublishedTime" type="xs:dateTime" minOccurs="0" />
                  <xs:element name="PublishedUserID" type="xs:int" minOccurs="0" />
                  <xs:element name="Freez" type="xs:boolean" minOccurs="0" />
                  <xs:element name="FreezedTime" type="xs:dateTime" minOccurs="0" />
                  <xs:element name="FreezedUserID" type="xs:int" minOccurs="0" />
                  <xs:element name="DiscountCollection" type="xs:boolean" minOccurs="0" />
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:choice>
        </xs:complexType>
        <xs:unique name="Constraint1" msdata:PrimaryKey="true">
          <xs:selector xpath=".//DiscountOffers" />
          <xs:field xpath="ID" />
        </xs:unique>
      </xs:element>
    </xs:schema>
    <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" />
  </DiscountOffers_DataSet.DiscountOffersDataTable>
</ArrayOfDiscountOffers_DataSet.DiscountOffersDataTable>