POST api/Buyer/CreateBuyer

Request Information

URI Parameters

None.

Body Parameters

BuyerMasterBindingModel
NameDescriptionTypeAdditional information
BuyerMasterId

integer

None.

BuyerName

string

None.

BuyerAddress

string

None.

BuyerEmail

string

None.

BuyerContactNo

string

None.

CreatedBy

integer

None.

CreationDate

date

None.

UpdatedBy

integer

None.

UpdationDate

date

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "BuyerMasterId": 1,
  "BuyerName": "sample string 2",
  "BuyerAddress": "sample string 3",
  "BuyerEmail": "sample string 4",
  "BuyerContactNo": "sample string 5",
  "CreatedBy": 1,
  "CreationDate": "2026-02-07T17:53:13.8641954+05:30",
  "UpdatedBy": 1,
  "UpdationDate": "2026-02-07T17:53:13.8641954+05:30",
  "IsActive": true
}

application/xml, text/xml

Sample:
<BuyerMasterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/labman_api.Models">
  <BuyerAddress>sample string 3</BuyerAddress>
  <BuyerContactNo>sample string 5</BuyerContactNo>
  <BuyerEmail>sample string 4</BuyerEmail>
  <BuyerMasterId>1</BuyerMasterId>
  <BuyerName>sample string 2</BuyerName>
  <CreatedBy>1</CreatedBy>
  <CreationDate>2026-02-07T17:53:13.8641954+05:30</CreationDate>
  <IsActive>true</IsActive>
  <UpdatedBy>1</UpdatedBy>
  <UpdationDate>2026-02-07T17:53:13.8641954+05:30</UpdationDate>
</BuyerMasterBindingModel>

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.