POST costs/updateCosts

Request Information

URI Parameters

None.

Body Parameters

costsData
NameDescriptionTypeAdditional information
costId

integer

None.

userId

integer

None.

date

string

None.

time

string

None.

branchId

integer

None.

costTypeId

integer

None.

costMony

decimal number

None.

notes

string

None.

costDeleteStatus

boolean

None.

language

string

None.

page

integer

None.

year

integer

None.

month

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "costId": 1,
  "userId": 2,
  "date": "sample string 3",
  "time": "sample string 4",
  "branchId": 5,
  "costTypeId": 6,
  "costMony": 7.0,
  "notes": "sample string 8",
  "costDeleteStatus": true,
  "language": "sample string 10",
  "page": 11,
  "year": 12,
  "month": 13
}

application/xml, text/xml

Sample:
<costsData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/spor.Models.costs">
  <branchId>5</branchId>
  <costDeleteStatus>true</costDeleteStatus>
  <costId>1</costId>
  <costMony>7</costMony>
  <costTypeId>6</costTypeId>
  <date>sample string 3</date>
  <language>sample string 10</language>
  <month>13</month>
  <notes>sample string 8</notes>
  <page>11</page>
  <time>sample string 4</time>
  <userId>2</userId>
  <year>12</year>
</costsData>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'costsData'.

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.