POST api/faqs/vincularOrigenesEmpresaMasivo

Request Information

URI Parameters

None.

Body Parameters

clonarOrigenesEmpresaRequest
NameDescriptionTypeAdditional information
idOrigenInicio

integer

None.

codEmpresaInicio

string

None.

idOrigenDestino

integer

None.

codEmpresaDestino

string

None.

idsPregunta

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "idOrigenInicio": 1,
  "codEmpresaInicio": "sample string 1",
  "idOrigenDestino": 1,
  "codEmpresaDestino": "sample string 2",
  "idsPregunta": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<clonarOrigenesEmpresaRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Core.Models.Faqs">
  <codEmpresaDestino>sample string 2</codEmpresaDestino>
  <codEmpresaInicio>sample string 1</codEmpresaInicio>
  <idOrigenDestino>1</idOrigenDestino>
  <idOrigenInicio>1</idOrigenInicio>
  <idsPregunta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </idsPregunta>
</clonarOrigenesEmpresaRequest>

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

Response Information

Resource Description

ConfirmacionResponse
NameDescriptionTypeAdditional information
Correcto

boolean

None.

Mensaje

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Correcto": true,
  "Mensaje": "sample string 2"
}

application/xml, text/xml

Sample:
<ConfirmacionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Core.Models.Genericos">
  <Correcto>true</Correcto>
  <Mensaje>sample string 2</Mensaje>
</ConfirmacionResponse>