POST api/SalesOrder/ApproveAndSendMail

Request Information

URI Parameters

None.

Body Parameters

ApproveAndSendMailViewModel
NameDescriptionTypeAdditional information
FromEmail

string

None.

ToEmail

string

None.

CC

string

None.

BCC

string

None.

Subject

string

None.

Body

string

None.

LanguageId

integer

None.

InvoiceId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FromEmail": "sample string 1",
  "ToEmail": "sample string 2",
  "CC": "sample string 3",
  "BCC": "sample string 4",
  "Subject": "sample string 5",
  "Body": "sample string 6",
  "LanguageId": 7,
  "InvoiceId": 8
}

text/html

Sample:
{"FromEmail":"sample string 1","ToEmail":"sample string 2","CC":"sample string 3","BCC":"sample string 4","Subject":"sample string 5","Body":"sample string 6","LanguageId":7,"InvoiceId":8}

application/xml, text/xml

Sample:
<ApproveAndSendMailViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyAccounting.ViewModel">
  <BCC>sample string 4</BCC>
  <Body>sample string 6</Body>
  <CC>sample string 3</CC>
  <FromEmail>sample string 1</FromEmail>
  <InvoiceId>8</InvoiceId>
  <LanguageId>7</LanguageId>
  <Subject>sample string 5</Subject>
  <ToEmail>sample string 2</ToEmail>
</ApproveAndSendMailViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.