POST api/MediosPago

Request Information

URI Parameters

None.

Body Parameters

Tb_MediosPago
NameDescriptionTypeAdditional information
Id_MedioPago

decimal number

None.

MedioPago

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id_MedioPago": 1.0,
  "MedioPago": "sample string 2"
}

application/xml, text/xml

Sample:
<Tb_MediosPago xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Softmarket_Api.Models">
  <Id_MedioPago>1</Id_MedioPago>
  <MedioPago>sample string 2</MedioPago>
</Tb_MediosPago>

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

Response Information

Resource Description

Tb_MediosPago
NameDescriptionTypeAdditional information
Id_MedioPago

decimal number

None.

MedioPago

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id_MedioPago": 1.0,
  "MedioPago": "sample string 2"
}

application/xml, text/xml

Sample:
<Tb_MediosPago xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Softmarket_Api.Models">
  <Id_MedioPago>1</Id_MedioPago>
  <MedioPago>sample string 2</MedioPago>
</Tb_MediosPago>