POST api/product/edit-drivers-licence

Request Information

URI Parameters

None.

Body Parameters

DriversLicenceModel
NameDescriptionTypeAdditional information
PolicyId

integer

None.

DriverLicenceNo

string

None.

DriverLicenceExpiryDt

string

None.

DriverLicenceTypeCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "policyId": 1,
  "driverLicenceNo": "sample string 2",
  "driverLicenceExpiryDt": "sample string 3",
  "driverLicenceTypeCode": "sample string 4"
}

application/xml, text/xml

Sample:
<DriversLicenceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fusion.AppApi.Models">
  <DriverLicenceExpiryDt>sample string 3</DriverLicenceExpiryDt>
  <DriverLicenceNo>sample string 2</DriverLicenceNo>
  <DriverLicenceTypeCode>sample string 4</DriverLicenceTypeCode>
  <PolicyId>1</PolicyId>
</DriversLicenceModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.