POST api/ApiMerchantPayment/PurchaseProperty
Request Information
URI Parameters
None.
Body Parameters
PurchasePropertyViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PropertyId | globally unique identifier |
None. |
|
| PaymentMethodId | string |
None. |
|
| NumberOfShares | integer |
None. |
|
| CustomerId | string |
None. |
|
| PaymentType | string |
None. |
|
| ReferenceNumber | string |
None. |
|
| IsOperationSuccessful | boolean |
None. |
|
| Message | string |
None. |
|
| SetFrom | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PropertyId": "fe0c8f83-1254-42af-9a1a-e71ebe9064db",
"PaymentMethodId": "sample string 2",
"NumberOfShares": 3,
"CustomerId": "sample string 4",
"PaymentType": "sample string 5",
"ReferenceNumber": "sample string 6",
"IsOperationSuccessful": true,
"Message": "sample string 8",
"SetFrom": "sample string 9"
}
application/xml, text/xml
Sample:
<PurchasePropertyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TradeEstate.BLL.ViewModels"> <IsOperationSuccessful>true</IsOperationSuccessful> <Message>sample string 8</Message> <SetFrom>sample string 9</SetFrom> <CustomerId>sample string 4</CustomerId> <NumberOfShares>3</NumberOfShares> <PaymentMethodId>sample string 2</PaymentMethodId> <PaymentType>sample string 5</PaymentType> <PropertyId>fe0c8f83-1254-42af-9a1a-e71ebe9064db</PropertyId> </PurchasePropertyViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PurchasePropertyViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PropertyId | globally unique identifier |
None. |
|
| PaymentMethodId | string |
None. |
|
| NumberOfShares | integer |
None. |
|
| CustomerId | string |
None. |
|
| PaymentType | string |
None. |
|
| ReferenceNumber | string |
None. |
|
| IsOperationSuccessful | boolean |
None. |
|
| Message | string |
None. |
|
| SetFrom | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"PropertyId": "85f3ae1b-6504-460b-82d6-0279ef9b6557",
"PaymentMethodId": "sample string 2",
"NumberOfShares": 3,
"CustomerId": "sample string 4",
"PaymentType": "sample string 5",
"ReferenceNumber": "sample string 6",
"IsOperationSuccessful": true,
"Message": "sample string 8",
"SetFrom": "sample string 9"
}
application/xml, text/xml
Sample:
<PurchasePropertyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TradeEstate.BLL.ViewModels"> <IsOperationSuccessful>true</IsOperationSuccessful> <Message>sample string 8</Message> <SetFrom>sample string 9</SetFrom> <CustomerId>sample string 4</CustomerId> <NumberOfShares>3</NumberOfShares> <PaymentMethodId>sample string 2</PaymentMethodId> <PaymentType>sample string 5</PaymentType> <PropertyId>85f3ae1b-6504-460b-82d6-0279ef9b6557</PropertyId> </PurchasePropertyViewModel>