POST PGM/AddToCartUniform
Request Information
URI Parameters
None.
Body Parameters
Collection of AddCart| Name | Description | Type | Additional information |
|---|---|---|---|
| cart_ID | integer |
None. |
|
| customer_ID | integer |
None. |
|
| product_Code | string |
None. |
|
| quantity | integer |
None. |
|
| createdBy | string |
None. |
|
| Size | string |
None. |
|
| Cat_ID | integer |
None. |
|
| IMG_COLOR | string |
None. |
|
| is_Add | integer |
None. |
|
| shirtSize | integer |
None. |
|
| pantHipSize | integer |
None. |
|
| pantLength | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"cart_ID": 1,
"customer_ID": 2,
"product_Code": "sample string 3",
"quantity": 4,
"createdBy": "sample string 5",
"Size": "sample string 6",
"Cat_ID": 7,
"IMG_COLOR": "sample string 8",
"is_Add": 9,
"shirtSize": 10,
"pantHipSize": 11,
"pantLength": 12
},
{
"cart_ID": 1,
"customer_ID": 2,
"product_Code": "sample string 3",
"quantity": 4,
"createdBy": "sample string 5",
"Size": "sample string 6",
"Cat_ID": 7,
"IMG_COLOR": "sample string 8",
"is_Add": 9,
"shirtSize": 10,
"pantHipSize": 11,
"pantLength": 12
}
]
text/html
Sample:
[{"cart_ID":1,"customer_ID":2,"product_Code":"sample string 3","quantity":4,"createdBy":"sample string 5","Size":"sample string 6","Cat_ID":7,"IMG_COLOR":"sample string 8","is_Add":9,"shirtSize":10,"pantHipSize":11,"pantLength":12},{"cart_ID":1,"customer_ID":2,"product_Code":"sample string 3","quantity":4,"createdBy":"sample string 5","Size":"sample string 6","Cat_ID":7,"IMG_COLOR":"sample string 8","is_Add":9,"shirtSize":10,"pantHipSize":11,"pantLength":12}]
application/xml, text/xml
Sample:
<ArrayOfAddCart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGM.Models">
<AddCart>
<Cat_ID>7</Cat_ID>
<IMG_COLOR>sample string 8</IMG_COLOR>
<Size>sample string 6</Size>
<cart_ID>1</cart_ID>
<createdBy>sample string 5</createdBy>
<customer_ID>2</customer_ID>
<is_Add>9</is_Add>
<pantHipSize>11</pantHipSize>
<pantLength>12</pantLength>
<product_Code>sample string 3</product_Code>
<quantity>4</quantity>
<shirtSize>10</shirtSize>
</AddCart>
<AddCart>
<Cat_ID>7</Cat_ID>
<IMG_COLOR>sample string 8</IMG_COLOR>
<Size>sample string 6</Size>
<cart_ID>1</cart_ID>
<createdBy>sample string 5</createdBy>
<customer_ID>2</customer_ID>
<is_Add>9</is_Add>
<pantHipSize>11</pantHipSize>
<pantLength>12</pantLength>
<product_Code>sample string 3</product_Code>
<quantity>4</quantity>
<shirtSize>10</shirtSize>
</AddCart>
</ArrayOfAddCart>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.