POST api/srs/emailfwd/renew
Renews an email forward
Request Information
URI Parameters
None.
Body Parameters
SrsEmailFwdRenewParams| Name | Description | Type | Additional information |
|---|---|---|---|
| ForwardName | string |
Required |
|
| Period | integer |
Required Range: inclusive between 1 and 32767 |
|
| CurrentExpDate | date |
Required |
Request Formats
application/json, text/json
Sample:
{
"ForwardName": "sample string 1",
"Period": 2,
"CurrentExpDate": "2025-12-12T19:17:38.1796674+01:00"
}
application/xml, text/xml
Sample:
<SrsEmailFwdRenewParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.SrsParams"> <CurrentExpDate>2025-12-12T19:17:38.1796674+01:00</CurrentExpDate> <ForwardName>sample string 1</ForwardName> <Period>2</Period> </SrsEmailFwdRenewParams>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SrsRestResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| XmlStatusCode |
The legacy status codes as found in Interface.cs |
integer |
None. |
| Values |
Additional values |
Collection of string |
None. |
| ResponseData |
The response data of a successful SRS call |
Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"XmlStatusCode": 1,
"Values": [
"sample string 1",
"sample string 2"
],
"ResponseData": null
}
application/xml
Sample:
text/xml
Sample: