GET api/Mobile/GetReceivedDocuments?take={take}&orderByEmisionDate={orderByEmisionDate}&continuationToken={continuationToken}

Gets the received documents for the current user company.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
take

The count to take.

integer

Required

orderByEmisionDate

if set to true [order by emision date].

boolean

Default value is False

continuationToken

The continuation token.

string

None.

Body Parameters

None.

Response Information

Resource Description

Tuple where Item1 is continuation token and Item2 is the document list.

TupleOfStringAndIEnumerableOfDocument
NameDescriptionTypeAdditional information
Item1

string

None.

Item2

Collection of Document

None.

Response Formats

application/json, text/json

Sample:
{
  "m_Item1": "sample string 1",
  "m_Item2": [
    {
      "DocumentId": "8a577889-5555-4402-ad22-e786a633b5b5",
      "SenderId": "8e761059-3459-49fd-9bf2-afaee13b0665",
      "ReceiverId": "fe78abb3-b0a8-43fa-aa7d-66890b5b49cb",
      "DocumentTypeId": 4,
      "DocumentTypeName": "sample string 5",
      "Number": 6,
      "Series": "sample string 7",
      "SenderCode": "sample string 8",
      "SenderName": "sample string 9",
      "ReceiverCode": "sample string 10",
      "ReceiverName": "sample string 11",
      "Date": "2024-11-15T03:18:50.1460856+00:00",
      "NetAmount": 13.0,
      "TaxAmount": 14.0,
      "FreeAmount": 15.0,
      "TotalAmount": 16.0,
      "CurrencyTypeId": 1,
      "CurrencyTypeName": "sample string 17",
      "HasOffers": true
    },
    {
      "DocumentId": "8a577889-5555-4402-ad22-e786a633b5b5",
      "SenderId": "8e761059-3459-49fd-9bf2-afaee13b0665",
      "ReceiverId": "fe78abb3-b0a8-43fa-aa7d-66890b5b49cb",
      "DocumentTypeId": 4,
      "DocumentTypeName": "sample string 5",
      "Number": 6,
      "Series": "sample string 7",
      "SenderCode": "sample string 8",
      "SenderName": "sample string 9",
      "ReceiverCode": "sample string 10",
      "ReceiverName": "sample string 11",
      "Date": "2024-11-15T03:18:50.1460856+00:00",
      "NetAmount": 13.0,
      "TaxAmount": 14.0,
      "FreeAmount": 15.0,
      "TotalAmount": 16.0,
      "CurrencyTypeId": 1,
      "CurrencyTypeName": "sample string 17",
      "HasOffers": true
    }
  ]
}

application/xml, text/xml

