Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Div
classkt-main

ADD AN EXPENSE

Div
classkt-lozenge kt-put

PUT

Div
classkt-url

/actual/{folioId}/expense

Div
classkt-break
ParameterType
folioIdLong

Requests : application/json

OCCURRING ONCE 

{
   "category":"OPEX",
   "recurrence":{
      "displayRecurrence":"Once on 1/Aug/13",
      "frequency":{
         "name":"ONCE",
         "displayName":"Once"
      },
      "recurrenceBy":{},
      "startDate":"1/Aug/13",
      "occurrences":1,
      "canBeAmortized":false
   },
   "name":"NAME",
   "amount":"1000",
   "type":"EXPENSE TYPE",
   "description":"DESCRIPTION"
}

 


Panel
borderColor#DDDDDD
borderStylesolid

{
   "category":"OPEX",
   "recurrence":{
      "displayRecurrence":"Once on 1/Aug/13",
      "frequency":{
         "name":"ONCE",
         "displayName":"Once"
      },
      "recurrenceBy":{},
      "startDate":"1/Aug/13",
      "occurrences":1,
      "canBeAmortized":false
   },
   "name":"NAME",
   "amount":"1000",
   "type":"EXPENSE TYPE",
   "description":"DESCRIPTION"
}

Representation : application/json

 

 

CREATE EXPENSE

Div
classkt-lozenge kt-post

POST

Div
classkt-url

/budget/{folioId}/expense

Div
stylekt-breal

 

UPDATE EXPENSE

Div
classkt-lozenge kt-put

PUT

Div
classkt-url

/budget/{folioId}/expense/

Div
stylekt-breal

 

COPY TO ACTUAL

Div
classkt-lozenge kt-post

POST

Div
classkt-url

/budget/copyToActual/expenses

Div
stylekt-breal

 

DELETE EXPENSES & POSITIONS

Div
classkt-lozenge kt-post

POST

Div
classkt-url

/budget/{folioId}/remove/expenses

Div
stylekt-breal

 

CREATE POSITION

Div
classkt-lozenge kt-post

POST

Div
classkt-url

/budget/{folioId}/position

UPDATE POSITION

Div
classkt-lozenge kt-put

PUT

Div
classkt-url

/budget/{folioId}/position

Div
stylekt-breal

 

...