POST api/rounds
Adds a round to the master list.
Request Information
URI Parameters
None.
Body Parameters
RoundDataName | Description | Type | Additional information |
---|---|---|---|
lookup | string |
None. |
|
max_score | integer |
Required |
|
round | string |
Required |
|
type_id | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{ "lookup": "sample string 1", "max_score": 2, "round": "sample string 3", "type_id": "8104b04d-a611-4809-8c09-61733a094776" }
application/xml, text/xml
Sample:
<RoundData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Archery_Records_API"> <lookup>sample string 1</lookup> <max_score>2</max_score> <round>sample string 3</round> <type_id>8104b04d-a611-4809-8c09-61733a094776</type_id> </RoundData>
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. |