POST api/anularsolicitud

Request Information

URI Parameters

None.

Body Parameters

SolicitudServicioAnularRQT
NameDescriptionTypeAdditional information
IDUser

integer

None.

IDRol

integer

None.

HojaServCodigo

string

None.

Observacion

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IDUser": 1,
  "IDRol": 2,
  "HojaServCodigo": "sample string 3",
  "Observacion": "sample string 4"
}

text/xml

Sample:
<SolicitudServicioAnularRQT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <HojaServCodigo>sample string 3</HojaServCodigo>
  <IDRol>2</IDRol>
  <IDUser>1</IDUser>
  <Observacion>sample string 4</Observacion>
</SolicitudServicioAnularRQT>

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

Response Information

Resource Description

MsjRPS
NameDescriptionTypeAdditional information
Cod

integer

None.

Msj

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Cod": 1,
  "Msj": "sample string 2"
}

text/xml

Sample:
<MsjRPS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContransAPI.Models">
  <Cod>1</Cod>
  <Msj>sample string 2</Msj>
</MsjRPS>