POST api/customer/createCustomerbyWeb

Request Information

URI Parameters

None.

Body Parameters

CreateCustomerByRecordDto
NameDescriptionTypeAdditional information
Id

integer

None.

FullName

string

None.

IDNumber

string

None.

DateOfBirth

date

None.

Gender

string

None.

Address

string

None.

DateOfIssue

date

None.

PlaceOfIssue

string

None.

ExpirationDate

date

None.

AccountNumber

string

None.

Bank

string

None.

Quantity

integer

None.

Note

string

None.

AuctionSessionId

globally unique identifier

None.

SessionName

string

None.

CreateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "FullName": "sample string 2",
  "IDNumber": "sample string 3",
  "DateOfBirth": "2026-01-26T19:08:06.0904228+07:00",
  "Gender": "sample string 4",
  "Address": "sample string 5",
  "DateOfIssue": "2026-01-26T19:08:06.0904228+07:00",
  "PlaceOfIssue": "sample string 6",
  "ExpirationDate": "2026-01-26T19:08:06.0904228+07:00",
  "AccountNumber": "sample string 7",
  "Bank": "sample string 8",
  "Quantity": 1,
  "Note": "sample string 9",
  "AuctionSessionId": "be616a96-605c-4c21-985c-e964d04ed64c",
  "SessionName": "sample string 11",
  "CreateDate": "2026-01-26T19:08:06.0904228+07:00"
}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.