POST api/v1/Supplier/List

Request Information

URI Parameters

None.

Body Parameters

SupplierParamModel
NameDescriptionTypeAdditional information
Disable

boolean

None.

IsCustomerCreatedToday

boolean

None.

IsGetAllCustomer

boolean

None.

SupplierType

string

None.

Page

integer

None.

PageSize

integer

None.

UI_TextSearch

string

None.

IsGetCustomerNoName

boolean

None.

Barcode

string

None.

SupplierPhone

string

None.

FromDate

decimal number

None.

ToDate

decimal number

None.

FilterQuery

Dictionary of string [key] and Object [value]

None.

ScreenGUID

string

None.

DocumentWidth

integer

None.

Url

string

None.

OptionConfigsMore

Dictionary of string [key] and Object [value]

None.

QuerySearch

Dictionary of string [key] and Object [value]

None.

IsTestCase

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Disable": true,
  "IsCustomerCreatedToday": true,
  "IsGetAllCustomer": true,
  "SupplierType": "sample string 3",
  "Page": 4,
  "PageSize": 5,
  "UI_TextSearch": "sample string 6",
  "IsGetCustomerNoName": true,
  "Barcode": "sample string 7",
  "SupplierPhone": "sample string 8",
  "FromDate": 1.1,
  "ToDate": 1.1,
  "FilterQuery": null,
  "ScreenGUID": "sample string 9",
  "DocumentWidth": 10,
  "Url": "sample string 11",
  "OptionConfigsMore": null,
  "QuerySearch": null,
  "IsTestCase": true
}

application/xml, text/xml

Sample:
<SupplierParamModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <DocumentWidth xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">10</DocumentWidth>
  <FilterQuery xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models" />
  <IsTestCase xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsTestCase>
  <OptionConfigsMore xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models" />
  <QuerySearch xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models" />
  <ScreenGUID xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 9</ScreenGUID>
  <Url xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 11</Url>
  <Barcode>sample string 7</Barcode>
  <Disable>true</Disable>
  <FromDate>1.1</FromDate>
  <IsCustomerCreatedToday>true</IsCustomerCreatedToday>
  <IsGetAllCustomer>true</IsGetAllCustomer>
  <IsGetCustomerNoName>true</IsGetCustomerNoName>
  <Page>4</Page>
  <PageSize>5</PageSize>
  <SupplierPhone>sample string 8</SupplierPhone>
  <SupplierType>sample string 3</SupplierType>
  <ToDate>1.1</ToDate>
  <UI_TextSearch>sample string 6</UI_TextSearch>
</SupplierParamModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SupplierParamModel'.

Response Information

Resource Description

EzyResultObjectOfEzyDataSourceResultOfSupplierModel
NameDescriptionTypeAdditional information
Data

EzyDataSourceResultOfSupplierModel

None.

ExtraData

Dictionary of string [key] and Object [value]

None.

StartTime

decimal number

None.

EndTime

decimal number

None.

TotalMili

decimal number

None.

StatusCode

integer

None.

Msg

string

None.

