POST api/ScannedBadges

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
value
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "guid": "sample string 1",
  "ScannedBadges": "sample string 2"
}

application/xml, text/xml

Sample:
<ScannedBadgeEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Evenement.Event2.API.Models">
  <ScannedBadges>sample string 2</ScannedBadges>
  <guid>sample string 1</guid>
</ScannedBadgeEntry>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ScannedBadgeEntry'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Dev_Serial": "sample string 1",
  "Access_Code": "sample string 2",
  "Err": {
    "ErrorNumber": 1,
    "ErrorMessage": "sample string 2",
    "ErrorDebugInfo": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<ScannedBadgResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Evenement.Event2.API.Models">
  <Access_Code>sample string 2</Access_Code>
  <Dev_Serial>sample string 1</Dev_Serial>
  <Err>
    <ErrorDebugInfo>sample string 3</ErrorDebugInfo>
    <ErrorMessage>sample string 2</ErrorMessage>
    <ErrorNumber>1</ErrorNumber>
  </Err>
</ScannedBadgResult>