GET api/Document/GetDocument/{id}?documentId={documentId}&groupProductId={groupProductId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

documentId

globally unique identifier

Required

groupProductId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

DocumentViewModel
NameDescriptionTypeAdditional 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": "fa0cd865-2429-4e2c-b991-af5de6c2f4b2",
  "GroupProductId": "898dbac8-0c91-46fa-beb6-89c659602e20",
  "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>fa0cd865-2429-4e2c-b991-af5de6c2f4b2</Id>
  <GroupProductId>898dbac8-0c91-46fa-beb6-89c659602e20</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>