GET api/CUSTOMER?MB_SURNME={MB_SURNME}

Get data CUSTOMER by like Surname (top 5)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
MB_SURNME

นามสกุล ลูกค้า

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Get_Customer
NameDescriptionTypeAdditional information
MB_KEY

string

None.

MB_INTL

string

None.

MB_NAME

string

None.

MB_SURNME

string

None.

MB_E_NAME

string

None.

MB_SEX

string

None.

MB_BIRTH

string

None.

MB_ADDR_1

string

None.

MB_ADDR_2

string

None.

MB_ADDR_3

string

None.

MB_POST

string

None.

MB_PHONE

string

None.

MB_EMAIL

string

None.

MB_I_CARD

string

None.

MB_I_EXPIRE

string

None.

MB_OCCUPATION

string

None.

MB_YR_INCOME

string

None.

MB_MARITAL

string

None.

MB_SINCE

string

None.

MB_SH_DATE

string

None.

MB_CARD

string

None.

MB_POINT

string

None.

MB_POINT_LASTDATE

string

None.

MB_ENABLED

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "mB_KEY": "sample string 1",
    "mB_INTL": "sample string 2",
    "mB_NAME": "sample string 3",
    "mB_SURNME": "sample string 4",
    "mB_E_NAME": "sample string 5",
    "mB_SEX": "sample string 6",
    "mB_BIRTH": "sample string 7",
    "mB_ADDR_1": "sample string 8",
    "mB_ADDR_2": "sample string 9",
    "mB_ADDR_3": "sample string 10",
    "mB_POST": "sample string 11",
    "mB_PHONE": "sample string 12",
    "mB_EMAIL": "sample string 13",
    "mB_I_CARD": "sample string 14",
    "mB_I_EXPIRE": "sample string 15",
    "mB_OCCUPATION": "sample string 16",
    "mB_YR_INCOME": "sample string 17",
    "mB_MARITAL": "sample string 18",
    "mB_SINCE": "sample string 19",
    "mB_SH_DATE": "sample string 20",
    "mB_CARD": "sample string 21",
    "mB_POINT": "sample string 22",
    "mB_POINT_LASTDATE": "sample string 23",
    "mB_ENABLED": "sample string 24"
  },
  {
    "mB_KEY": "sample string 1",
    "mB_INTL": "sample string 2",
    "mB_NAME": "sample string 3",
    "mB_SURNME": "sample string 4",
    "mB_E_NAME": "sample string 5",
    "mB_SEX": "sample string 6",
    "mB_BIRTH": "sample string 7",
    "mB_ADDR_1": "sample string 8",
    "mB_ADDR_2": "sample string 9",
    "mB_ADDR_3": "sample string 10",
    "mB_POST": "sample string 11",
    "mB_PHONE": "sample string 12",
    "mB_EMAIL": "sample string 13",
    "mB_I_CARD": "sample string 14",
    "mB_I_EXPIRE": "sample string 15",
    "mB_OCCUPATION": "sample string 16",
    "mB_YR_INCOME": "sample string 17",
    "mB_MARITAL": "sample string 18",
    "mB_SINCE": "sample string 19",
    "mB_SH_DATE": "sample string 20",
    "mB_CARD": "sample string 21",
    "mB_POINT": "sample string 22",
    "mB_POINT_LASTDATE": "sample string 23",
    "mB_ENABLED": "sample string 24"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGet_Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webAPI1.Models">
  <Get_Customer>
    <MB_ADDR_1>sample string 8</MB_ADDR_1>
    <MB_ADDR_2>sample string 9</MB_ADDR_2>
    <MB_ADDR_3>sample string 10</MB_ADDR_3>
    <MB_BIRTH>sample string 7</MB_BIRTH>
    <MB_CARD>sample string 21</MB_CARD>
    <MB_EMAIL>sample string 13</MB_EMAIL>
    <MB_ENABLED>sample string 24</MB_ENABLED>
    <MB_E_NAME>sample string 5</MB_E_NAME>
    <MB_INTL>sample string 2</MB_INTL>
    <MB_I_CARD>sample string 14</MB_I_CARD>
    <MB_I_EXPIRE>sample string 15</MB_I_EXPIRE>
    <MB_KEY>sample string 1</MB_KEY>
    <MB_MARITAL>sample string 18</MB_MARITAL>
    <MB_NAME>sample string 3</MB_NAME>
    <MB_OCCUPATION>sample string 16</MB_OCCUPATION>
    <MB_PHONE>sample string 12</MB_PHONE>
    <MB_POINT>sample string 22</MB_POINT>
    <MB_POINT_LASTDATE>sample string 23</MB_POINT_LASTDATE>
    <MB_POST>sample string 11</MB_POST>
    <MB_SEX>sample string 6</MB_SEX>
    <MB_SH_DATE>sample string 20</MB_SH_DATE>
    <MB_SINCE>sample string 19</MB_SINCE>
    <MB_SURNME>sample string 4</MB_SURNME>
    <MB_YR_INCOME>sample string 17</MB_YR_INCOME>
  </Get_Customer>
  <Get_Customer>
    <MB_ADDR_1>sample string 8</MB_ADDR_1>
    <MB_ADDR_2>sample string 9</MB_ADDR_2>
    <MB_ADDR_3>sample string 10</MB_ADDR_3>
    <MB_BIRTH>sample string 7</MB_BIRTH>
    <MB_CARD>sample string 21</MB_CARD>
    <MB_EMAIL>sample string 13</MB_EMAIL>
    <MB_ENABLED>sample string 24</MB_ENABLED>
    <MB_E_NAME>sample string 5</MB_E_NAME>
    <MB_INTL>sample string 2</MB_INTL>
    <MB_I_CARD>sample string 14</MB_I_CARD>
    <MB_I_EXPIRE>sample string 15</MB_I_EXPIRE>
    <MB_KEY>sample string 1</MB_KEY>
    <MB_MARITAL>sample string 18</MB_MARITAL>
    <MB_NAME>sample string 3</MB_NAME>
    <MB_OCCUPATION>sample string 16</MB_OCCUPATION>
    <MB_PHONE>sample string 12</MB_PHONE>
    <MB_POINT>sample string 22</MB_POINT>
    <MB_POINT_LASTDATE>sample string 23</MB_POINT_LASTDATE>
    <MB_POST>sample string 11</MB_POST>
    <MB_SEX>sample string 6</MB_SEX>
    <MB_SH_DATE>sample string 20</MB_SH_DATE>
    <MB_SINCE>sample string 19</MB_SINCE>
    <MB_SURNME>sample string 4</MB_SURNME>
    <MB_YR_INCOME>sample string 17</MB_YR_INCOME>
  </Get_Customer>
</ArrayOfGet_Customer>