POST api/General/ActualizarEstadoCartago

Request Information

URI Parameters

None.

Body Parameters

clsEstadoCartago
NameDescriptionTypeAdditional information
incidentId

string

None.

estado

string

None.

patente

string

None.

documento

string

None.

comentarios

string

None.

token

string

None.

ambiente

string

None.

Request Formats

application/json, text/json

Sample:
{
  "incidentId": "sample string 1",
  "estado": "sample string 2",
  "patente": "sample string 3",
  "documento": "sample string 4",
  "comentarios": "sample string 5",
  "token": "sample string 6",
  "ambiente": "sample string 7"
}

application/xml, text/xml

Sample:
<clsEstadoCartago xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_PROCOMER_Entities">
  <ambiente>sample string 7</ambiente>
  <comentarios>sample string 5</comentarios>
  <documento>sample string 4</documento>
  <estado>sample string 2</estado>
  <incidentId>sample string 1</incidentId>
  <patente>sample string 3</patente>
  <token>sample string 6</token>
</clsEstadoCartago>

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

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

ReturnedCode

integer

None.

Message

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "ReturnedCode": 2,
  "Message": "sample string 3",
  "Result": {}
}

application/xml, text/xml

Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_PROCOMER_Entities">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 3</Message>
  <Result />
  <ReturnedCode>2</ReturnedCode>
</ApiResponse>