GET api/Sync/GetDocumentFromIdTable?documentId={documentId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
documentId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

GosocketDocumentTable
NameDescriptionTypeAdditional information
GlobalDocumentId

globally unique identifier

None.

CountryDocumentId

string

None.

CountryId

string

None.

Date

date

None.

DateNumber

integer

None.

DocumentTypeId

integer

None.

DocumentTypeName

string

None.

NetAmount

decimal number

None.

FreeAmount

decimal number

None.

TaxAmount

decimal number

None.

TotalAmount

decimal number

None.

CurrencyType

string

None.

SeriesNumber

string

None.

Series

string

None.

Number

unsigned integer

None.

NumberStr

string

None.

DocumentSenderCode

string

None.

DocumentSenderName

string

None.

DocumentReceiverCode

string

None.

DocumentReceiverName

string

None.

DocumentTimeStamp

date

None.

SyncPoint

globally unique identifier

None.

GlobalTrackId

globally unique identifier

None.

PartitionKey

string

None.

RowKey

string

None.

Timestamp

date

None.

ETag

string

None.

Response Formats

application/json, text/json

Sample:
{
  "GlobalDocumentId": "c35d01e3-02b1-4877-bb4a-316fb6f47a85",
  "CountryDocumentId": "sample string 2",
  "CountryId": "sample string 3",
  "Date": "2024-05-08T20:54:58.9492305+00:00",
  "DateNumber": 5,
  "DocumentTypeId": 6,
  "DocumentTypeName": "sample string 7",
  "NetAmount": 8.1,
  "FreeAmount": 9.1,
  "TaxAmount": 10.1,
  "TotalAmount": 11.1,
  "CurrencyType": "sample string 12",
  "SeriesNumber": "sample string 13",
  "Series": "sample string 14",
  "Number": 15,
  "NumberStr": "sample string 16",
  "DocumentSenderCode": "sample string 17",
  "DocumentSenderName": "sample string 18",
  "DocumentReceiverCode": "sample string 19",
  "DocumentReceiverName": "sample string 20",
  "DocumentTimeStamp": "2024-05-08T20:54:58.9492305+00:00",
  "SyncPoint": "65c40bcf-805a-4998-88ad-eda5eec7c913",
  "GlobalTrackId": "ee18e656-2837-4bc0-8d82-d0890a9513aa",
  "PartitionKey": "sample string 22",
  "RowKey": "sample string 23",
  "Timestamp": "2024-05-08T20:54:58.9492305+00:00",
  "ETag": "sample string 25"
}

application/xml, text/xml

Sample:
<GosocketDocumentTable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gosocket.Domain.AzureTable">
  <ETag xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 25</ETag>
  <PartitionKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 22</PartitionKey>
  <RowKey xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">sample string 23</RowKey>
  <Timestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.WindowsAzure.Storage.Table">
    <d2p1:DateTime>2024-05-08T20:54:58.9492305Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </Timestamp>
  <CountryDocumentId>sample string 2</CountryDocumentId>
  <CountryId>sample string 3</CountryId>
  <CurrencyType>sample string 12</CurrencyType>
  <Date>2024-05-08T20:54:58.9492305+00:00</Date>
  <DateNumber>5</DateNumber>
  <DocumentReceiverCode>sample string 19</DocumentReceiverCode>
  <DocumentReceiverName>sample string 20</DocumentReceiverName>
  <DocumentSenderCode>sample string 17</DocumentSenderCode>
  <DocumentSenderName>sample string 18</DocumentSenderName>
  <DocumentTimeStamp>2024-05-08T20:54:58.9492305+00:00</DocumentTimeStamp>
  <DocumentTypeId>6</DocumentTypeId>
  <DocumentTypeName>sample string 7</DocumentTypeName>
  <FreeAmount>9.1</FreeAmount>
  <GlobalDocumentId>c35d01e3-02b1-4877-bb4a-316fb6f47a85</GlobalDocumentId>
  <GlobalTrackId>ee18e656-2837-4bc0-8d82-d0890a9513aa</GlobalTrackId>
  <NetAmount>8.1</NetAmount>
  <Number>15</Number>
  <NumberStr>sample string 16</NumberStr>
  <Series>sample string 14</Series>
  <SeriesNumber>sample string 13</SeriesNumber>
  <SyncPoint>65c40bcf-805a-4998-88ad-eda5eec7c913</SyncPoint>
  <TaxAmount>10.1</TaxAmount>
  <TotalAmount>11.1</TotalAmount>
</GosocketDocumentTable>