POST api/Hold/AddBuyer

Request Information

URI Parameters

None.

Body Parameters

Buyer
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

OpportunityId

globally unique identifier

None.

FirstName

string

None.

LastName

string

None.

HomeNumber

string

None.

MobileNumber

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

City

string

None.

Province

string

None.

Postal

string

None.

Email

string

None.

CreatedDate

date

None.

IDNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "7f8a6d77-f998-4449-9e16-17502cd41a19",
  "OpportunityId": "61272799-abf8-49b9-a93e-9efa1abc5487",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "HomeNumber": "sample string 5",
  "MobileNumber": "sample string 6",
  "AddressLine1": "sample string 7",
  "AddressLine2": "sample string 8",
  "City": "sample string 9",
  "Province": "sample string 10",
  "Postal": "sample string 11",
  "Email": "sample string 12",
  "CreatedDate": "2024-12-11T03:23:58.7323147+00:00",
  "IDNumber": "sample string 14"
}

text/html

Sample:
{"Id":"7f8a6d77-f998-4449-9e16-17502cd41a19","OpportunityId":"61272799-abf8-49b9-a93e-9efa1abc5487","FirstName":"sample string 3","LastName":"sample string 4","HomeNumber":"sample string 5","MobileNumber":"sample string 6","AddressLine1":"sample string 7","AddressLine2":"sample string 8","City":"sample string 9","Province":"sample string 10","Postal":"sample string 11","Email":"sample string 12","CreatedDate":"2024-12-11T03:23:58.7323147+00:00","IDNumber":"sample string 14"}

application/xml, text/xml

Sample:
<Buyer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BRH.Services.Models">
  <AddressLine1>sample string 7</AddressLine1>
  <AddressLine2>sample string 8</AddressLine2>
  <City>sample string 9</City>
  <CreatedDate>2024-12-11T03:23:58.7323147+00:00</CreatedDate>
  <Email>sample string 12</Email>
  <FirstName>sample string 3</FirstName>
  <HomeNumber>sample string 5</HomeNumber>
  <IDNumber>sample string 14</IDNumber>
  <Id>7f8a6d77-f998-4449-9e16-17502cd41a19</Id>
  <LastName>sample string 4</LastName>
  <MobileNumber>sample string 6</MobileNumber>
  <OpportunityId>61272799-abf8-49b9-a93e-9efa1abc5487</OpportunityId>
  <Postal>sample string 11</Postal>
  <Province>sample string 10</Province>
</Buyer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JsonResultOfString
NameDescriptionTypeAdditional information
Content

string

None.

SerializerSettings

JsonSerializerSettings

None.

Encoding

Encoding

None.

Request

HttpRequestMessage

None.

Response Formats

application/json, text/json, text/html

Sample:

Sample not available.