POST api/bir/forms/vendors

Request Information

URI Parameters

None.

Body Parameters

VendorRegistrationDTO
NameDescriptionTypeAdditional information
customerid

integer

None.

email

string

None.

password

string

None.

firstname

string

None.

middlename

string

None.

lastname

string

None.

birthdate

date

None.

city

string

None.

address

string

None.

contactnumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "customerid": 1,
  "email": "sample string 2",
  "password": "sample string 3",
  "firstname": "sample string 4",
  "middlename": "sample string 5",
  "lastname": "sample string 6",
  "birthdate": "2025-12-06T12:41:32.7131111+08:00",
  "city": "sample string 7",
  "address": "sample string 8",
  "contactnumber": "sample string 9"
}

application/xml, text/xml

Sample:
<VendorRegistrationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
  <address>sample string 8</address>
  <birthdate>2025-12-06T12:41:32.7131111+08:00</birthdate>
  <city>sample string 7</city>
  <contactnumber>sample string 9</contactnumber>
  <customerid>1</customerid>
  <email>sample string 2</email>
  <firstname>sample string 4</firstname>
  <lastname>sample string 6</lastname>
  <middlename>sample string 5</middlename>
  <password>sample string 3</password>
</VendorRegistrationDTO>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.