POST api/values/EmailToEmployee

Request Information

URI Parameters

None.

Body Parameters

EmailtoKPMGRequest
NameDescriptionTypeAdditional information
RFPId

string

None.

ListId

string

None.

CountryRef

string

None.

Id

integer

None.

From

string

None.

CurrentUserId

integer

None.

To

Collection of string

None.

CC

Collection of string

None.

BCC

Collection of string

None.

NoAttachment

boolean

None.

PermOnSite

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RFPId": "sample string 1",
  "ListId": "sample string 2",
  "CountryRef": "sample string 3",
  "Id": 4,
  "From": "sample string 5",
  "CurrentUserId": 6,
  "To": [
    "sample string 1",
    "sample string 2"
  ],
  "CC": [
    "sample string 1",
    "sample string 2"
  ],
  "BCC": [
    "sample string 1",
    "sample string 2"
  ],
  "NoAttachment": true,
  "PermOnSite": true
}

application/xml, text/xml

Sample:
<EmailtoKPMGRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KPMG.RFP.Admin.Service.Controllers">
  <BCC xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </BCC>
  <CC xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </CC>
  <CountryRef>sample string 3</CountryRef>
  <CurrentUserId>6</CurrentUserId>
  <From>sample string 5</From>
  <Id>4</Id>
  <ListId>sample string 2</ListId>
  <NoAttachment>true</NoAttachment>
  <PermOnSite>true</PermOnSite>
  <RFPId>sample string 1</RFPId>
  <To xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </To>
</EmailtoKPMGRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.