MsgShowInUI

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Data": [
      {
        "Id": "sample string 1",
        "SupplierCode": "sample string 2",
        "SupplierName": "sample string 3",
        "SupplierShortName": "sample string 4",
        "TaxCode": "sample string 5",
        "IdentityCard": "sample string 6",
        "DateOfBirth": 1.1,
        "SupplierEmployerName": "sample string 7",
        "SupplierEmployerPhone": "sample string 8",
        "SupplierEmployerIdentify": "sample string 9",
        "Address": "sample string 10",
        "Phone": "sample string 11",
        "Fax": "sample string 12",
        "Email": "sample string 13",
        "Bank": "sample string 14",
        "AccountBank": "sample string 15",
        "DebtNorm": 16.0,
        "Disable": true,
        "SupplierType": "sample string 18",
        "SupplierTypeId": "sample string 19",
        "Note": "sample string 20",
        "btn_ChangeDisable": "sample string 21",
        "IsChecked": true,
        "AccDebit": "sample string 23",
        "IM_Barcode": "sample string 24"
      },
      {
        "Id": "sample string 1",
        "SupplierCode": "sample string 2",
        "SupplierName": "sample string 3",
        "SupplierShortName": "sample string 4",
        "TaxCode": "sample string 5",
        "IdentityCard": "sample string 6",
        "DateOfBirth": 1.1,
        "SupplierEmployerName": "sample string 7",
        "SupplierEmployerPhone": "sample string 8",
        "SupplierEmployerIdentify": "sample string 9",
        "Address": "sample string 10",
        "Phone": "sample string 11",
        "Fax": "sample string 12",
        "Email": "sample string 13",
        "Bank": "sample string 14",
        "AccountBank": "sample string 15",
        "DebtNorm": 16.0,
        "Disable": true,
        "SupplierType": "sample string 18",
        "SupplierTypeId": "sample string 19",
        "Note": "sample string 20",
        "btn_ChangeDisable": "sample string 21",
        "IsChecked": true,
        "AccDebit": "sample string 23",
        "IM_Barcode": "sample string 24"
      }
    ],
    "DataTotal": [
      {
        "Id": "sample string 1",
        "SupplierCode": "sample string 2",
        "SupplierName": "sample string 3",
        "SupplierShortName": "sample string 4",
        "TaxCode": "sample string 5",
        "IdentityCard": "sample string 6",
        "DateOfBirth": 1.1,
        "SupplierEmployerName": "sample string 7",
        "SupplierEmployerPhone": "sample string 8",
        "SupplierEmployerIdentify": "sample string 9",
        "Address": "sample string 10",
        "Phone": "sample string 11",
        "Fax": "sample string 12",
        "Email": "sample string 13",
        "Bank": "sample string 14",
        "AccountBank": "sample string 15",
        "DebtNorm": 16.0,
        "Disable": true,
        "SupplierType": "sample string 18",
        "SupplierTypeId": "sample string 19",
        "Note": "sample string 20",
        "btn_ChangeDisable": "sample string 21",
        "IsChecked": true,
        "AccDebit": "sample string 23",
        "IM_Barcode": "sample string 24"
      },
      {
        "Id": "sample string 1",
        "SupplierCode": "sample string 2",
        "SupplierName": "sample string 3",
        "SupplierShortName": "sample string 4",
        "TaxCode": "sample string 5",
        "IdentityCard": "sample string 6",
        "DateOfBirth": 1.1,
        "SupplierEmployerName": "sample string 7",
        "SupplierEmployerPhone": "sample string 8",
        "SupplierEmployerIdentify": "sample string 9",
        "Address": "sample string 10",
        "Phone": "sample string 11",
        "Fax": "sample string 12",
        "Email": "sample string 13",
        "Bank": "sample string 14",
        "AccountBank": "sample string 15",
        "DebtNorm": 16.0,
        "Disable": true,
        "SupplierType": "sample string 18",
        "SupplierTypeId": "sample string 19",
        "Note": "sample string 20",
        "btn_ChangeDisable": "sample string 21",
        "IsChecked": true,
        "AccDebit": "sample string 23",
        "IM_Barcode": "sample string 24"
      }
    ],
    "ExtraData": {},
    "Errors": {},
    "Total": 2
  },
  "ExtraData": null,
  "StartTime": 1.1,
  "EndTime": 2.1,
  "TotalMili": 3.1,
  "StatusCode": 4,
  "Msg": "sample string 5",
  "MsgShowInUI": "sample string 6"
}

application/xml, text/xml

Sample:
<EzyResultObjectOfEzyDataSourceResultOfSupplierModel3BwjWE5fUXXDg0Sb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
  <Msg>sample string 5</Msg>
  <MsgShowInUI>sample string 6</MsgShowInUI>
  <StatusCode>4</StatusCode>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.UI">
    <d2p1:Errors />
    <d2p1:ExtraData xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
    <d2p1:Total>2</d2p1:Total>
    <d2p1:Data xmlns:d3p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
      <d3p1:SupplierModel>
        <d3p1:AccDebit>sample string 23</d3p1:AccDebit>
        <d3p1:AccountBank>sample string 15</d3p1:AccountBank>
        <d3p1:Address>sample string 10</d3p1:Address>
        <d3p1:Bank>sample string 14</d3p1:Bank>
        <d3p1:DateOfBirth>1.1</d3p1:DateOfBirth>
        <d3p1:DebtNorm>16</d3p1:DebtNorm>
        <d3p1:Disable>true</d3p1:Disable>
        <d3p1:Email>sample string 13</d3p1:Email>
        <d3p1:Fax>sample string 12</d3p1:Fax>
        <d3p1:IM_Barcode>sample string 24</d3p1:IM_Barcode>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IdentityCard>sample string 6</d3p1:IdentityCard>
        <d3p1:IsChecked>true</d3p1:IsChecked>
        <d3p1:Note>sample string 20</d3p1:Note>
        <d3p1:Phone>sample string 11</d3p1:Phone>
        <d3p1:SupplierCode>sample string 2</d3p1:SupplierCode>
        <d3p1:SupplierEmployerIdentify>sample string 9</d3p1:SupplierEmployerIdentify>
        <d3p1:SupplierEmployerName>sample string 7</d3p1:SupplierEmployerName>
        <d3p1:SupplierEmployerPhone>sample string 8</d3p1:SupplierEmployerPhone>
        <d3p1:SupplierName>sample string 3</d3p1:SupplierName>
        <d3p1:SupplierShortName>sample string 4</d3p1:SupplierShortName>
        <d3p1:SupplierType>sample string 18</d3p1:SupplierType>
        <d3p1:SupplierTypeId>sample string 19</d3p1:SupplierTypeId>
        <d3p1:TaxCode>sample string 5</d3p1:TaxCode>
        <d3p1:btn_ChangeDisable>sample string 21</d3p1:btn_ChangeDisable>
      </d3p1:SupplierModel>
      <d3p1:SupplierModel>
        <d3p1:AccDebit>sample string 23</d3p1:AccDebit>
        <d3p1:AccountBank>sample string 15</d3p1:AccountBank>
        <d3p1:Address>sample string 10</d3p1:Address>
        <d3p1:Bank>sample string 14</d3p1:Bank>
        <d3p1:DateOfBirth>1.1</d3p1:DateOfBirth>
        <d3p1:DebtNorm>16</d3p1:DebtNorm>
        <d3p1:Disable>true</d3p1:Disable>
        <d3p1:Email>sample string 13</d3p1:Email>
        <d3p1:Fax>sample string 12</d3p1:Fax>
        <d3p1:IM_Barcode>sample string 24</d3p1:IM_Barcode>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IdentityCard>sample string 6</d3p1:IdentityCard>
        <d3p1:IsChecked>true</d3p1:IsChecked>
        <d3p1:Note>sample string 20</d3p1:Note>
        <d3p1:Phone>sample string 11</d3p1:Phone>
        <d3p1:SupplierCode>sample string 2</d3p1:SupplierCode>
        <d3p1:SupplierEmployerIdentify>sample string 9</d3p1:SupplierEmployerIdentify>
        <d3p1:SupplierEmployerName>sample string 7</d3p1:SupplierEmployerName>
        <d3p1:SupplierEmployerPhone>sample string 8</d3p1:SupplierEmployerPhone>
        <d3p1:SupplierName>sample string 3</d3p1:SupplierName>
        <d3p1:SupplierShortName>sample string 4</d3p1:SupplierShortName>
        <d3p1:SupplierType>sample string 18</d3p1:SupplierType>
        <d3p1:SupplierTypeId>sample string 19</d3p1:SupplierTypeId>
        <d3p1:TaxCode>sample string 5</d3p1:TaxCode>
        <d3p1:btn_ChangeDisable>sample string 21</d3p1:btn_ChangeDisable>
      </d3p1:SupplierModel>
    </d2p1:Data>
    <d2p1:DataTotal xmlns:d3p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
      <d3p1:SupplierModel>
        <d3p1:AccDebit>sample string 23</d3p1:AccDebit>
        <d3p1:AccountBank>sample string 15</d3p1:AccountBank>
        <d3p1:Address>sample string 10</d3p1:Address>
        <d3p1:Bank>sample string 14</d3p1:Bank>
        <d3p1:DateOfBirth>1.1</d3p1:DateOfBirth>
        <d3p1:DebtNorm>16</d3p1:DebtNorm>
        <d3p1:Disable>true</d3p1:Disable>
        <d3p1:Email>sample string 13</d3p1:Email>
        <d3p1:Fax>sample string 12</d3p1:Fax>
        <d3p1:IM_Barcode>sample string 24</d3p1:IM_Barcode>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IdentityCard>sample string 6</d3p1:IdentityCard>
        <d3p1:IsChecked>true</d3p1:IsChecked>
        <d3p1:Note>sample string 20</d3p1:Note>
        <d3p1:Phone>sample string 11</d3p1:Phone>
        <d3p1:SupplierCode>sample string 2</d3p1:SupplierCode>
        <d3p1:SupplierEmployerIdentify>sample string 9</d3p1:SupplierEmployerIdentify>
        <d3p1:SupplierEmployerName>sample string 7</d3p1:SupplierEmployerName>
        <d3p1:SupplierEmployerPhone>sample string 8</d3p1:SupplierEmployerPhone>
        <d3p1:SupplierName>sample string 3</d3p1:SupplierName>
        <d3p1:SupplierShortName>sample string 4</d3p1:SupplierShortName>
        <d3p1:SupplierType>sample string 18</d3p1:SupplierType>
        <d3p1:SupplierTypeId>sample string 19</d3p1:SupplierTypeId>
        <d3p1:TaxCode>sample string 5</d3p1:TaxCode>
        <d3p1:btn_ChangeDisable>sample string 21</d3p1:btn_ChangeDisable>
      </d3p1:SupplierModel>
      <d3p1:SupplierModel>
        <d3p1:AccDebit>sample string 23</d3p1:AccDebit>
        <d3p1:AccountBank>sample string 15</d3p1:AccountBank>
        <d3p1:Address>sample string 10</d3p1:Address>
        <d3p1:Bank>sample string 14</d3p1:Bank>
        <d3p1:DateOfBirth>1.1</d3p1:DateOfBirth>
        <d3p1:DebtNorm>16</d3p1:DebtNorm>
        <d3p1:Disable>true</d3p1:Disable>
        <d3p1:Email>sample string 13</d3p1:Email>
        <d3p1:Fax>sample string 12</d3p1:Fax>
        <d3p1:IM_Barcode>sample string 24</d3p1:IM_Barcode>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IdentityCard>sample string 6</d3p1:IdentityCard>
        <d3p1:IsChecked>true</d3p1:IsChecked>
        <d3p1:Note>sample string 20</d3p1:Note>
        <d3p1:Phone>sample string 11</d3p1:Phone>
        <d3p1:SupplierCode>sample string 2</d3p1:SupplierCode>
        <d3p1:SupplierEmployerIdentify>sample string 9</d3p1:SupplierEmployerIdentify>
        <d3p1:SupplierEmployerName>sample string 7</d3p1:SupplierEmployerName>
        <d3p1:SupplierEmployerPhone>sample string 8</d3p1:SupplierEmployerPhone>
        <d3p1:SupplierName>sample string 3</d3p1:SupplierName>
        <d3p1:SupplierShortName>sample string 4</d3p1:SupplierShortName>
        <d3p1:SupplierType>sample string 18</d3p1:SupplierType>
        <d3p1:SupplierTypeId>sample string 19</d3p1:SupplierTypeId>
        <d3p1:TaxCode>sample string 5</d3p1:TaxCode>
        <d3p1:btn_ChangeDisable>sample string 21</d3p1:btn_ChangeDisable>
      </d3p1:SupplierModel>
    </d2p1:DataTotal>
  </Data>
  <EndTime>2.1</EndTime>
  <ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <StartTime>1.1</StartTime>
  <TotalMili>3.1</TotalMili>
</EzyResultObjectOfEzyDataSourceResultOfSupplierModel3BwjWE5fUXXDg0Sb>