GET api/Budgets/{budgetId}/User/{userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

budgetId

integer

Required

Body Parameters

None.

Response Information

Resource Description

BudgetDetail
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.

TotalAllocated

decimal number

None.

SpendToDate

decimal number

None.

Balance

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ClientId": 2,
  "BudgetName": "sample string 3",
  "BudgetCode": "sample string 4",
  "StartDate": "2017-03-23T02:04:06.9218982+00:00",
  "ExpiryDate": "2017-03-23T02:04:06.9218982+00:00",
  "BudgetSpendLimit": 7.0,
  "ReachedLimitDate": "2017-03-23T02:04:06.9218982+00:00",
  "BranchAllowance": 8.0,
  "Reference": "sample string 9",
  "BudgetStatus": "sample string 10",
  "CancellationDate": "2017-03-23T02:04:06.9218982+00:00",
  "CancellationReason": "sample string 11",
  "TotalAllocated": 12.0,
  "SpendToDate": 13.0,
  "Balance": 14.0
}

application/xml, text/xml

Sample:
<BudgetDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gecko.BudgetsService.DataTransferObjects">
  <Balance>14</Balance>
  <BranchAllowance>8</BranchAllowance>
  <BudgetCode>sample string 4</BudgetCode>
  <BudgetName>sample string 3</BudgetName>
  <BudgetSpendLimit>7</BudgetSpendLimit>
  <BudgetStatus>sample string 10</BudgetStatus>
  <CancellationDate>2017-03-23T02:04:06.9218982+00:00</CancellationDate>
  <CancellationReason>sample string 11</CancellationReason>
  <ClientId>2</ClientId>
  <ExpiryDate>2017-03-23T02:04:06.9218982+00:00</ExpiryDate>
  <Id>1</Id>
  <ReachedLimitDate>2017-03-23T02:04:06.9218982+00:00</ReachedLimitDate>
  <Reference>sample string 9</Reference>
  <SpendToDate>13</SpendToDate>
  <StartDate>2017-03-23T02:04:06.9218982+00:00</StartDate>
  <TotalAllocated>12</TotalAllocated>
</BudgetDetail>