PUT api/Meta?recordId={recordId}

Updates all meta associated with a specified score record. The score record is defined by recordid

Request Information

URI Parameters

NameDescriptionTypeAdditional information
recordId

globally unique identifier

Required

Body Parameters

Collection of MetaDetails
NameDescriptionTypeAdditional 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": "d1de83f7-1d03-4e3c-b902-d8a31ea1fff6",
    "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": "d1de83f7-1d03-4e3c-b902-d8a31ea1fff6",
    "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>d1de83f7-1d03-4e3c-b902-d8a31ea1fff6</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>d1de83f7-1d03-4e3c-b902-d8a31ea1fff6</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>d1de83f7-1d03-4e3c-b902-d8a31ea1fff6</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>d1de83f7-1d03-4e3c-b902-d8a31ea1fff6</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:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.