GET api/App/GetDocumentAttachments?CountryId={CountryId}&DocumentId={DocumentId}&Date={Date}&Sent={Sent}

Retorna una lista de adjunto para un documento

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CountryId

Pais del documento

string

Required

DocumentId

Identificador del documento

globally unique identifier

Required

Date

Fecha de documento

date

Required

Sent

Sent: true -> muestra los attachments etiquetados para solo visualizacion del emisor Sent: false -> muestra los attachments etiquetados para solo visualizacion del receptor

boolean

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Attachment
NameDescriptionTypeAdditional information
AttachmentId

globally unique identifier

None.

DocumentId

globally unique identifier

None.

AttachmentTypeId

integer

None.

AttachmentTypeName

string

None.

Name

string

None.

Description

string

None.

Date

date

None.

FileExt

string

None.

ShowSender

boolean

None.

ShowReceiver

boolean

None.

RefSenderCode

string

None.

RefDocumentTypeId

integer

None.

RefNumber

integer

None.

RefSeries

string

None.

RefDate

date

None.

StatusCode

string

None.

StatusDescription

string

None.

Document

Document

None.

CreatedById

globally unique identifier

None.

CreationSource

string

None.

CreatedBy

string

None.

Timestamp

date

None.

LastUpated

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AttachmentId": "0f75b870-a348-4d17-afca-57f999d26f7e",
    "DocumentId": "16d5f52b-98fa-4dcb-943a-6b5bec71bb7c",
    "AttachmentTypeId": 3,
    "AttachmentTypeName": "sample string 4",
    "Name": "sample string 5",
    "Description": "sample string 6",
    "Date": "2024-05-08T11:21:38.132546+00:00",
    "FileExt": "sample string 8",
    "ShowSender": true,
    "ShowReceiver": true,
    "RefSenderCode": "sample string 11",
    "RefDocumentTypeId": 12,
    "RefNumber": 13,
    "RefSeries": "sample string 14",
    "RefDate": "2024-05-08T11:21:38.132546+00:00",
    "StatusCode": "sample string 16",
    "StatusDescription": "sample string 17",
    "Document": {
      "DocumentId": "121be080-28fd-48dc-80f1-d385bef7f3d8",
      "SenderId": "b17aa906-519f-48f3-87b7-e8aefebb4430",
      "ReceiverId": "5aead6cd-572e-45fd-83c0-8909c362c243",
      "DocumentTypeId": 4,
      "DocumentTypeName": "sample string 5",
      "Country": "sample string 6",
      "CurrencyTypeId": 1,
      "CurrencyTypeName": "sample string 7",
      "Number": 8,
      "Series": "sample string 9",
      "SenderCode": "sample string 10",
      "SenderName": "sample string 11",
      "ReceiverCode": "sample string 12",
      "ReceiverName": "sample string 13",
      "Date": "2024-05-08T11:21:38.132546+00:00",
      "NetAmount": 15.0,
      "TaxAmount": 16.0,
      "FreeAmount": 17.0,
      "TotalAmount": 18.0,
      "DateNumber": 19,
      "Timestamp": "2024-05-08T11:21:38.132546+00:00",
      "LastUpated": "2024-05-08T11:21:38.132546+00:00",
      "SyncPointId": "ee1ca205-c85a-4dd9-946f-5b89929422c6",
      "BatchId": "907ec6b3-5296-43f8-9ef3-4f49378ee82a",
      "CreationSource": "sample string 21",
      "CreatedBy": "sample string 22",
      "ExpirationDate": "2024-05-08T11:21:38.132546+00:00",
      "ReceptionIRSDate": "2024-05-08T11:21:38.132546+00:00",
      "CurrencyFactor": 23.0,
      "DocumentTag": {
        "Code": "sample string 1",
        "TimeStamp": "2024-05-08T11:21:38.132546+00:00",
        "Value": "sample string 3",
        "Complement": "sample string 4"
      },
      "DiscountAmount": 24.0,
      "PaymentMethod": "sample string 25",
      "TaxDetails": [
        {
          "TaxCode": "sample string 1",
          "RateCode": "sample string 2",
          "Percent": 1.0,
          "TaxAmount": 3.0
        },
        {
          "TaxCode": "sample string 1",
          "RateCode": "sample string 2",
          "Percent": 1.0,
          "TaxAmount": 3.0
        }
      ],
      "WayToPay": 1,
      "CountryDocumentId": "sample string 26",
      "SeriesNumber": "sample string 27"
    },
    "CreatedById": "6360f6eb-c570-491d-b1a8-248cf4460afa",
    "CreationSource": "sample string 18",
    "CreatedBy": "sample string 19",
    "Timestamp": "2024-05-08T11:21:38.132546+00:00",
    "LastUpated": "2024-05-08T11:21:38.132546+00:00"
  },
  {
    "AttachmentId": "0f75b870-a348-4d17-afca-57f999d26f7e",
    "DocumentId": "16d5f52b-98fa-4dcb-943a-6b5bec71bb7c",
    "AttachmentTypeId": 3,
    "AttachmentTypeName": "sample string 4",
    "Name": "sample string 5",
    "Description": "sample string 6",
    "Date": "2024-05-08T11:21:38.132546+00:00",
    "FileExt": "sample string 8",
    "ShowSender": true,
    "ShowReceiver": true,
    "RefSenderCode": "sample string 11",
    "RefDocumentTypeId": 12,
    "RefNumber": 13,
    "RefSeries": "sample string 14",
    "RefDate": "2024-05-08T11:21:38.132546+00:00",
    "StatusCode": "sample string 16",
    "StatusDescription": "sample string 17",
    "Document": {
      "DocumentId": "121be080-28fd-48dc-80f1-d385bef7f3d8",
      "SenderId": "b17aa906-519f-48f3-87b7-e8aefebb4430",
      "ReceiverId": "5aead6cd-572e-45fd-83c0-8909c362c243",
      "DocumentTypeId": 4,
      "DocumentTypeName": "sample string 5",
      "Country": "sample string 6",
      "CurrencyTypeId": 1,
      "CurrencyTypeName": "sample string 7",
      "Number": 8,
      "Series": "sample string 9",
      "SenderCode": "sample string 10",
      "SenderName": "sample string 11",
      "ReceiverCode": "sample string 12",
      "ReceiverName": "sample string 13",
      "Date": "2024-05-08T11:21:38.132546+00:00",
      "NetAmount": 15.0,
      "TaxAmount": 16.0,
      "FreeAmount": 17.0,
      "TotalAmount": 18.0,
      "DateNumber": 19,
      "Timestamp": "2024-05-08T11:21:38.132546+00:00",
      "LastUpated": "2024-05-08T11:21:38.132546+00:00",
      "SyncPointId": "ee1ca205-c85a-4dd9-946f-5b89929422c6",
      "BatchId": "907ec6b3-5296-43f8-9ef3-4f49378ee82a",
      "CreationSource": "sample string 21",
      "CreatedBy": "sample string 22",
      "ExpirationDate": "2024-05-08T11:21:38.132546+00:00",
      "ReceptionIRSDate": "2024-05-08T11:21:38.132546+00:00",
      "CurrencyFactor": 23.0,
      "DocumentTag": {
        "Code": "sample string 1",
        "TimeStamp": "2024-05-08T11:21:38.132546+00:00",
        "Value": "sample string 3",
        "Complement": "sample string 4"
      },
      "DiscountAmount": 24.0,
      "PaymentMethod": "sample string 25",
      "TaxDetails": [
        {
          "TaxCode": "sample string 1",
          "RateCode": "sample string 2",
          "Percent": 1.0,
          "TaxAmount": 3.0
        },
        {
          "TaxCode": "sample string 1",
          "RateCode": "sample string 2",
          "Percent": 1.0,
          "TaxAmount": 3.0
        }
      ],
      "WayToPay": 1,
      "CountryDocumentId": "sample string 26",
      "SeriesNumber": "sample string 27"
    },
    "CreatedById": "6360f6eb-c570-491d-b1a8-248cf4460afa",
    "CreationSource": "sample string 18",
    "CreatedBy": "sample string 19",
    "Timestamp": "2024-05-08T11:21:38.132546+00:00",
    "LastUpated": "2024-05-08T11:21:38.132546+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAttachment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gosocket.Domain.Document">
  <Attachment>
    <AttachmentId>0f75b870-a348-4d17-afca-57f999d26f7e</AttachmentId>
    <AttachmentTypeId>3</AttachmentTypeId>
    <AttachmentTypeName>sample string 4</AttachmentTypeName>
    <CreatedBy>sample string 19</CreatedBy>
    <CreatedById>6360f6eb-c570-491d-b1a8-248cf4460afa</CreatedById>
    <CreationSource>sample string 18</CreationSource>
    <Date>2024-05-08T11:21:38.132546+00:00</Date>
    <Description>sample string 6</Description>
    <Document>
      <BatchId>907ec6b3-5296-43f8-9ef3-4f49378ee82a</BatchId>
      <Country>sample string 6</Country>
      <CountryDocumentId>sample string 26</CountryDocumentId>
      <CreatedBy>sample string 22</CreatedBy>
      <CreationSource>sample string 21</CreationSource>
      <CurrencyFactor>23</CurrencyFactor>
      <CurrencyTypeId>1</CurrencyTypeId>
      <CurrencyTypeName>sample string 7</CurrencyTypeName>
      <Date>2024-05-08T11:21:38.132546+00:00</Date>
      <DateNumber>19</DateNumber>
      <DiscountAmount>24</DiscountAmount>
      <DocumentId>121be080-28fd-48dc-80f1-d385bef7f3d8</DocumentId>
      <DocumentTag>
        <Code>sample string 1</Code>
        <Complement>sample string 4</Complement>
        <TimeStamp>2024-05-08T11:21:38.132546+00:00</TimeStamp>
        <Value>sample string 3</Value>
      </DocumentTag>
      <DocumentTypeId>4</DocumentTypeId>
      <DocumentTypeName>sample string 5</DocumentTypeName>
      <ExpirationDate>2024-05-08T11:21:38.132546+00:00</ExpirationDate>
      <FreeAmount>17</FreeAmount>
      <LastUpated>2024-05-08T11:21:38.132546+00:00</LastUpated>
      <NetAmount>15</NetAmount>
      <Number>8</Number>
      <PaymentMethod>sample string 25</PaymentMethod>
      <ReceiverCode>sample string 12</ReceiverCode>
      <ReceiverId>5aead6cd-572e-45fd-83c0-8909c362c243</ReceiverId>
      <ReceiverName>sample string 13</ReceiverName>
      <ReceptionIRSDate>2024-05-08T11:21:38.132546+00:00</ReceptionIRSDate>
      <SenderCode>sample string 10</SenderCode>
      <SenderId>b17aa906-519f-48f3-87b7-e8aefebb4430</SenderId>
      <SenderName>sample string 11</SenderName>
      <Series>sample string 9</Series>
      <SeriesNumber>sample string 27</SeriesNumber>
      <SyncPointId>ee1ca205-c85a-4dd9-946f-5b89929422c6</SyncPointId>
      <TaxAmount>16</TaxAmount>
      <TaxDetails>
        <Tax>
          <Percent>1</Percent>
          <RateCode>sample string 2</RateCode>
          <TaxAmount>3</TaxAmount>
          <TaxCode>sample string 1</TaxCode>
        </Tax>
        <Tax>
          <Percent>1</Percent>
          <RateCode>sample string 2</RateCode>
          <TaxAmount>3</TaxAmount>
          <TaxCode>sample string 1</TaxCode>
        </Tax>
      </TaxDetails>
      <Timestamp>2024-05-08T11:21:38.132546+00:00</Timestamp>
      <TotalAmount>18</TotalAmount>
      <WayToPay>1</WayToPay>
    </Document>
    <DocumentId>16d5f52b-98fa-4dcb-943a-6b5bec71bb7c</DocumentId>
    <FileExt>sample string 8</FileExt>
    <LastUpated>2024-05-08T11:21:38.132546+00:00</LastUpated>
    <Name>sample string 5</Name>
    <RefDate>2024-05-08T11:21:38.132546+00:00</RefDate>
    <RefDocumentTypeId>12</RefDocumentTypeId>
    <RefNumber>13</RefNumber>
    <RefSenderCode>sample string 11</RefSenderCode>
    <RefSeries>sample string 14</RefSeries>
    <ShowReceiver>true</ShowReceiver>
    <ShowSender>true</ShowSender>
    <StatusCode>sample string 16</StatusCode>
    <StatusDescription>sample string 17</StatusDescription>
    <Timestamp>2024-05-08T11:21:38.132546+00:00</Timestamp>
  </Attachment>
  <Attachment>
    <AttachmentId>0f75b870-a348-4d17-afca-57f999d26f7e</AttachmentId>
    <AttachmentTypeId>3</AttachmentTypeId>
    <AttachmentTypeName>sample string 4</AttachmentTypeName>
    <CreatedBy>sample string 19</CreatedBy>
    <CreatedById>6360f6eb-c570-491d-b1a8-248cf4460afa</CreatedById>
    <CreationSource>sample string 18</CreationSource>
    <Date>2024-05-08T11:21:38.132546+00:00</Date>
    <Description>sample string 6</Description>
    <Document>
      <BatchId>907ec6b3-5296-43f8-9ef3-4f49378ee82a</BatchId>
      <Country>sample string 6</Country>
      <CountryDocumentId>sample string 26</CountryDocumentId>
      <CreatedBy>sample string 22</CreatedBy>
      <CreationSource>sample string 21</CreationSource>
      <CurrencyFactor>23</CurrencyFactor>
      <CurrencyTypeId>1</CurrencyTypeId>
      <CurrencyTypeName>sample string 7</CurrencyTypeName>
      <Date>2024-05-08T11:21:38.132546+00:00</Date>
      <DateNumber>19</DateNumber>
      <DiscountAmount>24</DiscountAmount>
      <DocumentId>121be080-28fd-48dc-80f1-d385bef7f3d8</DocumentId>
      <DocumentTag>
        <Code>sample string 1</Code>
        <Complement>sample string 4</Complement>
        <TimeStamp>2024-05-08T11:21:38.132546+00:00</TimeStamp>
        <Value>sample string 3</Value>
      </DocumentTag>
      <DocumentTypeId>4</DocumentTypeId>
      <DocumentTypeName>sample string 5</DocumentTypeName>
      <ExpirationDate>2024-05-08T11:21:38.132546+00:00</ExpirationDate>
      <FreeAmount>17</FreeAmount>
      <LastUpated>2024-05-08T11:21:38.132546+00:00</LastUpated>
      <NetAmount>15</NetAmount>
      <Number>8</Number>
      <PaymentMethod>sample string 25</PaymentMethod>
      <ReceiverCode>sample string 12</ReceiverCode>
      <ReceiverId>5aead6cd-572e-45fd-83c0-8909c362c243</ReceiverId>
      <ReceiverName>sample string 13</ReceiverName>
      <ReceptionIRSDate>2024-05-08T11:21:38.132546+00:00</ReceptionIRSDate>
      <SenderCode>sample string 10</SenderCode>
      <SenderId>b17aa906-519f-48f3-87b7-e8aefebb4430</SenderId>
      <SenderName>sample string 11</SenderName>
      <Series>sample string 9</Series>
      <SeriesNumber>sample string 27</SeriesNumber>
      <SyncPointId>ee1ca205-c85a-4dd9-946f-5b89929422c6</SyncPointId>
      <TaxAmount>16</TaxAmount>
      <TaxDetails>
        <Tax>
          <Percent>1</Percent>
          <RateCode>sample string 2</RateCode>
          <TaxAmount>3</TaxAmount>
          <TaxCode>sample string 1</TaxCode>
        </Tax>
        <Tax>
          <Percent>1</Percent>
          <RateCode>sample string 2</RateCode>
          <TaxAmount>3</TaxAmount>
          <TaxCode>sample string 1</TaxCode>
        </Tax>
      </TaxDetails>
      <Timestamp>2024-05-08T11:21:38.132546+00:00</Timestamp>
      <TotalAmount>18</TotalAmount>
      <WayToPay>1</WayToPay>
    </Document>
    <DocumentId>16d5f52b-98fa-4dcb-943a-6b5bec71bb7c</DocumentId>
    <FileExt>sample string 8</FileExt>
    <LastUpated>2024-05-08T11:21:38.132546+00:00</LastUpated>
    <Name>sample string 5</Name>
    <RefDate>2024-05-08T11:21:38.132546+00:00</RefDate>
    <RefDocumentTypeId>12</RefDocumentTypeId>
    <RefNumber>13</RefNumber>
    <RefSenderCode>sample string 11</RefSenderCode>
    <RefSeries>sample string 14</RefSeries>
    <ShowReceiver>true</ShowReceiver>
    <ShowSender>true</ShowSender>
    <StatusCode>sample string 16</StatusCode>
    <StatusDescription>sample string 17</StatusDescription>
    <Timestamp>2024-05-08T11:21:38.132546+00:00</Timestamp>
  </Attachment>
</ArrayOfAttachment>