Sample:
<TupleOfstringArrayOfDocumentDPjiOKYK xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System">
  <m_Item1>sample string 1</m_Item1>
  <m_Item2 xmlns:d2p1="http://schemas.datacontract.org/2004/07/Gosocket.SDK.Domain">
    <d2p1:Document>
      <d2p1:_x003C_CurrencyTypeId_x003E_k__BackingField>1</d2p1:_x003C_CurrencyTypeId_x003E_k__BackingField>
      <d2p1:_x003C_CurrencyTypeName_x003E_k__BackingField>sample string 17</d2p1:_x003C_CurrencyTypeName_x003E_k__BackingField>
      <d2p1:_x003C_Date_x003E_k__BackingField>2024-11-15T03:18:50.1460856+00:00</d2p1:_x003C_Date_x003E_k__BackingField>
      <d2p1:_x003C_DocumentId_x003E_k__BackingField>8a577889-5555-4402-ad22-e786a633b5b5</d2p1:_x003C_DocumentId_x003E_k__BackingField>
      <d2p1:_x003C_DocumentTypeId_x003E_k__BackingField>4</d2p1:_x003C_DocumentTypeId_x003E_k__BackingField>
      <d2p1:_x003C_DocumentTypeName_x003E_k__BackingField>sample string 5</d2p1:_x003C_DocumentTypeName_x003E_k__BackingField>
      <d2p1:_x003C_FreeAmount_x003E_k__BackingField>15</d2p1:_x003C_FreeAmount_x003E_k__BackingField>
      <d2p1:_x003C_HasOffers_x003E_k__BackingField>true</d2p1:_x003C_HasOffers_x003E_k__BackingField>
      <d2p1:_x003C_NetAmount_x003E_k__BackingField>13</d2p1:_x003C_NetAmount_x003E_k__BackingField>
      <d2p1:_x003C_Number_x003E_k__BackingField>6</d2p1:_x003C_Number_x003E_k__BackingField>
      <d2p1:_x003C_ReceiverCode_x003E_k__BackingField>sample string 10</d2p1:_x003C_ReceiverCode_x003E_k__BackingField>
      <d2p1:_x003C_ReceiverId_x003E_k__BackingField>fe78abb3-b0a8-43fa-aa7d-66890b5b49cb</d2p1:_x003C_ReceiverId_x003E_k__BackingField>
      <d2p1:_x003C_ReceiverName_x003E_k__BackingField>sample string 11</d2p1:_x003C_ReceiverName_x003E_k__BackingField>
      <d2p1:_x003C_SenderCode_x003E_k__BackingField>sample string 8</d2p1:_x003C_SenderCode_x003E_k__BackingField>
      <d2p1:_x003C_SenderId_x003E_k__BackingField>8e761059-3459-49fd-9bf2-afaee13b0665</d2p1:_x003C_SenderId_x003E_k__BackingField>
      <d2p1:_x003C_SenderName_x003E_k__BackingField>sample string 9</d2p1:_x003C_SenderName_x003E_k__BackingField>
      <d2p1:_x003C_Series_x003E_k__BackingField>sample string 7</d2p1:_x003C_Series_x003E_k__BackingField>
      <d2p1:_x003C_TaxAmount_x003E_k__BackingField>14</d2p1:_x003C_TaxAmount_x003E_k__BackingField>
      <d2p1:_x003C_TotalAmount_x003E_k__BackingField>16</d2p1:_x003C_TotalAmount_x003E_k__BackingField>
    </d2p1:Document>
    <d2p1:Document>
      <d2p1:_x003C_CurrencyTypeId_x003E_k__BackingField>1</d2p1:_x003C_CurrencyTypeId_x003E_k__BackingField>
      <d2p1:_x003C_CurrencyTypeName_x003E_k__BackingField>sample string 17</d2p1:_x003C_CurrencyTypeName_x003E_k__BackingField>
      <d2p1:_x003C_Date_x003E_k__BackingField>2024-11-15T03:18:50.1460856+00:00</d2p1:_x003C_Date_x003E_k__BackingField>
      <d2p1:_x003C_DocumentId_x003E_k__BackingField>8a577889-5555-4402-ad22-e786a633b5b5</d2p1:_x003C_DocumentId_x003E_k__BackingField>
      <d2p1:_x003C_DocumentTypeId_x003E_k__BackingField>4</d2p1:_x003C_DocumentTypeId_x003E_k__BackingField>
      <d2p1:_x003C_DocumentTypeName_x003E_k__BackingField>sample string 5</d2p1:_x003C_DocumentTypeName_x003E_k__BackingField>
      <d2p1:_x003C_FreeAmount_x003E_k__BackingField>15</d2p1:_x003C_FreeAmount_x003E_k__BackingField>
      <d2p1:_x003C_HasOffers_x003E_k__BackingField>true</d2p1:_x003C_HasOffers_x003E_k__BackingField>
      <d2p1:_x003C_NetAmount_x003E_k__BackingField>13</d2p1:_x003C_NetAmount_x003E_k__BackingField>
      <d2p1:_x003C_Number_x003E_k__BackingField>6</d2p1:_x003C_Number_x003E_k__BackingField>
      <d2p1:_x003C_ReceiverCode_x003E_k__BackingField>sample string 10</d2p1:_x003C_ReceiverCode_x003E_k__BackingField>
      <d2p1:_x003C_ReceiverId_x003E_k__BackingField>fe78abb3-b0a8-43fa-aa7d-66890b5b49cb</d2p1:_x003C_ReceiverId_x003E_k__BackingField>
      <d2p1:_x003C_ReceiverName_x003E_k__BackingField>sample string 11</d2p1:_x003C_ReceiverName_x003E_k__BackingField>
      <d2p1:_x003C_SenderCode_x003E_k__BackingField>sample string 8</d2p1:_x003C_SenderCode_x003E_k__BackingField>
      <d2p1:_x003C_SenderId_x003E_k__BackingField>8e761059-3459-49fd-9bf2-afaee13b0665</d2p1:_x003C_SenderId_x003E_k__BackingField>
      <d2p1:_x003C_SenderName_x003E_k__BackingField>sample string 9</d2p1:_x003C_SenderName_x003E_k__BackingField>
      <d2p1:_x003C_Series_x003E_k__BackingField>sample string 7</d2p1:_x003C_Series_x003E_k__BackingField>
      <d2p1:_x003C_TaxAmount_x003E_k__BackingField>14</d2p1:_x003C_TaxAmount_x003E_k__BackingField>
      <d2p1:_x003C_TotalAmount_x003E_k__BackingField>16</d2p1:_x003C_TotalAmount_x003E_k__BackingField>
    </d2p1:Document>
  </m_Item2>
</TupleOfstringArrayOfDocumentDPjiOKYK>