POST api/RegistroHoras/exportar-excel-generado

Request Information

URI Parameters

None.

Body Parameters

ExportRequestDto
NameDescriptionTypeAdditional information
Data

Collection of Dictionary of string [key] and Object [value]

None.

ColumnasFechas

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "sample string 1": {},
      "sample string 3": {}
    },
    {
      "sample string 1": {},
      "sample string 3": {}
    }
  ],
  "ColumnasFechas": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ExportRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArellanoAPI.Models.RegistroHoras">
  <ColumnasFechas xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ColumnasFechas>
  <Data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:ArrayOfKeyValueOfstringanyType>
      <d2p1:KeyValueOfstringanyType>
        <d2p1:Key>sample string 1</d2p1:Key>
        <d2p1:Value />
      </d2p1:KeyValueOfstringanyType>
      <d2p1:KeyValueOfstringanyType>
        <d2p1:Key>sample string 3</d2p1:Key>
        <d2p1:Value />
      </d2p1:KeyValueOfstringanyType>
    </d2p1:ArrayOfKeyValueOfstringanyType>
    <d2p1:ArrayOfKeyValueOfstringanyType>
      <d2p1:KeyValueOfstringanyType>
        <d2p1:Key>sample string 1</d2p1:Key>
        <d2p1:Value />
      </d2p1:KeyValueOfstringanyType>
      <d2p1:KeyValueOfstringanyType>
        <d2p1:Key>sample string 3</d2p1:Key>
        <d2p1:Value />
      </d2p1:KeyValueOfstringanyType>
    </d2p1:ArrayOfKeyValueOfstringanyType>
  </Data>
</ExportRequestDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseAPI
NameDescriptionTypeAdditional information
Exito

boolean

None.

Mensaje

string

None.

Excepcion

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Exito": true,
  "Mensaje": "sample string 2",
  "Excepcion": "sample string 3",
  "Data": {}
}

application/xml, text/xml

Sample:
<ResponseAPI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ArellanoAPI.Models">
  <Data />
  <Excepcion>sample string 3</Excepcion>
  <Exito>true</Exito>
  <Mensaje>sample string 2</Mensaje>
</ResponseAPI>