POST api/ConstantValue/Post

Request Information

URI Parameters

None.

Body Parameters

ConstantValue
NameDescriptionTypeAdditional information
Name

string

None.

ConstantId

globally unique identifier

None.

Constant

Constant

None.

constantValueInfoList

Collection of ConstantValueInfo

None.

Id

globally unique identifier

None.

IsActive

boolean

None.

TransactedBy

string

None.

TransactedDate

date

None.

Remark

string

None.

Version

integer

None.

LastChanged

Collection of byte

None.

LogInfo

LogInfo

None.

DocumentNumber

string

None.

IsSelected

boolean

None.

IsDirty

boolean

None.

Messege

string

None.

Errors

Collection of Object

None.

HasErrors

boolean

None.

HasSystemErrors

boolean

None.

HasValidationErrors

boolean

None.

IsDeleted

boolean

None.

PrimaryKeyName

string

None.

PrimaryKeyValue

globally unique identifier

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Error getting value from 'HasErrors' on 'LifeLineAPI.BusinessPortal.Model.Constant'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Error getting value from 'HasErrors' on 'LifeLineAPI.BusinessPortal.Model.Constant'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'Manorama2.Logging.LogInfo' with data contract name 'LogInfo:http://schemas.datacontract.org/2004/07/Manorama2.Logging' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'Manorama2.Logging.LogInfo' with data contract name 'LogInfo:http://schemas.datacontract.org/2004/07/Manorama2.Logging' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.