POST AdminApi/ProdAttribute/Save

Request Information

URI Parameters

None.

Body Parameters

ProductAttribute
NameDescriptionTypeAdditional information
Code

string

String length: inclusive between 0 and 20

DescTransId

globally unique identifier

None.

IsInvAttribute

boolean

None.

Layout

AttrLayout

None.

AttributeValues

Collection of ProductAttributeValue

None.

Desc

string

None.

Descs

Collection of MutiLanguage

None.

Id

globally unique identifier

None.

ClientId

globally unique identifier

None.

IsActive

boolean

Required

IsDeleted

boolean

Required

CreateDate

date

Required

UpdateDate

date

None.

CreateBy

globally unique identifier

Required

UpdateBy

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: Self referencing loop detected for property 'Attribute' with type 'BDMall.Model.ProductMNG.ProductAttribute'. Path 'AttributeValues[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'Attribute' with type 'BDMall.Model.ProductMNG.ProductAttribute'. Path 'AttributeValues[0]'.

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

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Message

string

None.

ReturnValue

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Message": "sample string 2",
  "ReturnValue": {}
}