POST api/Insurance

Request Information

URI Parameters

None.

Body Parameters

Insurance
NameDescriptionTypeAdditional information
op

string

None.

isDemo

boolean

None.

customer

string

None.

ExpiryDate

string

None.

product

string

None.

strike

string

None.

delta

string

None.

days

string

None.

minutes

string

None.

fromDate

string

None.

toDate

string

None.

token

string

None.

otherTenors

boolean

None.

noCoreRate

boolean

None.

hourly

boolean

None.

POSTAccessCode

string

None.

POSTAccessPassword

string

None.

ForcePostResponse

string

None.

Message

string

None.

id

string

None.

username

string

None.

password

string

None.

scope

string

None.

country

string

None.

Type

string

None.

email

string

None.

Pricing

string

None.

category

string

None.

NotifyURI

string

None.

comment

string

None.

transaction_number

string

None.

whiteLabel

string

None.

getJson

boolean

None.

retVal

returnValues

None.

ApiUsername

string

None.

ApiPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "op": "sample string 1",
  "isDemo": true,
  "customer": "sample string 3",
  "ExpiryDate": "sample string 4",
  "product": "sample string 5",
  "strike": "sample string 6",
  "delta": "sample string 7",
  "days": "sample string 8",
  "minutes": "sample string 9",
  "fromDate": "sample string 10",
  "toDate": "sample string 11",
  "token": "sample string 12",
  "otherTenors": true,
  "noCoreRate": true,
  "hourly": true,
  "POSTAccessCode": "sample string 15",
  "POSTAccessPassword": "sample string 16",
  "ForcePostResponse": "sample string 17",
  "Message": "sample string 18",
  "id": "sample string 19",
  "username": "sample string 20",
  "password": "sample string 21",
  "scope": "sample string 22",
  "country": "sample string 23",
  "Type": "sample string 24",
  "email": "sample string 25",
  "Pricing": "sample string 26",
  "category": "sample string 27",
  "NotifyURI": "sample string 28",
  "comment": "sample string 29",
  "transaction_number": "sample string 30",
  "whiteLabel": "sample string 31",
  "getJson": true,
  "retVal": null,
  "ApiUsername": "sample string 32",
  "ApiPassword": "sample string 33"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'ExportToAvaCustomer.returnValues' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'ExportToAvaCustomer.returnValues' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

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

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.