GET api/Document/GetDocument/{id}?documentId={documentId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
|
| documentId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
DocumentViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| GroupProductId | globally unique identifier |
None. |
|
| Type | FulfillmentDocumentType |
None. |
|
| State | string |
None. |
|
| Name | string |
None. |
|
| Data | Collection of byte |
None. |
|
| Extension | string |
None. |
|
| Title | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": "5800e312-0cb5-4b49-8b9a-a22897f4faa2",
"GroupProductId": "7dc6f2cb-fe2d-4c16-a4b7-2fa516b2e347",
"Type": 0,
"State": "sample string 3",
"Name": "sample string 4",
"Data": "QEA=",
"Extension": "sample string 5",
"Title": "sample string 6"
}
application/xml, text/xml
Sample:
<DocumentViewModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>5800e312-0cb5-4b49-8b9a-a22897f4faa2</Id> <GroupProductId>7dc6f2cb-fe2d-4c16-a4b7-2fa516b2e347</GroupProductId> <Type>None</Type> <State>sample string 3</State> <Name>sample string 4</Name> <Data>QEA=</Data> <Extension>sample string 5</Extension> <Title>sample string 6</Title> </DocumentViewModel>