POST api/Meta
Adds a set of score meta associated with a specific score record
Request Information
URI Parameters
None.
Body Parameters
Collection of MetaDetailsName | Description | Type | Additional information |
---|---|---|---|
record_id | globally unique identifier |
None. |
|
score | integer |
None. |
|
hits | integer |
None. |
|
golds | integer |
None. |
|
tens | integer |
None. |
|
Xs | integer |
None. |
|
distance | string |
None. |
|
sight_mark | string |
None. |
|
arrows | string |
None. |
|
bow | string |
None. |
|
notes | string |
None. |
|
face | string |
None. |
|
scoresheet | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "record_id": "bb4afc96-4a01-4c75-96b8-1a1d1d02fd30", "score": 2, "hits": 3, "golds": 4, "tens": 5, "Xs": 6, "distance": "sample string 7", "sight_mark": "sample string 8", "arrows": "sample string 9", "bow": "sample string 10", "notes": "sample string 11", "face": "sample string 12", "scoresheet": "sample string 13" }, { "record_id": "bb4afc96-4a01-4c75-96b8-1a1d1d02fd30", "score": 2, "hits": 3, "golds": 4, "tens": 5, "Xs": 6, "distance": "sample string 7", "sight_mark": "sample string 8", "arrows": "sample string 9", "bow": "sample string 10", "notes": "sample string 11", "face": "sample string 12", "scoresheet": "sample string 13" } ]
application/xml, text/xml
Sample:
<ArrayOfMetaDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Golden_Records_App.Models"> <MetaDetails> <Xs>6</Xs> <arrows>sample string 9</arrows> <bow>sample string 10</bow> <distance>sample string 7</distance> <face>sample string 12</face> <golds>4</golds> <hits>3</hits> <notes>sample string 11</notes> <record_id>bb4afc96-4a01-4c75-96b8-1a1d1d02fd30</record_id> <score>2</score> <scoresheet>sample string 13</scoresheet> <sight_mark>sample string 8</sight_mark> <tens>5</tens> </MetaDetails> <MetaDetails> <Xs>6</Xs> <arrows>sample string 9</arrows> <bow>sample string 10</bow> <distance>sample string 7</distance> <face>sample string 12</face> <golds>4</golds> <hits>3</hits> <notes>sample string 11</notes> <record_id>bb4afc96-4a01-4c75-96b8-1a1d1d02fd30</record_id> <score>2</score> <scoresheet>sample string 13</scoresheet> <sight_mark>sample string 8</sight_mark> <tens>5</tens> </MetaDetails> </ArrayOfMetaDetails>
multipart/form-data
Sample:
<ArrayOfMetaDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Golden_Records_App.Models"><MetaDetails><Xs>6</Xs><arrows>sample string 9</arrows><bow>sample string 10</bow><distance>sample string 7</distance><face>sample string 12</face><golds>4</golds><hits>3</hits><notes>sample string 11</notes><record_id>bb4afc96-4a01-4c75-96b8-1a1d1d02fd30</record_id><score>2</score><scoresheet>sample string 13</scoresheet><sight_mark>sample string 8</sight_mark><tens>5</tens></MetaDetails><MetaDetails><Xs>6</Xs><arrows>sample string 9</arrows><bow>sample string 10</bow><distance>sample string 7</distance><face>sample string 12</face><golds>4</golds><hits>3</hits><notes>sample string 11</notes><record_id>bb4afc96-4a01-4c75-96b8-1a1d1d02fd30</record_id><score>2</score><scoresheet>sample string 13</scoresheet><sight_mark>sample string 8</sight_mark><tens>5</tens></MetaDetails></ArrayOfMetaDetails>
application/x-www-form-urlencoded
Sample:
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. |