POST api/USLY/Grant

Request Information

URI Parameters

None.

Body Parameters

GrantAccessViewModel
NameDescriptionTypeAdditional information
DocID

integer

None.

identifierValue

string

None.

identifierType

integer

None.

Expiration

date

None.

Reson

string

None.

GrantedLegalSubject

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DocID": 1,
  "identifierValue": "sample string 2",
  "identifierType": 3,
  "Expiration": "2018-01-18T17:16:20.6939525+00:00",
  "Reson": "sample string 5",
  "GrantedLegalSubject": "sample string 6"
}

application/xml, text/xml

Sample:
<GrantAccessViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UslyEng.Models">
  <DocID>1</DocID>
  <Expiration>2018-01-18T17:16:20.6939525+00:00</Expiration>
  <GrantedLegalSubject>sample string 6</GrantedLegalSubject>
  <Reson>sample string 5</Reson>
  <identifierType>3</identifierType>
  <identifierValue>sample string 2</identifierValue>
</GrantAccessViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.