POST api/orders/pdfmail

Request Information

URI Parameters

None.

Body Parameters

PDF
NameDescriptionTypeAdditional information
orderId

integer

None.

mailBody

string

None.

Request Formats

application/json, text/json

Sample:
{
  "orderId": 1,
  "mailBody": "sample string 2"
}

application/xml, text/xml

Sample:
<OrdersController.PDF xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRAQI_API.Controllers">
  <mailBody>sample string 2</mailBody>
  <orderId>1</orderId>
</OrdersController.PDF>

multipart/form-data

Sample:
<OrdersController.PDF xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRAQI_API.Controllers"><mailBody>sample string 2</mailBody><orderId>1</orderId></OrdersController.PDF>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.