POST api/Mail/PostMailForm

Request Information

URI Parameters

None.

Body Parameters

WorkflowMail
NameDescriptionTypeAdditional information
ToUsers

integer

None.

Id

integer

None.

MailId

integer

None.

FileCode

integer

None.

FromUser

string

None.

Subject

string

None.

Note

string

None.

ReceicedFrom

string

None.

MailDate

date

None.

Status

string

None.

AttachmentId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ToUsers": 1,
  "Id": 2,
  "MailId": 3,
  "FileCode": 1,
  "FromUser": "sample string 4",
  "Subject": "sample string 5",
  "Note": "sample string 6",
  "ReceicedFrom": "sample string 7",
  "MailDate": "2026-07-31T15:19:20.4063893-07:00",
  "Status": "sample string 8",
  "AttachmentId": 1
}

application/xml, text/xml

Sample:
<WorkflowMail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BILLING.BAL.WorkflowViewModel">
  <AttachmentId>1</AttachmentId>
  <FileCode>1</FileCode>
  <FromUser>sample string 4</FromUser>
  <Id>2</Id>
  <MailDate>2026-07-31T15:19:20.4063893-07:00</MailDate>
  <MailId>3</MailId>
  <Note>sample string 6</Note>
  <ReceicedFrom>sample string 7</ReceicedFrom>
  <Status>sample string 8</Status>
  <Subject>sample string 5</Subject>
  <ToUsers>1</ToUsers>
</WorkflowMail>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.