POST api/Brand/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Default value is 0

Body Parameters

Collection of data_Brand_Category
NameDescriptionTypeAdditional information
CategoryId

integer

None.

ParentId

integer

None.

CategoryName

string

None.

ImageUrl

string

None.

Sort

integer

None.

Status

integer

None.

UpdateTime

date

None.

CreateTime

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "CategoryId": 1,
    "ParentId": 2,
    "CategoryName": "sample string 3",
    "ImageUrl": "sample string 4",
    "Sort": 5,
    "Status": 6,
    "UpdateTime": "2024-11-25 15:40:21",
    "CreateTime": "2024-11-25 15:40:21"
  },
  {
    "CategoryId": 1,
    "ParentId": 2,
    "CategoryName": "sample string 3",
    "ImageUrl": "sample string 4",
    "Sort": 5,
    "Status": 6,
    "UpdateTime": "2024-11-25 15:40:21",
    "CreateTime": "2024-11-25 15:40:21"
  }
]

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 'List`1'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"