POST api/product/add
Request Information
URI Parameters
None.
Body Parameters
ProductViewModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
NameUnsign | string |
None. |
|
Alias | string |
None. |
|
CategoryID | integer |
None. |
|
ThumbnailImage | string |
None. |
|
Price | decimal number |
None. |
|
PromotionPrice | decimal number |
None. |
|
IncludedVAT | boolean |
None. |
|
Warranty | integer |
None. |
|
Description | string |
None. |
|
Content | string |
None. |
|
HomeFlag | boolean |
None. |
|
BestSeller | boolean |
None. |
|
HotFlag | boolean |
None. |
|
ViewCount | integer |
None. |
|
CreatedDate | date |
None. |
|
CreatedBy | string |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | string |
None. |
|
MetaKeyword | string |
None. |
|
MetaDescription | string |
None. |
|
Status | boolean |
None. |
|
Tags | string |
None. |
|
Checked | boolean |
None. |
|
OriginalPrice | decimal number |
None. |
|
ProductCategory | ProductCategoryViewModel |
None. |
|
ProductCode | string |
None. |
|
Weight | string |
None. |
|
Quantity | integer |
None. |
|
BrandID | integer |
None. |
|
Brand | BrandViewModel |
None. |
|
OriginID | integer |
None. |
|
Origin | OriginViewModel |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |