POST api/IMSBudget/SaveLineItem

Request Information

URI Parameters

None.

Body Parameters

IMSBudgetLineItemsCreationModel
NameDescriptionTypeAdditional information
month

integer

None.

year

integer

None.

distributorId

integer

None.

channelId

integer

None.

budgetId

integer

None.

lineItemId

integer

None.

spendDetailId

integer

None.

costCenterId

integer

None.

skuId

integer

None.

cases

decimal number

None.

lineItemValue

decimal number

None.

spendTags

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "month": 1,
  "year": 2,
  "distributorId": 3,
  "channelId": 4,
  "budgetId": 5,
  "lineItemId": 6,
  "spendDetailId": 1,
  "costCenterId": 1,
  "skuId": 7,
  "cases": 8.0,
  "lineItemValue": 9.0,
  "spendTags": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<IMSBudgetLineItemsCreationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ICE.BusinessLayer.Models">
  <budgetId>5</budgetId>
  <cases>8</cases>
  <channelId>4</channelId>
  <costCenterId>1</costCenterId>
  <distributorId>3</distributorId>
  <lineItemId>6</lineItemId>
  <lineItemValue>9</lineItemValue>
  <month>1</month>
  <skuId>7</skuId>
  <spendDetailId>1</spendDetailId>
  <spendTags xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </spendTags>
  <year>2</year>
</IMSBudgetLineItemsCreationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.