GET api/Document/GetDocument?DocumentId={DocumentId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DocumentId

string

Required

Body Parameters

None.

Response Information

Resource Description

ResultGetDocument
NameDescriptionTypeAdditional information
BatchId

globally unique identifier

None.

SyncPointId

globally unique identifier

None.

CreationDate

date

None.

DocumentId

globally unique identifier

None.

FiscalId

string

None.

HasError

boolean

None.

Code

string

None.

Message

string

None.

StatusCode

integer

None.

StatusDate

date

None.

StatusMessage

string

None.

StatusDetail

string

None.

Base64Content

string

None.

Response Formats

application/json, text/json

Sample:
{
  "BatchId": "b69b5666-93dc-4325-84c3-7ce21e93ee2f",
  "SyncPointId": "7fceccbd-55b3-46b0-8e6e-1132d57345c8",
  "CreationDate": "2024-11-21T09:46:15.1852735+00:00",
  "DocumentId": "62de65fa-2a39-47a4-a93d-4b8a7451fb34",
  "FiscalId": "sample string 5",
  "HasError": true,
  "Code": "sample string 7",
  "Message": "sample string 8",
  "StatusCode": 9,
  "StatusDate": "2024-11-21T09:46:15.1852735+00:00",
  "StatusMessage": "sample string 11",
  "StatusDetail": "sample string 12",
  "Base64Content": "sample string 13"
}

application/xml, text/xml

Sample:
<ResultGetDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Global.Gosocket.LegacySoapService.WebServices.Code">
  <Base64Content>sample string 13</Base64Content>
  <BatchId>b69b5666-93dc-4325-84c3-7ce21e93ee2f</BatchId>
  <Code>sample string 7</Code>
  <CreationDate>2024-11-21T09:46:15.1852735+00:00</CreationDate>
  <DocumentId>62de65fa-2a39-47a4-a93d-4b8a7451fb34</DocumentId>
  <FiscalId>sample string 5</FiscalId>
  <HasError>true</HasError>
  <Message>sample string 8</Message>
  <StatusCode>9</StatusCode>
  <StatusDate>2024-11-21T09:46:15.1852735+00:00</StatusDate>
  <StatusDetail>sample string 12</StatusDetail>
  <StatusMessage>sample string 11</StatusMessage>
  <SyncPointId>7fceccbd-55b3-46b0-8e6e-1132d57345c8</SyncPointId>
</ResultGetDocument>