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": "86fea25e-c5f1-4939-a75b-f96951e9c8c3",
"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>86fea25e-c5f1-4939-a75b-f96951e9c8c3</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": "d2a1bb3c-e745-400d-a032-e2eb84d5bac2",
"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>d2a1bb3c-e745-400d-a032-e2eb84d5bac2</PropertyId> </PurchasePropertyViewModel>