POST api/User/InsertRewardClaim

Request Information

URI Parameters

None.

Body Parameters

RewardClaimModel
NameDescriptionTypeAdditional information
RewardsClaimID

integer

None.

UsersID

integer

None.

FacebookURL

string

None.

InstragramURL

string

None.

TwitterURL

string

None.

SocialOtherURL

string

None.

IsApproved

integer

None.

Description

string

None.

Notes

string

None.

AmountCredited

decimal number

None.

IsApprovedTypeName

string

None.

UserFullName

string

None.

RewardsImageList

Collection of RewardsImageModel

None.

CreatedDate

string

None.

UpdatedDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RewardsClaimID": 1,
  "UsersID": 2,
  "FacebookURL": "sample string 3",
  "InstragramURL": "sample string 4",
  "TwitterURL": "sample string 5",
  "SocialOtherURL": "sample string 6",
  "IsApproved": 7,
  "Description": "sample string 8",
  "Notes": "sample string 9",
  "AmountCredited": 10.0,
  "IsApprovedTypeName": "sample string 11",
  "UserFullName": "sample string 12",
  "RewardsImageList": [
    {
      "RewardsImageID": 1,
      "RewardsClaimID": 2,
      "ImageURL": "sample string 3",
      "CreatedDate": "sample string 4",
      "UpdatedDate": "sample string 5"
    },
    {
      "RewardsImageID": 1,
      "RewardsClaimID": 2,
      "ImageURL": "sample string 3",
      "CreatedDate": "sample string 4",
      "UpdatedDate": "sample string 5"
    }
  ],
  "CreatedDate": "sample string 13",
  "UpdatedDate": "sample string 14"
}

application/xml, text/xml

Sample:
<RewardClaimModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RecycleGreenAPILibrary.BusinessModel">
  <CreatedDate>sample string 13</CreatedDate>
  <UpdatedDate>sample string 14</UpdatedDate>
  <AmountCredited>10</AmountCredited>
  <Description>sample string 8</Description>
  <FacebookURL>sample string 3</FacebookURL>
  <InstragramURL>sample string 4</InstragramURL>
  <IsApproved>7</IsApproved>
  <IsApprovedTypeName>sample string 11</IsApprovedTypeName>
  <Notes>sample string 9</Notes>
  <RewardsClaimID>1</RewardsClaimID>
  <RewardsImageList>
    <RewardsImageModel>
      <CreatedDate>sample string 4</CreatedDate>
      <UpdatedDate>sample string 5</UpdatedDate>
      <ImageURL>sample string 3</ImageURL>
      <RewardsClaimID>2</RewardsClaimID>
      <RewardsImageID>1</RewardsImageID>
    </RewardsImageModel>
    <RewardsImageModel>
      <CreatedDate>sample string 4</CreatedDate>
      <UpdatedDate>sample string 5</UpdatedDate>
      <ImageURL>sample string 3</ImageURL>
      <RewardsClaimID>2</RewardsClaimID>
      <RewardsImageID>1</RewardsImageID>
    </RewardsImageModel>
  </RewardsImageList>
  <SocialOtherURL>sample string 6</SocialOtherURL>
  <TwitterURL>sample string 5</TwitterURL>
  <UserFullName>sample string 12</UserFullName>
  <UsersID>2</UsersID>
</RewardClaimModel>

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 'RewardClaimModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.