POST api/Legend/MultipleDocument

Generar referencias de pago para múltiples documentos

Request Information

URI Parameters

None.

Body Parameters

Lista de los UUID´s para generar la referencia de pago

Collection of string

Request Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/xml, text/xml

Sample:
<ArrayOfString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfString>

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

ResponseModelApiOfMutipleDocumentReferenceModelApi
NameDescriptionTypeAdditional information
success

Indica si la solicitud se procesó de manera satisfactoria

boolean

None.

message

Mensaje de la solicitud

string

None.

messageDetail

Lista de mensajes

Collection of string

None.

failureCode

Código de error en caso de existir

string

None.

data

Layout de respuesta de la solicitud

MutipleDocumentReferenceModelApi

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "messageDetail": [
    "sample string 1",
    "sample string 2"
  ],
  "failureCode": "sample string 3",
  "data": {
    "InternalBankReferences": [
      {
        "BankCode": "sample string 1",
        "BankSortName": "sample string 2",
        "Reference": "sample string 3",
        "ReferenceSpei": "sample string 4",
        "CLABE": "sample string 5",
        "AccountNumber": "sample string 6",
        "Beneficiary": "sample string 7"
      },
      {
        "BankCode": "sample string 1",
        "BankSortName": "sample string 2",
        "Reference": "sample string 3",
        "ReferenceSpei": "sample string 4",
        "CLABE": "sample string 5",
        "AccountNumber": "sample string 6",
        "Beneficiary": "sample string 7"
      }
    ],
    "ExternalPaymentMethodReferences": [
      {
        "Name": "sample string 1",
        "URL": "sample string 2"
      },
      {
        "Name": "sample string 1",
        "URL": "sample string 2"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResponseModelApiOfMutipleDocumentReferenceModelApi xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <success>true</success>
  <message>sample string 2</message>
  <messageDetail>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </messageDetail>
  <failureCode>sample string 3</failureCode>
  <data>
    <InternalBankReferences>
      <BankReferenceModelApi>
        <BankCode>sample string 1</BankCode>
        <BankSortName>sample string 2</BankSortName>
        <Reference>sample string 3</Reference>
        <ReferenceSpei>sample string 4</ReferenceSpei>
        <CLABE>sample string 5</CLABE>
        <AccountNumber>sample string 6</AccountNumber>
        <Beneficiary>sample string 7</Beneficiary>
      </BankReferenceModelApi>
      <BankReferenceModelApi>
        <BankCode>sample string 1</BankCode>
        <BankSortName>sample string 2</BankSortName>
        <Reference>sample string 3</Reference>
        <ReferenceSpei>sample string 4</ReferenceSpei>
        <CLABE>sample string 5</CLABE>
        <AccountNumber>sample string 6</AccountNumber>
        <Beneficiary>sample string 7</Beneficiary>
      </BankReferenceModelApi>
    </InternalBankReferences>
    <ExternalPaymentMethodReferences>
      <ExternalReferenceModelApi>
        <Name>sample string 1</Name>
        <URL>sample string 2</URL>
      </ExternalReferenceModelApi>
      <ExternalReferenceModelApi>
        <Name>sample string 1</Name>
        <URL>sample string 2</URL>
      </ExternalReferenceModelApi>
    </ExternalPaymentMethodReferences>
  </data>
</ResponseModelApiOfMutipleDocumentReferenceModelApi>