PUT api/InsuranceTypes/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

InsuranceType
NameDescriptionTypeAdditional information
TYPE_ID

integer

None.

TYPE

string

None.

IS_COMPANY

boolean

None.

SHOW

boolean

None.

DIV_ID

integer

None.

OLD

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TYPE_ID": 1,
  "TYPE": "sample string 2",
  "IS_COMPANY": true,
  "SHOW": true,
  "DIV_ID": 5,
  "OLD": 1
}

application/octet-stream

Sample:
{"TYPE_ID":1,"TYPE":"sample string 2","IS_COMPANY":true,"SHOW":true,"DIV_ID":5,"OLD":1}

application/xml, text/xml

Sample:
<InsuranceType xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TYPE_ID>1</TYPE_ID>
  <TYPE>sample string 2</TYPE>
  <IS_COMPANY>true</IS_COMPANY>
  <SHOW>true</SHOW>
  <DIV_ID>5</DIV_ID>
  <OLD>1</OLD>
</InsuranceType>

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

Response Information

Resource Description

None.