POST api/MasterData/Save

Request Information

URI Parameters

None.

Body Parameters

CustomMasterData
NameDescriptionTypeAdditional information
MasterId

integer

None.

MasterType

string

None.

Value1

string

None.

Value2

string

None.

Value3

string

None.

Value4

string

None.

Value5

string

None.

IsActive

boolean

None.

CreatedDate

string

None.

CreatedBy

string

None.

ModifiedDate

string

None.

ModifiedBy

string

None.

Seq

integer

None.

userPrincipalName

string

None.

connectionString

string

None.

SecretId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MasterId": 1,
  "MasterType": "sample string 1",
  "Value1": "sample string 2",
  "Value2": "sample string 3",
  "Value3": "sample string 4",
  "Value4": "sample string 5",
  "Value5": "sample string 6",
  "IsActive": true,
  "CreatedDate": "sample string 7",
  "CreatedBy": "sample string 8",
  "ModifiedDate": "sample string 9",
  "ModifiedBy": "sample string 10",
  "Seq": 1,
  "userPrincipalName": "sample string 11",
  "connectionString": "sample string 12",
  "SecretId": null
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'System.Security.Cryptography.CryptoStream' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'System.Security.Cryptography.CryptoStream' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

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

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.