The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ProductDto:
{
PostId: 0,
ProductId: 0,
ProductName: String,
ProductKey: 00000000000000000000000000000000,
ProductHeader: String,
Summary: String,
Description: String,
ProductTypeId: 0,
MainMedia:
{
PostId: 0,
MediaId: 0,
UsageType: StoreMedias,
MediaType: icon,
Source: String,
MediaFileName: String,
MediaMime: String,
IsMain: False,
RefId: 0,
OrderNum: 0,
Action: None,
IsDeleted: False,
FriendlyURL: String,
PostVariantA1Key: String,
SourceUrl: String,
ActiveYn: False
},
ListPrice: 0,
SalePrice: 0,
ProductStatus: Draft,
ProductState: New,
PriceType: NoPrice,
PublishYn: False,
ActiveYn: False,
ShippingAmount: 0,
ShippingDeci: 0,
StartDate: 0001-01-01,
EndDate: 0001-01-01,
CategoryId: 0,
CategoryKey: String,
CategoryName: String,
StockType: Infinite,
StockCode: String,
EANCode: String,
NSKU: String,
NeedionRate: 0,
NeedionDescription: String,
VersionStatus: AddOrEdit,
VersionNo: 0,
BrandId: 0,
BrandKey: String,
BrandName: String,
VAttr1Id: 0,
VAttr2Id: 0,
VAttr3Id: 0,
VAttr4Id: 0,
VAttr1Meta: String,
VAttr2Meta: String,
VAttr3Meta: String,
VAttr4Meta: String,
FriendlyUrl: String,
BannerContent: String,
SliderContent: String,
BackgroundMedia: String,
ProductMedias:
[
{
PostId: 0,
MediaId: 0,
UsageType: StoreMedias,
MediaType: icon,
Source: String,
MediaFileName: String,
MediaMime: String,
IsMain: False,
RefId: 0,
OrderNum: 0,
Action: None,
IsDeleted: False,
FriendlyURL: String,
PostVariantA1Key: String,
SourceUrl: String,
ActiveYn: False
}
],
PositivePoints:
[
{
PointText: String,
Rate: 0,
IsAdv: False,
Order: 0
}
],
NegativePoints:
[
{
PointText: String,
Rate: 0,
IsAdv: False,
Order: 0
}
],
ProductVariants:
[
{
ProductVariantId: 0,
ProductId: 0,
VariantKey: 00000000000000000000000000000000,
VariantName: String,
VariantDescription: String,
VariantHeader: String,
StockCode: String,
EANCode: String,
NSKU: String,
ListPrice: 0,
SalePrice: 0,
A1Key: String,
A1Value: String,
A2Key: String,
A2Value: String,
A3Key: String,
A3Value: String,
A4Key: String,
A4Value: String,
Action: None
}
],
AttributeData:
[
{
AttributeDefId: 0,
LabelText: String,
Keys: String,
Values: String
}
],
ProductReviews:
[
{
ProductReviewId: 0,
ParentId: 0,
UserId: 0,
ProductId: 0,
Rate: 0,
ReviewText: String,
ReviewDate: 0001-01-01,
Status: Unknown,
ApproveDate: 0001-01-01,
ApprovedBy: 0,
OrgText: String,
RejectReason: String,
HideUserYn: False,
QProductExplanation: 0,
ReviewCode: String,
ProductReviews:
[
{
ProductReviewId: 0,
ParentId: 0,
UserId: 0,
ProductId: 0,
Rate: 0,
ReviewText: String,
ReviewDate: 0001-01-01,
Status: Unknown,
ApproveDate: 0001-01-01,
ApprovedBy: 0,
OrgText: String,
RejectReason: String,
HideUserYn: False,
QProductExplanation: 0,
ReviewCode: String,
ProductReviews:
[
{
ProductReviewId: 0,
ParentId: 0,
UserId: 0,
ProductId: 0,
Rate: 0,
ReviewText: String,
ReviewDate: 0001-01-01,
Status: Unknown,
ApproveDate: 0001-01-01,
ApprovedBy: 0,
OrgText: String,
RejectReason: String,
HideUserYn: False,
QProductExplanation: 0,
ReviewCode: String,
User:
{
UserId: 0,
UserName: String,
FirstName: String,
UserFullName: String,
Surname: String,
NickName: String,
ProfileImage:
{
PostId: 0,
MediaId: 0,
UsageType: StoreMedias,
MediaType: icon,
Source: String,
MediaFileName: String,
MediaMime: String,
IsMain: False,
RefId: 0,
OrderNum: 0,
Action: None,
IsDeleted: False,
FriendlyURL: String,
PostVariantA1Key: String,
SourceUrl: String,
ActiveYn: False
},
UserSocialInfo:
{
AvgRate: 0,
RateCount: 0,
LikeCount: 0,
BanCount: 0,
BannedCount: 0,
FollowCount: 0,
FollowedCount: 0,
ActivePostCount: 0,
ViewCount: 0,
DidUserLike: False,
DidUserBan: False,
DidUserBanned: False,
DidUserRate: False,
DidUserFollow: False,
DidUserFollowed: False
},
Avatar: String,
NeedCommercialMessageConfirmationYn: False
}
}
],
User:
{
UserId: 0,
UserName: String,
FirstName: String,
UserFullName: String,
Surname: String,
NickName: String,
ProfileImage:
{
PostId: 0,
MediaId: 0,
UsageType: StoreMedias,
MediaType: icon,
Source: String,
MediaFileName: String,
MediaMime: String,
IsMain: False,
RefId: 0,
OrderNum: 0,
Action: None,
IsDeleted: False,
FriendlyURL: String,
PostVariantA1Key: String,
SourceUrl: String,
ActiveYn: False
},
UserSocialInfo:
{
AvgRate: 0,
RateCount: 0,
LikeCount: 0,
BanCount: 0,
BannedCount: 0,
FollowCount: 0,
FollowedCount: 0,
ActivePostCount: 0,
ViewCount: 0,
DidUserLike: False,
DidUserBan: False,
DidUserBanned: False,
DidUserRate: False,
DidUserFollow: False,
DidUserFollowed: False
},
Avatar: String,
NeedCommercialMessageConfirmationYn: False
}
}
],
User:
{
UserId: 0,
UserName: String,
FirstName: String,
UserFullName: String,
Surname: String,
NickName: String,
ProfileImage:
{
PostId: 0,
MediaId: 0,
UsageType: StoreMedias,
MediaType: icon,
Source: String,
MediaFileName: String,
MediaMime: String,
IsMain: False,
RefId: 0,
OrderNum: 0,
Action: None,
IsDeleted: False,
FriendlyURL: String,
PostVariantA1Key: String,
SourceUrl: String,
ActiveYn: False
},
UserSocialInfo:
{
AvgRate: 0,
RateCount: 0,
LikeCount: 0,
BanCount: 0,
BannedCount: 0,
FollowCount: 0,
FollowedCount: 0,
ActivePostCount: 0,
ViewCount: 0,
DidUserLike: False,
DidUserBan: False,
DidUserBanned: False,
DidUserRate: False,
DidUserFollow: False,
DidUserFollowed: False
},
Avatar: String,
NeedCommercialMessageConfirmationYn: False
}
}
],
Action: None,
PublishReviewYn: False,
VAttr1Def:
{
SType: None,
AnyText: String,
AllText: String,
Code: String,
IType: Text,
AttributeDatas:
[
{
Key: String,
Value: String,
Count: 0,
Order: 0
}
],
ParentAttributeDefId: 0,
HeaderText: String,
AttributeDefId: 0,
Name: String,
LabelText: String,
Required: False,
AType: Text,
DefaultKey: String,
DefaultValue: String,
MinValue: 0,
MaxValue: 0
},
VAttr2Def:
{
SType: None,
AnyText: String,
AllText: String,
Code: String,
IType: Text,
AttributeDatas:
[
{
Key: String,
Value: String,
Count: 0,
Order: 0
}
],
ParentAttributeDefId: 0,
HeaderText: String,
AttributeDefId: 0,
Name: String,
LabelText: String,
Required: False,
AType: Text,
DefaultKey: String,
DefaultValue: String,
MinValue: 0,
MaxValue: 0
},
VAttr3Def:
{
SType: None,
AnyText: String,
AllText: String,
Code: String,
IType: Text,
AttributeDatas:
[
{
Key: String,
Value: String,
Count: 0,
Order: 0
}
],
ParentAttributeDefId: 0,
HeaderText: String,
AttributeDefId: 0,
Name: String,
LabelText: String,
Required: False,
AType: Text,
DefaultKey: String,
DefaultValue: String,
MinValue: 0,
MaxValue: 0
},
VAttr4Def:
{
SType: None,
AnyText: String,
AllText: String,
Code: String,
IType: Text,
AttributeDatas:
[
{
Key: String,
Value: String,
Count: 0,
Order: 0
}
],
ParentAttributeDefId: 0,
HeaderText: String,
AttributeDefId: 0,
Name: String,
LabelText: String,
Required: False,
AType: Text,
DefaultKey: String,
DefaultValue: String,
MinValue: 0,
MaxValue: 0
}
},
Result: False,
ResMessage: String,
Error:
{
ErrorYn: False,
ExYn: False,
ErrorCode: String,
ErrorDescription: String
},
PageInfo:
{
TotalRecordCount: 0,
TotalPageCount: 0,
CurrentPage: 0
}
}