POST api/ShoppingCartDetail
Request Information
URI Parameters
None.
Body Parameters
ShoppingCartDetailName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
ShoppingCartId | globally unique identifier |
None. |
|
InvoiceId | globally unique identifier |
None. |
|
InvoiceDetailId | globally unique identifier |
None. |
|
ContactId | globally unique identifier |
None. |
|
ProductId | globally unique identifier |
None. |
|
RateId | globally unique identifier |
None. |
|
ProductCode | string |
None. |
|
Module | Module |
None. |
|
DetailType | string |
None. |
|
Name | string |
None. |
|
Qty | integer |
None. |
|
Price | decimal number |
None. |
|
PromoCode | string |
None. |
|
CycleStartDate | date |
None. |
|
ParentId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "44ea8b8b-092e-4b1d-9b63-75e74f107141", "ShoppingCartId": "7b08404e-f2e2-4c34-bcd9-73d2c2d93ff0", "InvoiceId": "af8a35ac-0fc3-418f-ac3e-9a73dde54308", "InvoiceDetailId": "a6b1ebae-29a7-4249-ac18-37530ea70cbd", "ContactId": "371c6de4-4ea7-4c29-93c6-225a47b39c01", "ProductId": "c5a1c9ef-158d-44f8-b85d-21679f342832", "RateId": "f5f3effb-736d-4fea-afbf-ba26dddab0a6", "ProductCode": "sample string 8", "Module": 0, "DetailType": "sample string 9", "Name": "sample string 10", "Qty": 11, "Price": 12.0, "PromoCode": "sample string 13", "CycleStartDate": "2025-08-31T05:48:05.3921205+00:00", "ParentId": "a9c7877d-c53e-4a2d-b8a2-99fb86a5766c" }
application/xml, text/xml
Sample:
<ShoppingCartDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Protech.UX.API.ShoppingCart"> <ContactId>371c6de4-4ea7-4c29-93c6-225a47b39c01</ContactId> <CycleStartDate>2025-08-31T05:48:05.3921205+00:00</CycleStartDate> <DetailType>sample string 9</DetailType> <Id>44ea8b8b-092e-4b1d-9b63-75e74f107141</Id> <InvoiceDetailId>a6b1ebae-29a7-4249-ac18-37530ea70cbd</InvoiceDetailId> <InvoiceId>af8a35ac-0fc3-418f-ac3e-9a73dde54308</InvoiceId> <Module>Products</Module> <Name>sample string 10</Name> <ParentId>a9c7877d-c53e-4a2d-b8a2-99fb86a5766c</ParentId> <Price>12</Price> <ProductCode>sample string 8</ProductCode> <ProductId>c5a1c9ef-158d-44f8-b85d-21679f342832</ProductId> <PromoCode>sample string 13</PromoCode> <Qty>11</Qty> <RateId>f5f3effb-736d-4fea-afbf-ba26dddab0a6</RateId> <ShoppingCartId>7b08404e-f2e2-4c34-bcd9-73d2c2d93ff0</ShoppingCartId> </ShoppingCartDetail>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponseName | Description | Type | Additional information |
---|---|---|---|
Status | Status |
None. |
|
Id | globally unique identifier |
None. |
|
Description | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 0, "Id": "daf621d7-11a8-4e74-bf8b-c32233b85305", "Description": "sample string 2" }
application/xml, text/xml
Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Protech.UX.API.Response"> <Description>sample string 2</Description> <Id>daf621d7-11a8-4e74-bf8b-c32233b85305</Id> <Status>Success</Status> </APIResponse>