POST api/Cuenta/PagoViumi

Se genera y obtiene un link de pago de Viumi.

Request Information

URI Parameters

None.

Body Parameters

Collection of Item
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

unitPrice

UnitPrice

None.

quantity

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2",
    "unitPrice": {
      "currency": "sample string 1",
      "amount": 2
    },
    "quantity": 3
  },
  {
    "id": 1,
    "name": "sample string 2",
    "unitPrice": {
      "currency": "sample string 1",
      "amount": 2
    },
    "quantity": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClasesMutual.Viumi">
  <Item>
    <id>1</id>
    <name>sample string 2</name>
    <quantity>3</quantity>
    <unitPrice>
      <amount>2</amount>
      <currency>sample string 1</currency>
    </unitPrice>
  </Item>
  <Item>
    <id>1</id>
    <name>sample string 2</name>
    <quantity>3</quantity>
    <unitPrice>
      <amount>2</amount>
      <currency>sample string 1</currency>
    </unitPrice>
  </Item>
</ArrayOfItem>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.