POST api/app/subscription/billing/pay
Request Information
URI Parameters
None.
Body Parameters
AppPlanSubscriptionBillingPayView| Name | Description | Type | Additional information |
|---|---|---|---|
| AppPlanId | integer |
None. |
|
| AppPlanProductPriceId | integer |
None. |
|
| DiscountIds | Collection of integer |
None. |
|
| Months | integer |
None. |
|
| VatRateId | integer |
None. |
|
| Detail | AppPlanSubscriptionBillingDetailView |
None. |
|
| MaxUserCount | integer |
None. |
|
| MonthCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AppPlanId": 1,
"AppPlanProductPriceId": 2,
"DiscountIds": [
1,
2
],
"Months": 3,
"VatRateId": 4,
"Detail": {
"WebPagePeopleId": 1,
"PeopleType": 0,
"ActualFirstName": "sample string 2",
"ActualLastName": "sample string 3",
"ActualNationalCode": "sample string 4",
"LegalName": "sample string 5",
"LegalNationalId": "sample string 6",
"LegalEconomicCode": "sample string 7",
"City": {
"GroupId": "sample string 1",
"GroupName": "sample string 2",
"Order": 3,
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 6",
"Value": "sample string 7"
},
"CityId": 1,
"Address": "sample string 8",
"PostalCode": "sample string 9",
"PhoneNumber": "sample string 10"
},
"MaxUserCount": 5,
"MonthCount": 6
}
application/xml, text/xml
Sample:
<AppPlanSubscriptionBillingPayView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.AppSubscriptionBillingView">
<AppPlanId>1</AppPlanId>
<AppPlanProductPriceId>2</AppPlanProductPriceId>
<Detail>
<ActualFirstName>sample string 2</ActualFirstName>
<ActualLastName>sample string 3</ActualLastName>
<ActualNationalCode>sample string 4</ActualNationalCode>
<Address>sample string 8</Address>
<City xmlns:d3p1="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.LocationView">
<Disabled xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Disabled>
<Group xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
<Disabled>true</Disabled>
<Name>sample string 2</Name>
</Group>
<Selected xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">true</Selected>
<Text xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 6</Text>
<Value xmlns="http://schemas.datacontract.org/2004/07/System.Web.Mvc">sample string 7</Value>
<GroupId xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.GeneralView">sample string 1</GroupId>
<GroupName xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.GeneralView">sample string 2</GroupName>
<Order xmlns="http://schemas.datacontract.org/2004/07/KAdmin.Model.Models.GeneralView">3</Order>
</City>
<CityId>1</CityId>
<LegalEconomicCode>sample string 7</LegalEconomicCode>
<LegalName>sample string 5</LegalName>
<LegalNationalId>sample string 6</LegalNationalId>
<PeopleType>None</PeopleType>
<PhoneNumber>sample string 10</PhoneNumber>
<PostalCode>sample string 9</PostalCode>
<WebPagePeopleId>1</WebPagePeopleId>
</Detail>
<DiscountIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</DiscountIds>
<MaxUserCount>5</MaxUserCount>
<MonthCount>6</MonthCount>
<Months>3</Months>
<VatRateId>4</VatRateId>
</AppPlanSubscriptionBillingPayView>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.