OPTIONS api/ReportMail/SendReportByMail

Request Information

URI Parameters

None.

Body Parameters

customerreportmail
NameDescriptionTypeAdditional information
customer_id

integer

None.

filePath

string

None.

reportdesc

string

None.

Request Formats

application/json, text/json

Sample:
{
  "customer_id": 1,
  "filePath": "sample string 2",
  "reportdesc": "sample string 3"
}

application/xml, text/xml

Sample:
<customerreportmail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrustLine.Models">
  <customer_id>1</customer_id>
  <filePath>sample string 2</filePath>
  <reportdesc>sample string 3</reportdesc>
</customerreportmail>

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 'customerreportmail'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>