POST api/MasterData/Protection/Edit

Request Information

URI Parameters

None.

Body Parameters

ProtectionMaster
NameDescriptionTypeAdditional information
ProtectionId

integer

None.

Value

string

None.

Type

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProtectionId": 1,
  "Value": "sample string 2",
  "Type": "sample string 3"
}

application/xml, text/xml

Sample:
<ProtectionMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AMS.ERPC.API.DAL.Model.DataModel">
  <ProtectionId>1</ProtectionId>
  <Type>sample string 3</Type>
  <Value>sample string 2</Value>
</ProtectionMaster>

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

Response Information

Resource Description

None.