GET api/Panier/{id}?user={user}
Return a panier with the given id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Panier id |
integer |
Required |
| user |
User handle |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
panier
Panier| Name | Description | Type | Additional information |
|---|---|---|---|
| UserHandle |
Handle of the current user |
string |
None. |
| UserId |
Id of the current user |
decimal number |
None. |
| Messenger | Messenger |
None. |
|
| Errors | Collection of Error |
None. |
|
| IpAddress |
Client ip address |
string |
None. |
| Currency | string |
None. |
|
| Id |
Panier id. Use for adding, deleting items and updating panier |
integer |
None. |
| TransactionID |
Transaction id of the transaction that was created when the panier was confirmed. This is normally empty |
string |
None. |
| ModePaiementID | integer |
None. |
|
| OpState | byte |
None. |
|
| Total_HT |
Total price before tax for the panier. Readonly |
decimal number |
None. |
| Total_TTC |
Total price with tax. Readonly |
decimal number |
None. |
| Items |
The items contained in the panier |
Collection of Item |
None. |
Response Formats
application/json, text/json
{
"UserHandle": "AA111111",
"UserId": 11111.0,
"Messenger": null,
"Errors": [],
"IpAddress": null,
"Currency": null,
"Id": 0,
"TransactionID": null,
"ModePaiementID": 3,
"OpState": 1,
"Total_HT": 10.0,
"Total_TTC": 12.0,
"Items": [
{
"Id": 0,
"ProduitID": 51,
"Period": 1.0,
"Quantity": 1,
"Pu": 10.0,
"Confirm": false,
"IsUpdate": false,
"NewQuantity": null,
"PeriodLeft": null,
"OldProduitID": null,
"OldPu": null,
"Total_HT": 0.0,
"Attributes": {
"domain": "adomain.com",
"ns1": "nx1",
"ns2": "nx2"
}
}
]
}