POST api/preistruttoria/sendmail

Request Information

URI Parameters

None.

Body Parameters

CrmTokenRequest
NameDescriptionTypeAdditional information
ContactId

globally unique identifier

None.

IncidentId

globally unique identifier

None.

Nome

string

None.

Cognome

string

None.

Email

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ContactId": "7bb28158-cf88-4bd3-b445-8a4f9a4953d4",
  "IncidentId": "538883a7-d626-4f7c-98f5-f727cdfbb865",
  "Nome": "sample string 3",
  "Cognome": "sample string 4",
  "Email": "sample string 5"
}

application/xml, text/xml

Sample:
<CrmTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inlinea.AssoAste.WebAPI.Models">
  <Cognome>sample string 4</Cognome>
  <ContactId>7bb28158-cf88-4bd3-b445-8a4f9a4953d4</ContactId>
  <Email>sample string 5</Email>
  <IncidentId>538883a7-d626-4f7c-98f5-f727cdfbb865</IncidentId>
  <Nome>sample string 3</Nome>
</CrmTokenRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.