POST api/Sync/GetSendDocuments
Request Information
URI Parameters
None.
Body Parameters
GetSentDocumentsModelName | Description | Type | Additional information |
---|---|---|---|
From | date |
None. |
|
To | date |
None. |
|
SenderCodes | Collection of string |
None. |
|
Serie | string |
None. |
|
Number | integer |
None. |
|
ReceiverCode | string |
None. |
|
CountryId | string |
None. |
|
CustomValues | Dictionary of string [key] and string [value] |
None. |
Request Formats
application/json, text/json
Sample:
{ "From": "2024-05-08T04:21:40.070315+00:00", "To": "2024-05-08T04:21:40.070315+00:00", "SenderCodes": [ "sample string 1", "sample string 2" ], "Serie": "sample string 3", "Number": 4, "ReceiverCode": "sample string 5", "CountryId": "sample string 6", "CustomValues": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" } }
application/xml, text/xml
Sample:
<GetSentDocumentsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gosocket.Web.Api.Models"> <CountryId>sample string 6</CountryId> <CustomValues xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </CustomValues> <From>2024-05-08T04:21:40.070315+00:00</From> <Number>4</Number> <ReceiverCode>sample string 5</ReceiverCode> <SenderCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </SenderCodes> <Serie>sample string 3</Serie> <To>2024-05-08T04:21:40.070315+00:00</To> </GetSentDocumentsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of DocumentName | Description | Type | Additional information |
---|---|---|---|
DocumentTypeId | integer |
None. |
|
DocumentTypeName | string |
None. |
|
Country | string |
None. |
|
CurrencyTypeName | string |
None. |
|
Number | integer |
None. |
|
Series | string |
None. |
|
SenderCode | string |
None. |
|
SenderName | string |
None. |
|
ReceiverCode | string |
None. |
|
ReceiverName | string |
None. |
|
Date | date |
None. |
|
NetAmount | decimal number |
None. |
|
TaxAmount | decimal number |
None. |
|
FreeAmount | decimal number |
None. |
|
TotalAmount | decimal number |
None. |
|
LastUpated | date |
None. |
|
SyncPointId | globally unique identifier |
None. |
|
BatchId | globally unique identifier |
None. |
|
CreationSource | string |
None. |
|
CreatedBy | string |
None. |
|
ExpirationDate | date |
None. |
|
ReceptionIRSDate | date |
None. |
|
CurrencyFactor | decimal number |
None. |
|
DocumentTag | DocumentTag |
None. |
|
DiscountAmount | decimal number |
None. |
|
PaymentMethod | string |
None. |
|
TaxDetails | Collection of Tax |
None. |
|
WayToPay | integer |
None. |
|
CountryDocumentId | string |
None. |
|
SeriesNumber | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "DocumentId": "8ac9c3c0-f588-4ad0-a747-9f019832227b", "SenderId": "37902bdd-1b58-48dd-aed2-e6d8cac8ccc7", "ReceiverId": "f2b4a191-09aa-4462-b5df-cba8aa587d98", "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-08T04:21:40.1491962+00:00", "NetAmount": 15.0, "TaxAmount": 16.0, "FreeAmount": 17.0, "TotalAmount": 18.0, "DateNumber": 19, "Timestamp": "2024-05-08T04:21:40.1491962+00:00", "LastUpated": "2024-05-08T04:21:40.1491962+00:00", "SyncPointId": "4ae35761-859f-40e0-bb22-72ef07d3e6f5", "BatchId": "cba87ece-d48e-4628-984f-53d372391f8e", "CreationSource": "sample string 21", "CreatedBy": "sample string 22", "ExpirationDate": "2024-05-08T04:21:40.1491962+00:00", "ReceptionIRSDate": "2024-05-08T04:21:40.1491962+00:00", "CurrencyFactor": 23.0, "DocumentTag": { "Code": "sample string 1", "TimeStamp": "2024-05-08T04:21:40.1491962+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" }, { "DocumentId": "8ac9c3c0-f588-4ad0-a747-9f019832227b", "SenderId": "37902bdd-1b58-48dd-aed2-e6d8cac8ccc7", "ReceiverId": "f2b4a191-09aa-4462-b5df-cba8aa587d98", "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-08T04:21:40.1491962+00:00", "NetAmount": 15.0, "TaxAmount": 16.0, "FreeAmount": 17.0, "TotalAmount": 18.0, "DateNumber": 19, "Timestamp": "2024-05-08T04:21:40.1491962+00:00", "LastUpated": "2024-05-08T04:21:40.1491962+00:00", "SyncPointId": "4ae35761-859f-40e0-bb22-72ef07d3e6f5", "BatchId": "cba87ece-d48e-4628-984f-53d372391f8e", "CreationSource": "sample string 21", "CreatedBy": "sample string 22", "ExpirationDate": "2024-05-08T04:21:40.1491962+00:00", "ReceptionIRSDate": "2024-05-08T04:21:40.1491962+00:00", "CurrencyFactor": 23.0, "DocumentTag": { "Code": "sample string 1", "TimeStamp": "2024-05-08T04:21:40.1491962+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" } ]
application/xml, text/xml
Sample:
<ArrayOfDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gosocket.Domain.Document"> <Document> <BatchId>cba87ece-d48e-4628-984f-53d372391f8e</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-08T04:21:40.1491962+00:00</Date> <DateNumber>19</DateNumber> <DiscountAmount>24</DiscountAmount> <DocumentId>8ac9c3c0-f588-4ad0-a747-9f019832227b</DocumentId> <DocumentTag> <Code>sample string 1</Code> <Complement>sample string 4</Complement> <TimeStamp>2024-05-08T04:21:40.1491962+00:00</TimeStamp> <Value>sample string 3</Value> </DocumentTag> <DocumentTypeId>4</DocumentTypeId> <DocumentTypeName>sample string 5</DocumentTypeName> <ExpirationDate>2024-05-08T04:21:40.1491962+00:00</ExpirationDate> <FreeAmount>17</FreeAmount> <LastUpated>2024-05-08T04:21:40.1491962+00:00</LastUpated> <NetAmount>15</NetAmount> <Number>8</Number> <PaymentMethod>sample string 25</PaymentMethod> <ReceiverCode>sample string 12</ReceiverCode> <ReceiverId>f2b4a191-09aa-4462-b5df-cba8aa587d98</ReceiverId> <ReceiverName>sample string 13</ReceiverName> <ReceptionIRSDate>2024-05-08T04:21:40.1491962+00:00</ReceptionIRSDate> <SenderCode>sample string 10</SenderCode> <SenderId>37902bdd-1b58-48dd-aed2-e6d8cac8ccc7</SenderId> <SenderName>sample string 11</SenderName> <Series>sample string 9</Series> <SeriesNumber>sample string 27</SeriesNumber> <SyncPointId>4ae35761-859f-40e0-bb22-72ef07d3e6f5</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-08T04:21:40.1491962+00:00</Timestamp> <TotalAmount>18</TotalAmount> <WayToPay>1</WayToPay> </Document> <Document> <BatchId>cba87ece-d48e-4628-984f-53d372391f8e</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-08T04:21:40.1491962+00:00</Date> <DateNumber>19</DateNumber> <DiscountAmount>24</DiscountAmount> <DocumentId>8ac9c3c0-f588-4ad0-a747-9f019832227b</DocumentId> <DocumentTag> <Code>sample string 1</Code> <Complement>sample string 4</Complement> <TimeStamp>2024-05-08T04:21:40.1491962+00:00</TimeStamp> <Value>sample string 3</Value> </DocumentTag> <DocumentTypeId>4</DocumentTypeId> <DocumentTypeName>sample string 5</DocumentTypeName> <ExpirationDate>2024-05-08T04:21:40.1491962+00:00</ExpirationDate> <FreeAmount>17</FreeAmount> <LastUpated>2024-05-08T04:21:40.1491962+00:00</LastUpated> <NetAmount>15</NetAmount> <Number>8</Number> <PaymentMethod>sample string 25</PaymentMethod> <ReceiverCode>sample string 12</ReceiverCode> <ReceiverId>f2b4a191-09aa-4462-b5df-cba8aa587d98</ReceiverId> <ReceiverName>sample string 13</ReceiverName> <ReceptionIRSDate>2024-05-08T04:21:40.1491962+00:00</ReceptionIRSDate> <SenderCode>sample string 10</SenderCode> <SenderId>37902bdd-1b58-48dd-aed2-e6d8cac8ccc7</SenderId> <SenderName>sample string 11</SenderName> <Series>sample string 9</Series> <SeriesNumber>sample string 27</SeriesNumber> <SyncPointId>4ae35761-859f-40e0-bb22-72ef07d3e6f5</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-08T04:21:40.1491962+00:00</Timestamp> <TotalAmount>18</TotalAmount> <WayToPay>1</WayToPay> </Document> </ArrayOfDocument>