POST costs/restorecost
Request Information
URI Parameters
None.
Body Parameters
costsData| Name | Description | Type | Additional information |
|---|---|---|---|
| costId | integer |
None. |
|
| userId | integer |
None. |
|
| date | string |
None. |
|
| time | string |
None. |
|
| branchId | integer |
None. |
|
| costTypeId | integer |
None. |
|
| costImagePath | string |
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,
"costImagePath": "sample string 7",
"costMony": 8.0,
"notes": "sample string 9",
"costDeleteStatus": true,
"language": "sample string 11",
"page": 12,
"year": 13,
"month": 14
}
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> <costImagePath>sample string 7</costImagePath> <costMony>8</costMony> <costTypeId>6</costTypeId> <date>sample string 3</date> <language>sample string 11</language> <month>14</month> <notes>sample string 9</notes> <page>12</page> <time>sample string 4</time> <userId>2</userId> <year>13</year> </costsData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |