POST api/customer/create

Request Information

URI Parameters

None.

Body Parameters

Customer
NameDescriptionTypeAdditional information
CustomerId

integer

None.

UserId

integer

None.

CustomerName

string

None.

CompanyName

string

None.

Email

string

None.

Phone

string

None.

Address

string

None.

GSTNumber

string

None.

CreatedAt

date

None.

UpdatedAt

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "UserId": 2,
  "CustomerName": "sample string 3",
  "CompanyName": "sample string 4",
  "Email": "sample string 5",
  "Phone": "sample string 6",
  "Address": "sample string 7",
  "GSTNumber": "sample string 8",
  "CreatedAt": "2026-04-17T20:37:13.2930744+05:30",
  "UpdatedAt": "2026-04-17T20:37:13.2930744+05:30"
}

application/xml, text/xml

Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Quotation.Bo">
  <Address>sample string 7</Address>
  <CompanyName>sample string 4</CompanyName>
  <CreatedAt>2026-04-17T20:37:13.2930744+05:30</CreatedAt>
  <CustomerId>1</CustomerId>
  <CustomerName>sample string 3</CustomerName>
  <Email>sample string 5</Email>
  <GSTNumber>sample string 8</GSTNumber>
  <Phone>sample string 6</Phone>
  <UpdatedAt>2026-04-17T20:37:13.2930744+05:30</UpdatedAt>
  <UserId>2</UserId>
</Customer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.