POST api/User/CreateSubscription
Request Information
URI Parameters
None.
Body Parameters
KiviCOM.API.Business.Users.CreateSubscriptionInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| SubscriptionType | string |
None. |
|
| BillingDayOfMonth | integer |
None. |
|
| PaymentMethod | KiviCOM.API.Business.Users.PaymentMethod |
None. |
Request Formats
application/json, text/json
Sample:
{
"SubscriptionType": "sample string 1",
"BillingDayOfMonth": 1,
"PaymentMethod": 0
}
text/xml
Sample:
<CreateSubscriptionInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KiviCOM.API.Business.Users"> <BillingDayOfMonth>1</BillingDayOfMonth> <PaymentMethod>INVOICE</PaymentMethod> <SubscriptionType>sample string 1</SubscriptionType> </CreateSubscriptionInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
KiviCOM.API.Business.Users.ResponseInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"UserId": 1,
"Message": "sample string 2"
}
text/xml
Sample:
<ResponseInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KiviCOM.API.Business.Users"> <Message>sample string 2</Message> <UserId>1</UserId> </ResponseInfo>