POST api/UpdateOwnerSubscription
Request Information
URI Parameters
None.
Body Parameters
OwnerSubscriptionSaveVm| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Deposit | decimal number |
None. |
|
| ContractPeriod | string |
None. |
|
| IsTDS | boolean |
None. |
|
| TdsPercentage | decimal number |
None. |
|
| Terms | string |
None. |
|
| InventoryId | integer |
None. |
|
| LockInPeriod | integer |
None. |
|
| Remark | string |
None. |
|
| OwnerSubscriptionPeriods | Collection of OwnerSubscriptionPeriodVm |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Deposit": 1.1,
"ContractPeriod": "sample string 2",
"IsTDS": true,
"TdsPercentage": 4.1,
"Terms": "sample string 5",
"InventoryId": 6,
"LockInPeriod": 7,
"Remark": "sample string 8",
"OwnerSubscriptionPeriods": [
{
"Id": 1,
"PeriodStart": "sample string 1",
"PeriodEnd": "sample string 2",
"RentPerMonth": 3.1,
"IsEditable": true
},
{
"Id": 1,
"PeriodStart": "sample string 1",
"PeriodEnd": "sample string 2",
"RentPerMonth": 3.1,
"IsEditable": true
}
]
}
application/xml, text/xml
Sample:
<OwnerSubscriptionSaveVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Models.PgModels">
<ContractPeriod>sample string 2</ContractPeriod>
<Deposit>1.1</Deposit>
<Id>1</Id>
<InventoryId>6</InventoryId>
<IsTDS>true</IsTDS>
<LockInPeriod>7</LockInPeriod>
<OwnerSubscriptionPeriods>
<OwnerSubscriptionPeriodVm>
<Id>1</Id>
<IsEditable>true</IsEditable>
<PeriodEnd>sample string 2</PeriodEnd>
<PeriodStart>sample string 1</PeriodStart>
<RentPerMonth>3.1</RentPerMonth>
</OwnerSubscriptionPeriodVm>
<OwnerSubscriptionPeriodVm>
<Id>1</Id>
<IsEditable>true</IsEditable>
<PeriodEnd>sample string 2</PeriodEnd>
<PeriodStart>sample string 1</PeriodStart>
<RentPerMonth>3.1</RentPerMonth>
</OwnerSubscriptionPeriodVm>
</OwnerSubscriptionPeriods>
<Remark>sample string 8</Remark>
<TdsPercentage>4.1</TdsPercentage>
<Terms>sample string 5</Terms>
</OwnerSubscriptionSaveVm>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.