POST api/importarPACs

Request Information

URI Parameters

None.

Body Parameters

ImportacionRequest
NameDescriptionTypeAdditional information
ArrayRequest

Collection of FinkokRequest

None.

IdSucursal

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ArrayRequest": [
    {
      "Id": 1,
      "Uuid": "sample string 2",
      "RfcEmisor": "sample string 3"
    },
    {
      "Id": 1,
      "Uuid": "sample string 2",
      "RfcEmisor": "sample string 3"
    }
  ],
  "IdSucursal": 1
}

application/xml, text/xml

Sample:
<ImportacionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model.Dto">
  <ArrayRequest>
    <FinkokRequest>
      <Id>1</Id>
      <RfcEmisor>sample string 3</RfcEmisor>
      <Uuid>sample string 2</Uuid>
    </FinkokRequest>
    <FinkokRequest>
      <Id>1</Id>
      <RfcEmisor>sample string 3</RfcEmisor>
      <Uuid>sample string 2</Uuid>
    </FinkokRequest>
  </ArrayRequest>
  <IdSucursal>1</IdSucursal>
</ImportacionRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GenericResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<GenericResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Helpers">
  <Data />
  <Message>sample string 2</Message>
  <Success>true</Success>
</GenericResponse>