POST api/v0/USLY/Grant
Request Information
URI Parameters
None.
Body Parameters
GrantMultiDocsAccessViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Docs | Collection of integer |
None. |
|
| GrantedUsers | Collection of UserGrantModel |
None. |
|
| Expiration | date |
None. |
|
| Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Docs": [
1,
2
],
"GrantedUsers": [
{
"identifierValue": "sample string 1",
"identifierType": 2,
"Reson": "sample string 3",
"GrantedLegalSubject": "sample string 4"
},
{
"identifierValue": "sample string 1",
"identifierType": 2,
"Reson": "sample string 3",
"GrantedLegalSubject": "sample string 4"
}
],
"Expiration": "2025-11-03T16:11:41.3686721+00:00",
"Notes": "sample string 2"
}
application/xml, text/xml
Sample:
<GrantMultiDocsAccessViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UslyEng.Models">
<Docs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</Docs>
<Expiration>2025-11-03T16:11:41.3686721+00:00</Expiration>
<GrantedUsers>
<UserGrantModel>
<GrantedLegalSubject>sample string 4</GrantedLegalSubject>
<Reson>sample string 3</Reson>
<identifierType>2</identifierType>
<identifierValue>sample string 1</identifierValue>
</UserGrantModel>
<UserGrantModel>
<GrantedLegalSubject>sample string 4</GrantedLegalSubject>
<Reson>sample string 3</Reson>
<identifierType>2</identifierType>
<identifierValue>sample string 1</identifierValue>
</UserGrantModel>
</GrantedUsers>
<Notes>sample string 2</Notes>
</GrantMultiDocsAccessViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |