PUT api/PiggyBankDetailsRest/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

PiggyBankDetails
NameDescriptionTypeAdditional information
PiggyBankDetailsId

integer

None.

PiggyBankName

string

None.

PiggyBankAge

string

None.

PiggyBankGender

string

None.

GoalName

string

None.

GoalAmount

integer

None.

AccountID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PiggyBankDetailsId": 1,
  "PiggyBankName": "sample string 2",
  "PiggyBankAge": "sample string 3",
  "PiggyBankGender": "sample string 4",
  "GoalName": "sample string 5",
  "GoalAmount": 6,
  "AccountID": 7
}

application/xml, text/xml

Sample:
<PiggyBankDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InnoBank.Models">
  <AccountID>7</AccountID>
  <GoalAmount>6</GoalAmount>
  <GoalName>sample string 5</GoalName>
  <PiggyBankAge>sample string 3</PiggyBankAge>
  <PiggyBankDetailsId>1</PiggyBankDetailsId>
  <PiggyBankGender>sample string 4</PiggyBankGender>
  <PiggyBankName>sample string 2</PiggyBankName>
</PiggyBankDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.