POST api/MasterData/Constituents/Add

Request Information

URI Parameters

None.

Body Parameters

ConstituentsMaster
NameDescriptionTypeAdditional information
ConstituentId

integer

None.

Value

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ConstituentId": 1,
  "Value": "sample string 2"
}

application/xml, text/xml

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

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

Response Information

Resource Description

None.