POST api/Party/HostAwardOrder/{partyId}/{orderId}
Marks the given order as the party's designated host reward order (Party.HostAwardOrderID). Used by party types with SeparateHostRewardOrder when a "New Host Order" is created.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| partyId |
The party to update. |
integer |
Required |
| orderId |
The order to record as the host reward order. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
IOperationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful | boolean |
None. |
|
| ValidationErrors | Dictionary of string [key] and string [value] |
None. |
|
| Value | Object |
None. |
Response Formats
application/xml, text/xml
Sample:
<OperationResult> <IsSuccessful>False</IsSuccessful> <ValidationErrors /> <Value /> </OperationResult>
application/json, text/json
Sample:
{
"IsSuccessful": false,
"ValidationErrors": {}
}