GET api/Sync/GetSentDocuments?countryId={countryId}&accountCode={accountCode}&take={take}&orderByEmisionDate={orderByEmisionDate}&continuationToken={continuationToken}
Gets the sent documents for the current user company.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
countryId | string |
Required |
|
accountCode | string |
Required |
|
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.
TupleOfStringAndIEnumerableOfDocumentName | Description | Type | Additional information |
---|---|---|---|
Item1 | string |
None. |
|
Item2 | Collection of Document |
None. |
Response Formats
application/json, text/json
Sample:
{ "m_Item1": "sample string 1", "m_Item2": [ { "DocumentId": "98153874-bc2b-4666-b54b-31a0b86ad71b", "SenderId": "5c0004cd-0b38-4f62-90bd-0b629f65857f", "ReceiverId": "e926ea6c-aca8-4697-a8f9-f449e61d53fc", "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:10:03.9423492+00:00", "NetAmount": 13.0, "TaxAmount": 14.0, "FreeAmount": 15.0, "TotalAmount": 16.0, "CurrencyTypeId": 1, "CurrencyTypeName": "sample string 17", "HasOffers": true }, { "DocumentId": "98153874-bc2b-4666-b54b-31a0b86ad71b", "SenderId": "5c0004cd-0b38-4f62-90bd-0b629f65857f", "ReceiverId": "e926ea6c-aca8-4697-a8f9-f449e61d53fc", "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:10:03.9423492+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:10:03.9423492+00:00</d2p1:_x003C_Date_x003E_k__BackingField> <d2p1:_x003C_DocumentId_x003E_k__BackingField>98153874-bc2b-4666-b54b-31a0b86ad71b</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>e926ea6c-aca8-4697-a8f9-f449e61d53fc</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>5c0004cd-0b38-4f62-90bd-0b629f65857f</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:10:03.9423492+00:00</d2p1:_x003C_Date_x003E_k__BackingField> <d2p1:_x003C_DocumentId_x003E_k__BackingField>98153874-bc2b-4666-b54b-31a0b86ad71b</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>e926ea6c-aca8-4697-a8f9-f449e61d53fc</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>5c0004cd-0b38-4f62-90bd-0b629f65857f</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>