PUT api/rounds?round_id={round_id}
Updates a round in the master list given the round_id of the round
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
round_id | globally unique identifier |
Required |
Body Parameters
RoundDetailsName | Description | Type | Additional information |
---|---|---|---|
active |
Sets if the round is active. |
boolean |
None. |
archived |
Sets if the round is archived. |
boolean |
None. |
lookup |
Sets the lookup value. (UK relevance only) |
string |
None. |
max_score |
Sets the maximum possible score. Enter 0 to ignore |
integer |
Required |
round |
Sets the round name. |
string |
Required |
type_id |
Sets the identifier of the round type. |
globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{ "active": true, "archived": true, "lookup": "sample string 3", "max_score": 4, "round": "sample string 5", "type_id": "2277e1db-7f29-4482-beb7-84324b349da2" }
multipart/form-data
Sample:
{"active":true,"archived":true,"lookup":"sample string 3","max_score":4,"round":"sample string 5","type_id":"2277e1db-7f29-4482-beb7-84324b349da2"}
application/xml, text/xml
Sample:
<RoundDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Archery_Records_API"> <active>true</active> <archived>true</archived> <lookup>sample string 3</lookup> <max_score>4</max_score> <round>sample string 5</round> <type_id>2277e1db-7f29-4482-beb7-84324b349da2</type_id> </RoundDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |