POST api/mobile/v1/getallrisktariff

Request Information

URI Parameters

None.

Body Parameters

AllRiskContainerClass
NameDescriptionTypeAdditional information
YearOfMake

integer

None.

CarID

integer

None.

CarValue

integer

None.

Cartype

string

None.

ALLRISKPLANSTYPE_ID

integer

None.

Franchise1

boolean

None.

Franchise2

boolean

None.

HoldUpCover

boolean

None.

ReplacementCar

boolean

None.

ReparationAtAgency

boolean

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "YearOfMake": 1,
  "CarID": 2,
  "CarValue": 3,
  "Cartype": "sample string 4",
  "ALLRISKPLANSTYPE_ID": 5,
  "Franchise1": true,
  "Franchise2": true,
  "HoldUpCover": true,
  "ReplacementCar": true,
  "ReparationAtAgency": true
}

application/xml, text/xml

Sample:
<SenbokModel.AllRiskContainerClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SenbokAPI.Models">
  <ALLRISKPLANSTYPE_ID>5</ALLRISKPLANSTYPE_ID>
  <CarID>2</CarID>
  <CarValue>3</CarValue>
  <Cartype>sample string 4</Cartype>
  <Franchise1>true</Franchise1>
  <Franchise2>true</Franchise2>
  <HoldUpCover>true</HoldUpCover>
  <ReparationAtAgency>true</ReparationAtAgency>
  <ReplacementCar>true</ReplacementCar>
  <YearOfMake>1</YearOfMake>
</SenbokModel.AllRiskContainerClass>

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

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.