POST api/v2/Loyalty

Complete URL https://api.thyngs.net/api/v2/Loyalty

Request Information

URI Parameters

None.

Body Parameters

FreeStampApiModel
NameDescriptionTypeAdditional information
appUserId

string

None.

thyngCode

string

None.

giveAmount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "appUserId": "sample string 1",
  "thyngCode": "sample string 2",
  "giveAmount": 1
}

application/xml, text/xml

Sample:
<LoyaltyController.FreeStampApiModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Controllers.v1">
  <appUserId>sample string 1</appUserId>
  <giveAmount>1</giveAmount>
  <thyngCode>sample string 2</thyngCode>
</LoyaltyController.FreeStampApiModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.