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": "3c6d0566-9f17-4200-aa8f-9837555ce68c",
  "CountryDocumentId": "sample string 2",
  "CountryId": "sample string 3",
  "Date": "2024-11-15T03:12:06.3752217+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-11-15T03:12:06.3752217+00:00",
  "SyncPoint": "797b5414-4133-43f9-98d9-23d6960ae63c",
  "GlobalTrackId": "22fc6a8f-5d03-495d-a7eb-94426a1c7342",
  "PartitionKey": "sample string 22",
  "RowKey": "sample string 23",
  "Timestamp": "2024-11-15T03:12:06.3908509+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-11-15T03:12:06.3908509Z</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-11-15T03:12:06.3752217+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-11-15T03:12:06.3752217+00:00</DocumentTimeStamp>
  <DocumentTypeId>6</DocumentTypeId>
  <DocumentTypeName>sample string 7</DocumentTypeName>
  <FreeAmount>9.1</FreeAmount>
  <GlobalDocumentId>3c6d0566-9f17-4200-aa8f-9837555ce68c</GlobalDocumentId>
  <GlobalTrackId>22fc6a8f-5d03-495d-a7eb-94426a1c7342</GlobalTrackId>
  <NetAmount>8.1</NetAmount>
  <Number>15</Number>
  <NumberStr>sample string 16</NumberStr>
  <Series>sample string 14</Series>
  <SeriesNumber>sample string 13</SeriesNumber>
  <SyncPoint>797b5414-4133-43f9-98d9-23d6960ae63c</SyncPoint>
  <TaxAmount>10.1</TaxAmount>
  <TotalAmount>11.1</TotalAmount>
</GosocketDocumentTable>