POST api/srs/emailfwd/transfer

Request Information

URI Parameters

None.

Body Parameters

SrsEmailFwdTransferParams
NameDescriptionTypeAdditional information
ForwardName

string

Required

OpType

string

Required

AuthInfo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ForwardName": "sample string 1",
  "OpType": "sample string 2",
  "AuthInfo": "sample string 3"
}

application/xml, text/xml

Sample:
<SrsEmailFwdTransferParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.SrsParams">
  <AuthInfo>sample string 3</AuthInfo>
  <ForwardName>sample string 1</ForwardName>
  <OpType>sample string 2</OpType>
</SrsEmailFwdTransferParams>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SrsEmailFwdTransferParams'.

Response Information

Resource Description

SrsRestResponse
NameDescriptionTypeAdditional information
XmlStatusCode

integer

None.

Values

Collection of string

None.

ResponseData

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:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'Newtonsoft.Json.Linq.JToken' is a recursive collection data contract which is not supported. Consider modifying the definition of collection 'Newtonsoft.Json.Linq.JToken' to remove references to itself.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'Newtonsoft.Json.Linq.JToken' is a recursive collection data contract which is not supported. Consider modifying the definition of collection 'Newtonsoft.Json.Linq.JToken' to remove references to itself.