POST api/ImportUser/Renewal
Request Information
URI Parameters
None.
Body Parameters
RenewalUserAPIViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
None. |
|
| srvid | integer |
None. |
|
| uplimit | integer |
None. |
|
| downlimit | integer |
None. |
|
| comblimit | integer |
None. |
|
| uptimelimit | integer |
None. |
|
| expiration | string |
None. |
|
| expirationtype | integer |
None. |
|
| limitdl | boolean |
None. |
|
| limitul | boolean |
None. |
|
| limitcomb | boolean |
None. |
|
| limitexpiration | boolean |
None. |
|
| limituptime | boolean |
None. |
|
| lstservices | Collection of SelectListItem |
None. |
Request Formats
application/json, text/json
Sample:
{
"username": "sample string 1",
"srvid": 2,
"uplimit": 3,
"downlimit": 4,
"comblimit": 5,
"uptimelimit": 6,
"expiration": "sample string 7",
"expirationtype": 8,
"limitdl": true,
"limitul": true,
"limitcomb": true,
"limitexpiration": true,
"limituptime": true,
"lstservices": [
{
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 3",
"Value": "sample string 4"
},
{
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 3",
"Value": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<RenewalUserAPIViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AtozOnlineAPI.Areas.ControlPanel.Models">
<comblimit>5</comblimit>
<downlimit>4</downlimit>
<expiration>sample string 7</expiration>
<expirationtype>8</expirationtype>
<limitcomb>true</limitcomb>
<limitdl>true</limitdl>
<limitexpiration>true</limitexpiration>
<limitul>true</limitul>
<limituptime>true</limituptime>
<lstservices xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
<d2p1:SelectListItem>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Group>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:Group>
<d2p1:Selected>true</d2p1:Selected>
<d2p1:Text>sample string 3</d2p1:Text>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:SelectListItem>
<d2p1:SelectListItem>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Group>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:Group>
<d2p1:Selected>true</d2p1:Selected>
<d2p1:Text>sample string 3</d2p1:Text>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:SelectListItem>
</lstservices>
<srvid>2</srvid>
<uplimit>3</uplimit>
<uptimelimit>6</uptimelimit>
<username>sample string 1</username>
</RenewalUserAPIViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |