POST api/me/gifts/{giftId}/certificate

This method will generate gift certificate document so that client can download

Requires Authorization!

Request Information

URI Parameters

NameDescriptionTypeAdditional information
giftId

Gift certificate record id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Instance of

GiftCertificateResponseModel
NameDescriptionTypeAdditional information
Id

integer

None.

CertificateCode

string

None.

CreatedDate

date

None.

ClientName

string

None.

CustomMessage

string

None.

PropertyPin

string

None.

IsPurchase

boolean

None.

IsForeclosureShortsale

boolean

None.

PurchaseDate

date

None.

DiscountCode

string

None.

DeletedDate

date

None.

UserPropertyAppealId

integer

None.

OrderId

integer

None.

OrderNumber

string

None.

AppealNumber

string

None.

PropertyAddressId

integer

None.

PropertyFullAddress

string

None.

Url

string

None.

PurchasePrice

decimal number

None.

MonetaryValue

decimal number

None.

NumYears

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "certificateCode": "sample string 2",
  "createdDate": "2025-05-20T17:36:53.1745305-05:00",
  "clientName": "sample string 4",
  "customMessage": "sample string 5",
  "propertyPin": "sample string 6",
  "isPurchase": true,
  "isForeclosureShortsale": true,
  "purchaseDate": "2025-05-20T17:36:53.1745305-05:00",
  "discountCode": "sample string 9",
  "deletedDate": "2025-05-20T17:36:53.1745305-05:00",
  "userPropertyAppealId": 1,
  "orderId": 10,
  "orderNumber": "sample string 11",
  "appealNumber": "sample string 12",
  "propertyAddressId": 13,
  "propertyFullAddress": "sample string 14",
  "url": "sample string 15",
  "purchasePrice": 1.0,
  "monetaryValue": 16.0,
  "numYears": 17
}

text/html

Sample:
{"id":1,"certificateCode":"sample string 2","createdDate":"2025-05-20T17:36:53.1745305-05:00","clientName":"sample string 4","customMessage":"sample string 5","propertyPin":"sample string 6","isPurchase":true,"isForeclosureShortsale":true,"purchaseDate":"2025-05-20T17:36:53.1745305-05:00","discountCode":"sample string 9","deletedDate":"2025-05-20T17:36:53.1745305-05:00","userPropertyAppealId":1,"orderId":10,"orderNumber":"sample string 11","appealNumber":"sample string 12","propertyAddressId":13,"propertyFullAddress":"sample string 14","url":"sample string 15","purchasePrice":1.0,"monetaryValue":16.0,"numYears":17}

application/xml, text/xml

Sample:
<GiftCertificateResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.Gifting">
  <AppealNumber>sample string 12</AppealNumber>
  <CertificateCode>sample string 2</CertificateCode>
  <ClientName>sample string 4</ClientName>
  <CreatedDate>2025-05-20T17:36:53.1745305-05:00</CreatedDate>
  <CustomMessage>sample string 5</CustomMessage>
  <DeletedDate>2025-05-20T17:36:53.1745305-05:00</DeletedDate>
  <DiscountCode>sample string 9</DiscountCode>
  <Id>1</Id>
  <IsForeclosureShortsale>true</IsForeclosureShortsale>
  <IsPurchase>true</IsPurchase>
  <MonetaryValue>16</MonetaryValue>
  <NumYears>17</NumYears>
  <OrderId>10</OrderId>
  <OrderNumber>sample string 11</OrderNumber>
  <PropertyAddressId>13</PropertyAddressId>
  <PropertyFullAddress>sample string 14</PropertyFullAddress>
  <PropertyPin>sample string 6</PropertyPin>
  <PurchaseDate>2025-05-20T17:36:53.1745305-05:00</PurchaseDate>
  <PurchasePrice>1</PurchasePrice>
  <Url>sample string 15</Url>
  <UserPropertyAppealId>1</UserPropertyAppealId>
</GiftCertificateResponseModel>