GET api/authorizations/{authId}/attachments?RqUID={RqUID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| authId | integer |
Required |
|
| RqUID | string |
None. |
Body Parameters
None.
Response Information
Resource Description
RestListResponseDTOOfRestAttachmentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Count | integer |
None. |
|
| List | Collection of RestAttachmentDTO |
None. |
|
| RqUID | string |
None. |
|
| Code | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Count": 1,
"List": [
{
"Description": "sample string 1",
"Private": true,
"File": {
"FileName": "sample string 1",
"FileStream": "QEA="
},
"IsPicture": true,
"AttachmentTypeId": 4,
"FileUrl": "sample string 5",
"UserLogin": "sample string 6"
},
{
"Description": "sample string 1",
"Private": true,
"File": {
"FileName": "sample string 1",
"FileStream": "QEA="
},
"IsPicture": true,
"AttachmentTypeId": 4,
"FileUrl": "sample string 5",
"UserLogin": "sample string 6"
}
],
"RqUID": "sample string 2",
"Code": "sample string 3",
"Message": "sample string 4"
}
application/xml, text/xml
Sample:
<RestListResponseDTOOfRestAttachmentDTOnf4H3eLw xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Shared">
<Code>sample string 3</Code>
<Message>sample string 4</Message>
<RqUID>sample string 2</RqUID>
<Count>1</Count>
<List xmlns:d2p1="http://schemas.datacontract.org/2004/07/GtMotive.GtGlobal.Common.DTO.Rest.Authorization">
<d2p1:RestAttachmentDTO>
<UserLogin>sample string 6</UserLogin>
<d2p1:AttachmentTypeId>4</d2p1:AttachmentTypeId>
<d2p1:Description>sample string 1</d2p1:Description>
<d2p1:File>
<FileName>sample string 1</FileName>
<FileStream>QEA=</FileStream>
</d2p1:File>
<d2p1:FileUrl>sample string 5</d2p1:FileUrl>
<d2p1:IsPicture>true</d2p1:IsPicture>
<d2p1:Private>true</d2p1:Private>
</d2p1:RestAttachmentDTO>
<d2p1:RestAttachmentDTO>
<UserLogin>sample string 6</UserLogin>
<d2p1:AttachmentTypeId>4</d2p1:AttachmentTypeId>
<d2p1:Description>sample string 1</d2p1:Description>
<d2p1:File>
<FileName>sample string 1</FileName>
<FileStream>QEA=</FileStream>
</d2p1:File>
<d2p1:FileUrl>sample string 5</d2p1:FileUrl>
<d2p1:IsPicture>true</d2p1:IsPicture>
<d2p1:Private>true</d2p1:Private>
</d2p1:RestAttachmentDTO>
</List>
</RestListResponseDTOOfRestAttachmentDTOnf4H3eLw>