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": "73cb92d1-79be-44c5-983c-d023766a4247",
"GroupProductId": "9869a902-9251-40c6-8d33-226f6d4b0098",
"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>73cb92d1-79be-44c5-983c-d023766a4247</Id> <GroupProductId>9869a902-9251-40c6-8d33-226f6d4b0098</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>