POST api/File

Request Information

URI Parameters

None.

Body Parameters

FileModel
NameDescriptionTypeAdditional information
Id

integer

None.

Serial

string

None.

CustomerLockSerial

string

None.

Url

string

None.

Ip

string

None.

AccountName

string

None.

CustomerNumber

string

None.

Title

string

None.

Description

string

None.

Mobile

string

None.

PhoneNumber

string

None.

SupportStaff

string

None.

Hash

string

None.

Password

string

None.

CreatedOn

date

None.

Guid

globally unique identifier

None.

Timestamp

Collection of byte

None.

Key

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Serial": "sample string 2",
  "CustomerLockSerial": "sample string 3",
  "Url": "sample string 4",
  "Ip": "sample string 5",
  "AccountName": "sample string 6",
  "CustomerNumber": "sample string 7",
  "Title": "sample string 8",
  "Description": "sample string 9",
  "Mobile": "sample string 10",
  "PhoneNumber": "sample string 11",
  "SupportStaff": "sample string 12",
  "Hash": "sample string 13",
  "Password": "sample string 14",
  "CreatedOn": "2025-01-09T22:39:06.774207+03:30",
  "Guid": "61bff362-33d0-4416-8bd0-34eb73d12709",
  "Timestamp": "QEA=",
  "Key": "123468"
}

application/xml, text/xml

Sample:
<FileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shygun.Ticketing.Models">
  <AccountName>sample string 6</AccountName>
  <CreatedOn>2025-01-09T22:39:06.774207+03:30</CreatedOn>
  <CustomerLockSerial>sample string 3</CustomerLockSerial>
  <CustomerNumber>sample string 7</CustomerNumber>
  <Description>sample string 9</Description>
  <Guid>61bff362-33d0-4416-8bd0-34eb73d12709</Guid>
  <Hash>sample string 13</Hash>
  <Id>1</Id>
  <Ip>sample string 5</Ip>
  <Mobile>sample string 10</Mobile>
  <Password>sample string 14</Password>
  <PhoneNumber>sample string 11</PhoneNumber>
  <Serial>sample string 2</Serial>
  <SupportStaff>sample string 12</SupportStaff>
  <Timestamp>QEA=</Timestamp>
  <Title>sample string 8</Title>
  <Url>sample string 4</Url>
</FileModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.