POST api/FundBudgetLog/Subtract

This subtract method will add a log record and update the amount to the FundBudget.AmountRemaining.

Request Information

URI Parameters

None.

Body Parameters

FundBudgetLogDTO
NameDescriptionTypeAdditional information
FundBudgetID

integer

None.

Amount

decimal number

None.

Note

string

None.

Uid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FundBudgetID": 1,
  "Amount": 2.0,
  "Note": "sample string 3",
  "Uid": 4
}

text/html

Sample:
{"FundBudgetID":1,"Amount":2.0,"Note":"sample string 3","Uid":4}

application/xml, text/xml

Sample:
<FundBudgetLogDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrainingFundREST._BOL">
  <Amount>2</Amount>
  <FundBudgetID>1</FundBudgetID>
  <Note>sample string 3</Note>
  <Uid>4</Uid>
</FundBudgetLogDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StatusDTO
NameDescriptionTypeAdditional information
id

integer

None.

msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "msg": "sample string 1"
}

text/html

Sample:
{"id":1,"msg":"sample string 1"}

application/xml, text/xml

Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrainingFundREST._DAL">
  <id>1</id>
  <msg>sample string 1</msg>
</StatusDTO>