POST CostTypes/DeleteCostType

Request Information

URI Parameters

None.

Body Parameters

costTypesData
NameDescriptionTypeAdditional information
costTypeId

integer

None.

costTypeName

string

None.

costTypeNameAr

string

None.

costTypeNameEn

string

None.

costTypeDeleteStatus

boolean

None.

userId

integer

None.

language

string

None.

page

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "costTypeId": 1,
  "costTypeName": "sample string 2",
  "costTypeNameAr": "sample string 3",
  "costTypeNameEn": "sample string 4",
  "costTypeDeleteStatus": true,
  "userId": 6,
  "language": "sample string 7",
  "page": 8
}

application/xml, text/xml

Sample:
<costTypesData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/spor.Models.Other_Setting.CostTypes">
  <costTypeDeleteStatus>true</costTypeDeleteStatus>
  <costTypeId>1</costTypeId>
  <costTypeName>sample string 2</costTypeName>
  <costTypeNameAr>sample string 3</costTypeNameAr>
  <costTypeNameEn>sample string 4</costTypeNameEn>
  <language>sample string 7</language>
  <page>8</page>
  <userId>6</userId>
</costTypesData>

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 'costTypesData'.

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.