GET api/Document/GetDocument/{id}?documentId={documentId}&groupProductId={groupProductId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
|
| documentId | globally unique identifier |
Required |
|
| groupProductId | 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": "cc967d6e-7fe3-49c1-b2ba-2f5e7964ab44",
"GroupProductId": "085b91a3-ce51-4026-8ee0-b50825f36ee0",
"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>cc967d6e-7fe3-49c1-b2ba-2f5e7964ab44</Id> <GroupProductId>085b91a3-ce51-4026-8ee0-b50825f36ee0</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>