POST api/HorariosContraprestacionDetalle

Request Information

URI Parameters

None.

Body Parameters

HorariosContraprestacion
NameDescriptionTypeAdditional information
IDTarifa

integer

None.

Descripcion

string

None.

TarifasPorHorario

Collection of HorariosContraprestacionDetalle

None.

Request Formats

application/json, text/json

Sample:
{
  "IDTarifa": 1,
  "Descripcion": "sample string 2",
  "TarifasPorHorario": [
    {
      "HORCONPSDidHorarioCont": 1,
      "HORCONPSDtipoHorario": 2,
      "HORCONPSDdiaSemana": 3,
      "HORCONPSDhoraInicial": 4,
      "HORCONPSDhoraFinal": 5,
      "HORCONPSDadmisionGiro": 6.0,
      "HORCONPSDentregaGiro": 7.0,
      "HORCONPSDpago": 8.0,
      "HORCONPSDrecaudo": 9.0,
      "HORCONPSDrecarga": 10.0
    },
    {
      "HORCONPSDidHorarioCont": 1,
      "HORCONPSDtipoHorario": 2,
      "HORCONPSDdiaSemana": 3,
      "HORCONPSDhoraInicial": 4,
      "HORCONPSDhoraFinal": 5,
      "HORCONPSDadmisionGiro": 6.0,
      "HORCONPSDentregaGiro": 7.0,
      "HORCONPSDpago": 8.0,
      "HORCONPSDrecaudo": 9.0,
      "HORCONPSDrecarga": 10.0
    }
  ]
}

application/xml, text/xml

Sample:
<HorariosContraprestacion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.Dynamics.Entidades">
  <Descripcion>sample string 2</Descripcion>
  <IDTarifa>1</IDTarifa>
  <TarifasPorHorario>
    <HorariosContraprestacionDetalle>
      <HORCONPSDadmisionGiro>6</HORCONPSDadmisionGiro>
      <HORCONPSDdiaSemana>3</HORCONPSDdiaSemana>
      <HORCONPSDentregaGiro>7</HORCONPSDentregaGiro>
      <HORCONPSDhoraFinal>5</HORCONPSDhoraFinal>
      <HORCONPSDhoraInicial>4</HORCONPSDhoraInicial>
      <HORCONPSDidHorarioCont>1</HORCONPSDidHorarioCont>
      <HORCONPSDpago>8</HORCONPSDpago>
      <HORCONPSDrecarga>10</HORCONPSDrecarga>
      <HORCONPSDrecaudo>9</HORCONPSDrecaudo>
      <HORCONPSDtipoHorario>2</HORCONPSDtipoHorario>
    </HorariosContraprestacionDetalle>
    <HorariosContraprestacionDetalle>
      <HORCONPSDadmisionGiro>6</HORCONPSDadmisionGiro>
      <HORCONPSDdiaSemana>3</HORCONPSDdiaSemana>
      <HORCONPSDentregaGiro>7</HORCONPSDentregaGiro>
      <HORCONPSDhoraFinal>5</HORCONPSDhoraFinal>
      <HORCONPSDhoraInicial>4</HORCONPSDhoraInicial>
      <HORCONPSDidHorarioCont>1</HORCONPSDidHorarioCont>
      <HORCONPSDpago>8</HORCONPSDpago>
      <HORCONPSDrecarga>10</HORCONPSDrecarga>
      <HORCONPSDrecaudo>9</HORCONPSDrecaudo>
      <HORCONPSDtipoHorario>2</HORCONPSDtipoHorario>
    </HorariosContraprestacionDetalle>
  </TarifasPorHorario>
</HorariosContraprestacion>

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

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.