POST api/Common/PushNotificationToken?token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token |
None. |
string |
Required |
Body Parameters
None.
Response Information
Success Resource Description
Collection of FileInfoViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Идентификатор файла |
integer |
None. |
| Name |
Наименование файла |
string |
None. |
| Extension |
Расширение файла |
string |
None. |
| Uri |
ссылка на файл |
URI |
None. |
| Size |
Размер файла |
integer |
None. |
| Guid |
уникальная метка вложенного файла |
globally unique identifier |
None. |
| OwnerName |
Имя владельца вложения |
string |
None. |
| OwnerSurname |
Фамилия владельца вложения |
string |
None. |
| AttachmentDate |
Дата прикрепления вложения |
date |
None. |
Error Resource Description (Реализовано не везде)
OperationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Target |
Возвращаемый объект |
Object |
None. |
| Status |
Статус операции |
ResultStatus |
None. |
| Error |
Детализация ошибки |
Error |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"Extension": "sample string 3",
"Uri": "http://webapihelppage4.com",
"Size": 5,
"Guid": "95d652ef-3dee-4cac-b8b8-32933101bf50",
"OwnerName": "sample string 7",
"OwnerSurname": "sample string 8",
"AttachmentDate": "2026-02-04T09:08:17+08:00"
},
{
"Id": 1,
"Name": "sample string 2",
"Extension": "sample string 3",
"Uri": "http://webapihelppage4.com",
"Size": 5,
"Guid": "95d652ef-3dee-4cac-b8b8-32933101bf50",
"OwnerName": "sample string 7",
"OwnerSurname": "sample string 8",
"AttachmentDate": "2026-02-04T09:08:17+08:00"
}
]
text/html, multipart/form-data
Sample:
[{"Id":1,"Name":"sample string 2","Extension":"sample string 3","Uri":"http://webapihelppage4.com","Size":5,"Guid":"95d652ef-3dee-4cac-b8b8-32933101bf50","OwnerName":"sample string 7","OwnerSurname":"sample string 8","AttachmentDate":"2026-02-04T09:08:17+08:00"},{"Id":1,"Name":"sample string 2","Extension":"sample string 3","Uri":"http://webapihelppage4.com","Size":5,"Guid":"95d652ef-3dee-4cac-b8b8-32933101bf50","OwnerName":"sample string 7","OwnerSurname":"sample string 8","AttachmentDate":"2026-02-04T09:08:17+08:00"}]
application/xml, text/xml
Sample:
<ArrayOfFileInfoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGAT.TSSM.API.Models.Common">
<FileInfoViewModel>
<AttachmentDate>2026-02-04T09:08:17.3816711+08:00</AttachmentDate>
<Extension>sample string 3</Extension>
<Guid>95d652ef-3dee-4cac-b8b8-32933101bf50</Guid>
<Id>1</Id>
<Name>sample string 2</Name>
<OwnerName>sample string 7</OwnerName>
<OwnerSurname>sample string 8</OwnerSurname>
<Size>5</Size>
<Uri>http://webapihelppage4.com/</Uri>
</FileInfoViewModel>
<FileInfoViewModel>
<AttachmentDate>2026-02-04T09:08:17.3816711+08:00</AttachmentDate>
<Extension>sample string 3</Extension>
<Guid>95d652ef-3dee-4cac-b8b8-32933101bf50</Guid>
<Id>1</Id>
<Name>sample string 2</Name>
<OwnerName>sample string 7</OwnerName>
<OwnerSurname>sample string 8</OwnerSurname>
<Size>5</Size>
<Uri>http://webapihelppage4.com/</Uri>
</FileInfoViewModel>
</ArrayOfFileInfoViewModel>
