POST api/IC_CUSTOMERS/PostIC_CUSTOMERS

Request Information

URI Parameters

None.

Body Parameters

IC_CUSTOMERS
NameDescriptionTypeAdditional information
CUSTOMER_ID

integer

None.

CUSTOMER_NAME

string

None.

CUSTOMER_PHONE

string

None.

IS_BUYER

integer

None.

MANAGER

integer

None.

TOOL_NOTE

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CUSTOMER_ID": 1,
  "CUSTOMER_NAME": "sample string 2",
  "CUSTOMER_PHONE": "sample string 3",
  "IS_BUYER": 1,
  "MANAGER": 1,
  "TOOL_NOTE": "sample string 4"
}

application/xml, text/xml

Sample:
<IC_CUSTOMERS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgdamDondurma.Models">
  <CUSTOMER_ID>1</CUSTOMER_ID>
  <CUSTOMER_NAME>sample string 2</CUSTOMER_NAME>
  <CUSTOMER_PHONE>sample string 3</CUSTOMER_PHONE>
  <IS_BUYER>1</IS_BUYER>
  <MANAGER>1</MANAGER>
  <TOOL_NOTE>sample string 4</TOOL_NOTE>
</IC_CUSTOMERS>

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

Response Information

Resource Description

IC_CUSTOMERS
NameDescriptionTypeAdditional information
CUSTOMER_ID

integer

None.

CUSTOMER_NAME

string

None.

CUSTOMER_PHONE

string

None.

IS_BUYER

integer

None.

MANAGER

integer

None.

TOOL_NOTE

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CUSTOMER_ID": 1,
  "CUSTOMER_NAME": "sample string 2",
  "CUSTOMER_PHONE": "sample string 3",
  "IS_BUYER": 1,
  "MANAGER": 1,
  "TOOL_NOTE": "sample string 4"
}

application/xml, text/xml

Sample:
<IC_CUSTOMERS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgdamDondurma.Models">
  <CUSTOMER_ID>1</CUSTOMER_ID>
  <CUSTOMER_NAME>sample string 2</CUSTOMER_NAME>
  <CUSTOMER_PHONE>sample string 3</CUSTOMER_PHONE>
  <IS_BUYER>1</IS_BUYER>
  <MANAGER>1</MANAGER>
  <TOOL_NOTE>sample string 4</TOOL_NOTE>
</IC_CUSTOMERS>