POST api/customer/insert

Request Information

URI Parameters

None.

Body Parameters

tbl_Customer
NameDescriptionTypeAdditional information
id

integer

None.

Email

string

None.

Password

string

None.

CompanyName

string

None.

Phone

string

None.

CustomerNumber

string

None.

CustomerName

string

None.

DateCreated

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "Email": "sample string 2",
  "Password": "sample string 3",
  "CompanyName": "sample string 4",
  "Phone": "sample string 5",
  "CustomerNumber": "sample string 6",
  "CustomerName": "sample string 7",
  "DateCreated": "2024-05-15T09:39:16.3010012+00:00"
}

application/xml, text/xml

Sample:
<tbl_Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <CompanyName>sample string 4</CompanyName>
  <CustomerName>sample string 7</CustomerName>
  <CustomerNumber>sample string 6</CustomerNumber>
  <DateCreated>2024-05-15T09:39:16.3010012+00:00</DateCreated>
  <Email>sample string 2</Email>
  <Password>sample string 3</Password>
  <Phone>sample string 5</Phone>
  <id>1</id>
</tbl_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 'tbl_Customer'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.