POST Api/Capex/Input/capex_CostCentre_Add_AsList

Request Information

URI Parameters

None.

Body Parameters

capex_add
NameDescriptionTypeAdditional information
Branch_Code

string

None.

Item

string

None.

Month1

decimal number

None.

Month2

decimal number

None.

Month3

decimal number

None.

Month4

decimal number

None.

Month5

decimal number

None.

Month6

decimal number

None.

Month7

decimal number

None.

Month8

decimal number

None.

Month9

decimal number

None.

Month10

decimal number

None.

Month11

decimal number

None.

Month12

decimal number

None.

User

string

None.

Purchased_Date

date

None.

Qty

integer

None.

no

string

None.

existing

integer

None.

disposal

integer

None.

ParentCode

string

None.

Price

decimal number

None.

id

integer

None.

justification

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Branch_Code": "sample string 1",
  "Item": "sample string 2",
  "Month1": 3.0,
  "Month2": 4.0,
  "Month3": 5.0,
  "Month4": 6.0,
  "Month5": 7.0,
  "Month6": 8.0,
  "Month7": 9.0,
  "Month8": 10.0,
  "Month9": 11.0,
  "Month10": 12.0,
  "Month11": 13.0,
  "Month12": 14.0,
  "User": "sample string 15",
  "Purchased_Date": "2025-05-20T17:31:11.0000288+01:00",
  "Qty": 17,
  "no": "sample string 18",
  "existing": 19,
  "disposal": 20,
  "ParentCode": "sample string 21",
  "Price": 22.0,
  "id": 23,
  "justification": "sample string 24"
}

text/html

Sample:
{"Branch_Code":"sample string 1","Item":"sample string 2","Month1":3.0,"Month2":4.0,"Month3":5.0,"Month4":6.0,"Month5":7.0,"Month6":8.0,"Month7":9.0,"Month8":10.0,"Month9":11.0,"Month10":12.0,"Month11":13.0,"Month12":14.0,"User":"sample string 15","Purchased_Date":"2025-05-20T17:31:11.0000288+01:00","Qty":17,"no":"sample string 18","existing":19,"disposal":20,"ParentCode":"sample string 21","Price":22.0,"id":23,"justification":"sample string 24"}

application/xml, text/xml

Sample:
<capex_add xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BudgetAPI.Models.Input">
  <Branch_Code>sample string 1</Branch_Code>
  <Item>sample string 2</Item>
  <Month1>3</Month1>
  <Month10>12</Month10>
  <Month11>13</Month11>
  <Month12>14</Month12>
  <Month2>4</Month2>
  <Month3>5</Month3>
  <Month4>6</Month4>
  <Month5>7</Month5>
  <Month6>8</Month6>
  <Month7>9</Month7>
  <Month8>10</Month8>
  <Month9>11</Month9>
  <ParentCode>sample string 21</ParentCode>
  <Price>22</Price>
  <Purchased_Date>2025-05-20T17:31:11.0000288+01:00</Purchased_Date>
  <Qty>17</Qty>
  <User>sample string 15</User>
  <disposal>20</disposal>
  <existing>19</existing>
  <id>23</id>
  <justification>sample string 24</justification>
  <no>sample string 18</no>
</capex_add>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.