POST api/SOLDigilock

Request Information

URI Parameters

None.

Body Parameters

PullDocRequest
NameDescriptionTypeAdditional information
ver

string

None.

ts

string

None.

txn

string

None.

orgId

string

None.

keyhash

string

None.

metadata

string

None.

DocDetails

_docDetails

None.

Request Formats

application/json, text/json

Sample:
{
  "ver": "sample string 1",
  "ts": "sample string 2",
  "txn": "sample string 3",
  "orgId": "sample string 4",
  "keyhash": "sample string 5",
  "metadata": "sample string 6",
  "DocDetails": {
    "URI": "sample string 1"
  }
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PullDocRequest'.

application/xml, text/xml

Sample:
<PullDocRequest xmlns:ns2="http://tempuri.org/" ver="sample string 1" ts="sample string 2" txn="sample string 3" orgId="sample string 4" keyhash="sample string 5" metadata="sample string 6">
  <DocDetails>
    <URI>sample string 1</URI>
  </DocDetails>
</PullDocRequest>

Response Information

Resource Description

PullDocResponse
NameDescriptionTypeAdditional information
DocDetails

docDetails

None.

ResponseStatus

responseStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseStatus": {
    "<Status>k__BackingField": "sample string 1",
    "<ts>k__BackingField": "sample string 2",
    "<txn>k__BackingField": "sample string 3"
  },
  "<DocDetails>k__BackingField": {
    "DocContent": "sample string 1",
    "MetadataContent": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<PullDocResponse xmlns:ns2="http://tempuri.org/">
  <ResponseStatus Status="sample string 1" ts="sample string 2" txn="sample string 3" />
  <DocDetails>
    <DocContent>sample string 1</DocContent>
    <MetadataContent>sample string 2</MetadataContent>
  </DocDetails>
</PullDocResponse>