DELETE api/Budgets/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Budget
NameDescriptionTypeAdditional information
Id

integer

Required

Client

Client

Required

BudgetName

string

Required

BudgetCode

string

Required

StartDate

date

Required

ExpiryDate

date

Required

BudgetSpendLimit

decimal number

Required

ReachedLimitDate

date

None.

BranchAllowance

decimal number

Required

Reference

string

Required

BudgetStatus

string

Required

CancellationDate

date

None.

CancellationReason

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Client": {
    "Id": 1,
    "ClientName": "sample string 2"
  },
  "BudgetName": "sample string 2",
  "BudgetCode": "sample string 3",
  "StartDate": "2017-08-19T23:11:50.9244351+01:00",
  "ExpiryDate": "2017-08-19T23:11:50.9244351+01:00",
  "BudgetSpendLimit": 6.0,
  "ReachedLimitDate": "2017-08-19T23:11:50.9244351+01:00",
  "BranchAllowance": 7.0,
  "Reference": "sample string 8",
  "BudgetStatus": "sample string 9",
  "CancellationDate": "2017-08-19T23:11:50.9244351+01:00",
  "CancellationReason": "sample string 10"
}

application/xml, text/xml

Sample:
<Budget xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gecko.BudgetsService.Models">
  <BranchAllowance>7</BranchAllowance>
  <BudgetCode>sample string 3</BudgetCode>
  <BudgetName>sample string 2</BudgetName>
  <BudgetSpendLimit>6</BudgetSpendLimit>
  <BudgetStatus>sample string 9</BudgetStatus>
  <CancellationDate>2017-08-19T23:11:50.9244351+01:00</CancellationDate>
  <CancellationReason>sample string 10</CancellationReason>
  <Client>
    <ClientName>sample string 2</ClientName>
    <Id>1</Id>
  </Client>
  <ExpiryDate>2017-08-19T23:11:50.9244351+01:00</ExpiryDate>
  <Id>1</Id>
  <ReachedLimitDate>2017-08-19T23:11:50.9244351+01:00</ReachedLimitDate>
  <Reference>sample string 8</Reference>
  <StartDate>2017-08-19T23:11:50.9244351+01:00</StartDate>
</Budget>