POST api/BeaconsRest

Request Information

URI Parameters

None.

Body Parameters

Beacon
NameDescriptionTypeAdditional information
BeaconID

integer

None.

BeaconDistance

string

None.

CustomerID

integer

None.

BeaconType

integer

None.

PromptUser

boolean

None.

UserPromptMessage

string

None.

MerchantID

integer

None.

MerchantName

string

None.

MerchantAddress

string

None.

CheckedIn

boolean

None.

TabAmount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BeaconID": 1,
  "BeaconDistance": "sample string 2",
  "CustomerID": 3,
  "BeaconType": 4,
  "PromptUser": true,
  "UserPromptMessage": "sample string 6",
  "MerchantID": 7,
  "MerchantName": "sample string 8",
  "MerchantAddress": "sample string 9",
  "CheckedIn": true,
  "TabAmount": 11
}

application/xml, text/xml

Sample:
<Beacon xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InnoBank.Models">
  <BeaconDistance>sample string 2</BeaconDistance>
  <BeaconID>1</BeaconID>
  <BeaconType>4</BeaconType>
  <CheckedIn>true</CheckedIn>
  <CustomerID>3</CustomerID>
  <MerchantAddress>sample string 9</MerchantAddress>
  <MerchantID>7</MerchantID>
  <MerchantName>sample string 8</MerchantName>
  <PromptUser>true</PromptUser>
  <TabAmount>11</TabAmount>
  <UserPromptMessage>sample string 6</UserPromptMessage>
</Beacon>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Beacon
NameDescriptionTypeAdditional information
BeaconID

integer

None.

BeaconDistance

string

None.

CustomerID

integer

None.

BeaconType

integer

None.

PromptUser

boolean

None.

UserPromptMessage

string

None.

MerchantID

integer

None.

MerchantName

string

None.

MerchantAddress

string

None.

CheckedIn

boolean

None.

TabAmount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "BeaconID": 1,
  "BeaconDistance": "sample string 2",
  "CustomerID": 3,
  "BeaconType": 4,
  "PromptUser": true,
  "UserPromptMessage": "sample string 6",
  "MerchantID": 7,
  "MerchantName": "sample string 8",
  "MerchantAddress": "sample string 9",
  "CheckedIn": true,
  "TabAmount": 11
}

application/xml, text/xml

Sample:
<Beacon xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InnoBank.Models">
  <BeaconDistance>sample string 2</BeaconDistance>
  <BeaconID>1</BeaconID>
  <BeaconType>4</BeaconType>
  <CheckedIn>true</CheckedIn>
  <CustomerID>3</CustomerID>
  <MerchantAddress>sample string 9</MerchantAddress>
  <MerchantID>7</MerchantID>
  <MerchantName>sample string 8</MerchantName>
  <PromptUser>true</PromptUser>
  <TabAmount>11</TabAmount>
  <UserPromptMessage>sample string 6</UserPromptMessage>
</Beacon>