POST Operations/updateOperation

Request Information

URI Parameters

None.

Body Parameters

operationsData
NameDescriptionTypeAdditional information
operationId

integer

None.

operationName

string

None.

operationNameAr

string

None.

operationNameEn

string

None.

operationDeleteStatus

boolean

None.

userId

integer

None.

language

string

None.

page

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "operationId": 1,
  "operationName": "sample string 2",
  "operationNameAr": "sample string 3",
  "operationNameEn": "sample string 4",
  "operationDeleteStatus": true,
  "userId": 6,
  "language": "sample string 7",
  "page": 8
}

application/xml, text/xml

Sample:
<operationsData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/spor.Models.Other_Setting.Operations">
  <language>sample string 7</language>
  <operationDeleteStatus>true</operationDeleteStatus>
  <operationId>1</operationId>
  <operationName>sample string 2</operationName>
  <operationNameAr>sample string 3</operationNameAr>
  <operationNameEn>sample string 4</operationNameEn>
  <page>8</page>
  <userId>6</userId>
</operationsData>

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

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.