POST api/Proforma/updateEmail

Request Information

URI Parameters

None.

Body Parameters

AirlineEmailsModel
NameDescriptionTypeAdditional information
Id

integer

None.

AirlineName

string

Required

Emails

string

Required

Matching regular expression pattern: ^(,?[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)+$

SendEmail

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "AirlineName": "sample string 1",
  "Emails": "sample string 2",
  "SendEmail": true
}

application/xml, text/xml

Sample:
<AirlineEmailsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Entities">
  <AirlineName>sample string 1</AirlineName>
  <Emails>sample string 2</Emails>
  <Id>1</Id>
  <SendEmail>true</SendEmail>
</AirlineEmailsModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.