POST api/srs/emailfwd
Creates an email forward
Request Information
URI Parameters
None.
Body Parameters
SrsEmailFwdCreateParams| Name | Description | Type | Additional information |
|---|---|---|---|
| AdminContactId | string |
Required |
|
| BillingContactId | string |
Required |
|
| RegistrantContactId | string |
Required |
|
| TechContactId | string |
Required |
|
| ForwardName | string |
Required |
|
| Period | integer |
Required Range: inclusive between 1 and 32767 |
|
| ForwardTo | string |
Required |
|
| AuthInfo | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"AdminContactId": "sample string 1",
"BillingContactId": "sample string 2",
"RegistrantContactId": "sample string 3",
"TechContactId": "sample string 4",
"ForwardName": "sample string 5",
"Period": 6,
"ForwardTo": "sample string 7",
"AuthInfo": "sample string 8"
}
application/xml, text/xml
Sample:
<SrsEmailFwdCreateParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.SrsParams"> <AdminContactId>sample string 1</AdminContactId> <AuthInfo>sample string 8</AuthInfo> <BillingContactId>sample string 2</BillingContactId> <ForwardName>sample string 5</ForwardName> <ForwardTo>sample string 7</ForwardTo> <Period>6</Period> <RegistrantContactId>sample string 3</RegistrantContactId> <TechContactId>sample string 4</TechContactId> </SrsEmailFwdCreateParams>
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: