GET api/Document/GetDocument?DocumentId={DocumentId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
DocumentId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResultGetDocumentName | Description | Type | Additional 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": "284e220a-c60f-4fdd-a7c3-a95114ebbd78", "SyncPointId": "027eac5d-42f5-41ee-b30b-7cbd765beba9", "CreationDate": "2024-09-22T22:28:00.9026334+00:00", "DocumentId": "61c10d27-0cb9-4cf2-afee-12c20f793d44", "FiscalId": "sample string 5", "HasError": true, "Code": "sample string 7", "Message": "sample string 8", "StatusCode": 9, "StatusDate": "2024-09-22T22:28:00.9026334+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>284e220a-c60f-4fdd-a7c3-a95114ebbd78</BatchId> <Code>sample string 7</Code> <CreationDate>2024-09-22T22:28:00.9026334+00:00</CreationDate> <DocumentId>61c10d27-0cb9-4cf2-afee-12c20f793d44</DocumentId> <FiscalId>sample string 5</FiscalId> <HasError>true</HasError> <Message>sample string 8</Message> <StatusCode>9</StatusCode> <StatusDate>2024-09-22T22:28:00.9026334+00:00</StatusDate> <StatusDetail>sample string 12</StatusDetail> <StatusMessage>sample string 11</StatusMessage> <SyncPointId>027eac5d-42f5-41ee-b30b-7cbd765beba9</SyncPointId> </ResultGetDocument>