POST GroupItem
请求参数
URI 参数
无。
Body 参数
SaveGroupItemRP 集合| 名称 | 描述 | 类型 | 附加信息 |
|---|---|---|---|
| ID | string |
无。 |
|
| IsSpelling | integer |
无。 |
|
| GroupID | string |
无。 |
|
| ItemID | string |
无。 |
|
| ItemName | string |
无。 |
|
| GroupNum | integer |
无。 |
|
| LimitNum | integer |
无。 |
|
| GroupCountLimit | integer |
无。 |
|
| SecGroupCount | integer |
无。 |
|
| SKUInfo | SaveGroupItemSKU 集合 |
无。 |
请求格式
application/json, text/json
示例:
[
{
"ID": "sample string 1",
"IsSpelling": 2,
"GroupID": "sample string 3",
"ItemID": "sample string 4",
"ItemName": "sample string 5",
"GroupNum": 6,
"LimitNum": 7,
"GroupCountLimit": 8,
"SecGroupCount": 9,
"SKUInfo": [
{
"SkuID": "sample string 1",
"SkuName": "sample string 2",
"GroupPrice": 3.0,
"HeadGroupPrice": 4.0
},
{
"SkuID": "sample string 1",
"SkuName": "sample string 2",
"GroupPrice": 3.0,
"HeadGroupPrice": 4.0
}
]
},
{
"ID": "sample string 1",
"IsSpelling": 2,
"GroupID": "sample string 3",
"ItemID": "sample string 4",
"ItemName": "sample string 5",
"GroupNum": 6,
"LimitNum": 7,
"GroupCountLimit": 8,
"SecGroupCount": 9,
"SKUInfo": [
{
"SkuID": "sample string 1",
"SkuName": "sample string 2",
"GroupPrice": 3.0,
"HeadGroupPrice": 4.0
},
{
"SkuID": "sample string 1",
"SkuName": "sample string 2",
"GroupPrice": 3.0,
"HeadGroupPrice": 4.0
}
]
}
]
application/xml, text/xml
示例:
<ArrayOfSaveGroupItemRP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JIT.CPOS.DTO.Module.GroupPurchase">
<SaveGroupItemRP>
<GroupCountLimit>8</GroupCountLimit>
<GroupID>sample string 3</GroupID>
<GroupNum>6</GroupNum>
<ID>sample string 1</ID>
<IsSpelling>2</IsSpelling>
<ItemID>sample string 4</ItemID>
<ItemName>sample string 5</ItemName>
<LimitNum>7</LimitNum>
<SKUInfo>
<SaveGroupItemSKU>
<GroupPrice>3</GroupPrice>
<HeadGroupPrice>4</HeadGroupPrice>
<SkuID>sample string 1</SkuID>
<SkuName>sample string 2</SkuName>
</SaveGroupItemSKU>
<SaveGroupItemSKU>
<GroupPrice>3</GroupPrice>
<HeadGroupPrice>4</HeadGroupPrice>
<SkuID>sample string 1</SkuID>
<SkuName>sample string 2</SkuName>
</SaveGroupItemSKU>
</SKUInfo>
<SecGroupCount>9</SecGroupCount>
</SaveGroupItemRP>
<SaveGroupItemRP>
<GroupCountLimit>8</GroupCountLimit>
<GroupID>sample string 3</GroupID>
<GroupNum>6</GroupNum>
<ID>sample string 1</ID>
<IsSpelling>2</IsSpelling>
<ItemID>sample string 4</ItemID>
<ItemName>sample string 5</ItemName>
<LimitNum>7</LimitNum>
<SKUInfo>
<SaveGroupItemSKU>
<GroupPrice>3</GroupPrice>
<HeadGroupPrice>4</HeadGroupPrice>
<SkuID>sample string 1</SkuID>
<SkuName>sample string 2</SkuName>
</SaveGroupItemSKU>
<SaveGroupItemSKU>
<GroupPrice>3</GroupPrice>
<HeadGroupPrice>4</HeadGroupPrice>
<SkuID>sample string 1</SkuID>
<SkuName>sample string 2</SkuName>
</SaveGroupItemSKU>
</SKUInfo>
<SecGroupCount>9</SecGroupCount>
</SaveGroupItemRP>
</ArrayOfSaveGroupItemRP>
application/x-www-form-urlencoded
示例:
Sample not available.
Response 信息
资源描述
HttpResponseMessage| 名称 | 描述 | 类型 | 附加信息 |
|---|---|---|---|
| Version | Version |
无。 |
|
| Content | HttpContent |
无。 |
|
| StatusCode | HttpStatusCode |
无。 |
|
| ReasonPhrase | string |
无。 |
|
| Headers | Object 集合 |
无。 |
|
| RequestMessage | HttpRequestMessage |
无。 |
|
| IsSuccessStatusCode | boolean |
无。 |