GET api/Budgets/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

DTOBudget
NameDescriptionTypeAdditional information
Id

integer

None.

ClientId

integer

None.

BudgetName

string

None.

BudgetCode

string

None.

StartDate

date

None.

ExpiryDate

date

None.

BudgetSpendLimit

decimal number

None.

ReachedLimitDate

date

None.

BranchAllowance

decimal number

None.

Reference

string

None.

BudgetStatus

string

None.

CancellationDate

date

None.

CancellationReason

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ClientId": 2,
  "BudgetName": "sample string 3",
  "BudgetCode": "sample string 4",
  "StartDate": "2017-01-20T20:04:48.1463402+00:00",
  "ExpiryDate": "2017-01-20T20:04:48.1463402+00:00",
  "BudgetSpendLimit": 7.0,
  "ReachedLimitDate": "2017-01-20T20:04:48.1463402+00:00",
  "BranchAllowance": 8.0,
  "Reference": "sample string 9",
  "BudgetStatus": "sample string 10",
  "CancellationDate": "2017-01-20T20:04:48.1463402+00:00",
  "CancellationReason": "sample string 11"
}

application/xml, text/xml

Sample:
<Budget xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gecko.BudgetsService.DataTransferObjects">
  <BranchAllowance>8</BranchAllowance>
  <BudgetCode>sample string 4</BudgetCode>
  <BudgetName>sample string 3</BudgetName>
  <BudgetSpendLimit>7</BudgetSpendLimit>
  <BudgetStatus>sample string 10</BudgetStatus>
  <CancellationDate>2017-01-20T20:04:48.1463402+00:00</CancellationDate>
  <CancellationReason>sample string 11</CancellationReason>
  <ClientId>2</ClientId>
  <ExpiryDate>2017-01-20T20:04:48.1463402+00:00</ExpiryDate>
  <Id>1</Id>
  <ReachedLimitDate>2017-01-20T20:04:48.1463402+00:00</ReachedLimitDate>
  <Reference>sample string 9</Reference>
  <StartDate>2017-01-20T20:04:48.1463402+00:00</StartDate>
</Budget>