PUT api/Member/{memberid}/Goal/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

memberid

string

None.

Body Parameters

Goal
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Description

string

None.

Amount

decimal number

None.

PredictedBalance

decimal number

None.

PredictedPercentage

decimal number

None.

ActualBalance

decimal number

None.

ActualPercentage

decimal number

None.

StartDate

date

None.

Status

string

None.

BalanceDate

date

None.

GoalDate

date

None.

AccountSuffixes

Collection of AccountSuffix

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 1",
  "Description": "sample string 2",
  "Amount": 3.0,
  "PredictedBalance": 1.0,
  "PredictedPercentage": 1.0,
  "ActualBalance": 1.0,
  "ActualPercentage": 1.0,
  "StartDate": "2021-05-07T04:15:54.5976013Z",
  "Status": "sample string 5",
  "BalanceDate": "2021-05-07T04:15:54.5976013Z",
  "GoalDate": "2021-05-07T04:15:54.5986068Z",
  "AccountSuffixes": [
    {
      "$id": "2",
      "AccountID": 1,
      "SuffixID": 2,
      "Percentage": 1.0
    },
    {
      "$ref": "2"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Goal
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Description

string

None.

Amount

decimal number

None.

PredictedBalance

decimal number

None.

PredictedPercentage

decimal number

None.

ActualBalance

decimal number

None.

ActualPercentage

decimal number

None.

StartDate

date

None.

Status

string

None.

BalanceDate

date

None.

GoalDate

date

None.

AccountSuffixes

Collection of AccountSuffix

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 1",
  "Description": "sample string 2",
  "Amount": 3.0,
  "PredictedBalance": 1.0,
  "PredictedPercentage": 1.0,
  "ActualBalance": 1.0,
  "ActualPercentage": 1.0,
  "StartDate": "2021-05-07T04:15:54.6066039Z",
  "Status": "sample string 5",
  "BalanceDate": "2021-05-07T04:15:54.6066039Z",
  "GoalDate": "2021-05-07T04:15:54.6066039Z",
  "AccountSuffixes": [
    {
      "$id": "2",
      "AccountID": 1,
      "SuffixID": 2,
      "Percentage": 1.0
    },
    {
      "$ref": "2"
    }
  ]
}