PUT api/Cust

Request Information

URI Parameters

None.

Body Parameters

Customer
NameDescriptionTypeAdditional information
vMethod

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_KEY

string

None.

MB_ENABLED

string

None.

Request Formats

application/json, text/json

Sample:
{
  "vMethod": "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_KEY": "sample string 19",
  "mB_ENABLED": "sample string 20"
}

application/xml, text/xml

Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webAPI1.Models">
  <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_EMAIL>sample string 13</MB_EMAIL>
  <MB_ENABLED>sample string 20</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 19</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_POST>sample string 11</MB_POST>
  <MB_SEX>sample string 6</MB_SEX>
  <MB_SURNME>sample string 4</MB_SURNME>
  <MB_YR_INCOME>sample string 17</MB_YR_INCOME>
  <vMethod>sample string 1</vMethod>
</Customer>

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 'Customer'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.