GET api/Software/GetOrders

Request Information

URI Parameters

None.

Body Parameters

GetOrdersModel
NameDescriptionTypeAdditional information
IdUser

integer

None.

IdSoftwareLock

integer

None.

IdPerson

integer

None.

IdProduct

integer

None.

IdResultState

byte

None.

SpecialName

string

None.

Since

date

None.

Until

date

None.

Request Formats

application/json, text/json

Sample:
{
  "IdUser": 1,
  "IdSoftwareLock": 1,
  "IdPerson": 1,
  "IdProduct": 1,
  "IdResultState": 64,
  "SpecialName": "sample string 1",
  "Since": "2025-08-21 10:43:23",
  "Until": "2025-08-21 10:43:23"
}

text/xml

Sample:
<GetOrdersModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZhaniyaClub.Models">
  <IdPerson>1</IdPerson>
  <IdProduct>1</IdProduct>
  <IdResultState>64</IdResultState>
  <IdSoftwareLock>1</IdSoftwareLock>
  <IdUser>1</IdUser>
  <Since>2025-08-21T10:43:23.0083866+03:30</Since>
  <SpecialName>sample string 1</SpecialName>
  <Until>2025-08-21T10:43:23.0083866+03:30</Until>
</GetOrdersModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of SoftwareOrderModel
NameDescriptionTypeAdditional information
ID

integer

None.

IDSoftwareLock

integer

None.

IDProduct

integer

None.

IDPayment

integer

None.

IDResultState

byte

None.

OrderDate

date

None.

ActivationDate

date

None.

Quantity

decimal number

None.

UnitPrice

decimal number

None.

Comment

string

None.

Amount

decimal number

None.

SpecialName

string

None.

PersonName

string

None.

IDPerson

integer

None.

ProductName

string

None.

ProductCode

integer

None.

ResultStateName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "IDSoftwareLock": 2,
    "IDProduct": 3,
    "IDPayment": 1,
    "IDResultState": 64,
    "OrderDate": "2025-08-21 10:43:23",
    "ActivationDate": "2025-08-21 10:43:23",
    "Quantity": 6.0,
    "UnitPrice": 7.0,
    "Comment": "sample string 8",
    "Amount": 42.0,
    "SpecialName": "sample string 9",
    "PersonName": "sample string 10",
    "IDPerson": 11,
    "ProductName": "sample string 12",
    "ProductCode": 13,
    "ResultStateName": "sample string 14"
  },
  {
    "ID": 1,
    "IDSoftwareLock": 2,
    "IDProduct": 3,
    "IDPayment": 1,
    "IDResultState": 64,
    "OrderDate": "2025-08-21 10:43:23",
    "ActivationDate": "2025-08-21 10:43:23",
    "Quantity": 6.0,
    "UnitPrice": 7.0,
    "Comment": "sample string 8",
    "Amount": 42.0,
    "SpecialName": "sample string 9",
    "PersonName": "sample string 10",
    "IDPerson": 11,
    "ProductName": "sample string 12",
    "ProductCode": 13,
    "ResultStateName": "sample string 14"
  }
]

text/xml

Sample:
<ArrayOfSoftwareOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PanaWebService.MyModel">
  <SoftwareOrderModel>
    <ActivationDate>2025-08-21T10:43:23.0083866+03:30</ActivationDate>
    <Comment>sample string 8</Comment>
    <ID>1</ID>
    <IDPayment>1</IDPayment>
    <IDPerson>11</IDPerson>
    <IDProduct>3</IDProduct>
    <IDResultState>64</IDResultState>
    <IDSoftwareLock>2</IDSoftwareLock>
    <OrderDate>2025-08-21T10:43:23.0083866+03:30</OrderDate>
    <PersonName>sample string 10</PersonName>
    <ProductCode>13</ProductCode>
    <ProductName>sample string 12</ProductName>
    <Quantity>6</Quantity>
    <ResultStateName>sample string 14</ResultStateName>
    <SpecialName>sample string 9</SpecialName>
    <UnitPrice>7</UnitPrice>
  </SoftwareOrderModel>
  <SoftwareOrderModel>
    <ActivationDate>2025-08-21T10:43:23.0083866+03:30</ActivationDate>
    <Comment>sample string 8</Comment>
    <ID>1</ID>
    <IDPayment>1</IDPayment>
    <IDPerson>11</IDPerson>
    <IDProduct>3</IDProduct>
    <IDResultState>64</IDResultState>
    <IDSoftwareLock>2</IDSoftwareLock>
    <OrderDate>2025-08-21T10:43:23.0083866+03:30</OrderDate>
    <PersonName>sample string 10</PersonName>
    <ProductCode>13</ProductCode>
    <ProductName>sample string 12</ProductName>
    <Quantity>6</Quantity>
    <ResultStateName>sample string 14</ResultStateName>
    <SpecialName>sample string 9</SpecialName>
    <UnitPrice>7</UnitPrice>
  </SoftwareOrderModel>
</ArrayOfSoftwareOrderModel>