GET api/Party/PartiesByHostCustomer/{customerId}?openedParties={openedParties}
Method to return a specific Party provided the ID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId |
The Customer's ID |
integer |
Required |
| openedParties |
Should this just returned opened parties? If false, it will return just closed parties. |
boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
Collection of IHostedPartyViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PartyId | integer |
None. |
|
| PartyName | string |
None. |
|
| PartyDate | date |
None. |
|
| RepName | string |
None. |
|
| NumberOfOrders | integer |
None. |
|
| NumberOfGuests | integer |
None. |
|
| NumberOfBuyingGuests | integer |
None. |
|
| NumberOfBookings | integer |
None. |
|
| SalesTowardRewards | decimal number |
None. |
|
| PartySalesTotal | decimal number |
None. |
|
| NumberOfProductsSold | integer |
None. |
|
| PartyVolumeTotal | decimal number |
None. |
|
| PartyVolume2Total | decimal number |
None. |
|
| PartyVolume3Total | decimal number |
None. |
|
| PartyVolume4Total | decimal number |
None. |
Response Formats
application/xml, text/xml, application/json, text/json
Sample:
Sample not available.