POST api/ptp/postprepagoguardar

Request Information

URI Parameters

None.

Body Parameters

PtpPrepagoMensaje
NameDescriptionTypeAdditional information
Idptp_prepago

integer

None.

Id_compania

string

None.

Id_agencia

string

None.

Nombre_Agencia

string

None.

Id_division

string

None.

Nombre_Division

string

None.

Id_numero_orden

string

None.

Num_Doc

string

None.

Num_Secuencia

string

None.

Class_Document

string

None.

Request_id

string

None.

Proces_url

string

None.

Ptp_Num_Referencia

string

None.

Id_cod_cliente

string

None.

Status_pago

string

None.

Usuario_genera

string

None.

FechaFactura

date

None.

Cliente

string

None.

MtdActualiza

string

None.

MtdGenera

string

None.

ValorAPagar

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Idptp_prepago": 1,
  "Id_compania": "sample string 2",
  "Id_agencia": "sample string 3",
  "Nombre_Agencia": "sample string 4",
  "Id_division": "sample string 5",
  "Nombre_Division": "sample string 6",
  "Id_numero_orden": "sample string 7",
  "Num_Doc": "sample string 8",
  "Num_Secuencia": "sample string 9",
  "Class_Document": "sample string 10",
  "Request_id": "sample string 11",
  "Proces_url": "sample string 12",
  "Ptp_Num_Referencia": "sample string 13",
  "Id_cod_cliente": "sample string 14",
  "Status_pago": "sample string 15",
  "Usuario_genera": "sample string 16",
  "FechaFactura": "2020-10-01T06:01:20.5737917+00:00",
  "Cliente": "sample string 18",
  "MtdActualiza": "sample string 19",
  "MtdGenera": "sample string 20",
  "ValorAPagar": 21.0
}

application/xml, text/xml

Sample:
<PtpPrepagoMensaje xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MENSAJE">
  <Class_Document>sample string 10</Class_Document>
  <Cliente>sample string 18</Cliente>
  <FechaFactura>2020-10-01T06:01:20.5737917+00:00</FechaFactura>
  <Id_agencia>sample string 3</Id_agencia>
  <Id_cod_cliente>sample string 14</Id_cod_cliente>
  <Id_compania>sample string 2</Id_compania>
  <Id_division>sample string 5</Id_division>
  <Id_numero_orden>sample string 7</Id_numero_orden>
  <Idptp_prepago>1</Idptp_prepago>
  <MtdActualiza>sample string 19</MtdActualiza>
  <MtdGenera>sample string 20</MtdGenera>
  <Nombre_Agencia>sample string 4</Nombre_Agencia>
  <Nombre_Division>sample string 6</Nombre_Division>
  <Num_Doc>sample string 8</Num_Doc>
  <Num_Secuencia>sample string 9</Num_Secuencia>
  <Proces_url>sample string 12</Proces_url>
  <Ptp_Num_Referencia>sample string 13</Ptp_Num_Referencia>
  <Request_id>sample string 11</Request_id>
  <Status_pago>sample string 15</Status_pago>
  <Usuario_genera>sample string 16</Usuario_genera>
  <ValorAPagar>21</ValorAPagar>
</PtpPrepagoMensaje>

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

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.