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": "66f1c9d5-a17b-470b-8578-da1fee72703e",
  "SyncPointId": "12691e84-2b21-430a-b948-662938219bb2",
  "CreationDate": "2024-11-21T10:23:33.4506722+00:00",
  "DocumentId": "8988fa9e-0acd-405b-919e-00118f63f6c2",
  "FiscalId": "sample string 5",
  "HasError": true,
  "Code": "sample string 7",
  "Message": "sample string 8",
  "StatusCode": 9,
  "StatusDate": "2024-11-21T10:23:33.4506722+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>66f1c9d5-a17b-470b-8578-da1fee72703e</BatchId>
  <Code>sample string 7</Code>
  <CreationDate>2024-11-21T10:23:33.4506722+00:00</CreationDate>
  <DocumentId>8988fa9e-0acd-405b-919e-00118f63f6c2</DocumentId>
  <FiscalId>sample string 5</FiscalId>
  <HasError>true</HasError>
  <Message>sample string 8</Message>
  <StatusCode>9</StatusCode>
  <StatusDate>2024-11-21T10:23:33.4506722+00:00</StatusDate>
  <StatusDetail>sample string 12</StatusDetail>
  <StatusMessage>sample string 11</StatusMessage>
  <SyncPointId>12691e84-2b21-430a-b948-662938219bb2</SyncPointId>
</ResultGetDocument>