POST api/Budget/SaveCostSheet

Save a direct cost

Request Information

URI Parameters

None.

Body Parameters

DirectCost
NameDescriptionTypeAdditional information
CostCategoryId

CostCategoryIdObject

None.

Items

Collection of DirectCostItem

None.

Request Formats

application/json, text/json

Sample:
{
  "CostCategoryId": {
    "Option": 1,
    "Id": 2
  },
  "Items": [
    {
      "MonthId": 1,
      "Money": 2
    },
    {
      "MonthId": 1,
      "Money": 2
    }
  ]
}

application/xml, text/xml

Sample:
<DirectCost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Budget">
  <CostCategoryId>
    <Id>2</Id>
    <Option>1</Option>
  </CostCategoryId>
  <Items>
    <DirectCostItem>
      <Money>2</Money>
      <MonthId>1</MonthId>
    </DirectCostItem>
    <DirectCostItem>
      <Money>2</Money>
      <MonthId>1</MonthId>
    </DirectCostItem>
  </Items>
</DirectCost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Save a direct cost

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.