POST api/IC_USERS/SaveCustomer

Request Information

URI Parameters

None.

Body Parameters

ModelCustomers2
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:
<ModelCustomers2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgdamSud.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>
</ModelCustomers2>

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

Response Information

Resource Description

None.