POST api/Order/GetOrders

Siparis Olustur

Request Information

URI Parameters

None.

Body Parameters

GetAllOrdersInput
NameDescriptionTypeAdditional information
SecurityKey

string

None.

Page

integer

None.

SellerId

globally unique identifier

None.

TimeFirst

date

None.

TimeLast

date

None.

Status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SecurityKey": "sample string 1",
  "Page": 1,
  "SellerId": "1a4a6cea-9dc1-4fe9-9623-bab99cfefbaa",
  "TimeFirst": "08.11.2025",
  "TimeLast": "08.11.2025",
  "Status": 1
}

text/xml

Sample:
<GetAllOrdersInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BiCay.Services.OrderServices.Dtos">
  <Page>1</Page>
  <SecurityKey>sample string 1</SecurityKey>
  <SellerId>1a4a6cea-9dc1-4fe9-9623-bab99cfefbaa</SellerId>
  <Status>1</Status>
  <TimeFirst>2025-11-08T12:50:32.2225529+03:00</TimeFirst>
  <TimeLast>2025-11-08T12:50:32.2225529+03:00</TimeLast>
</GetAllOrdersInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetAllOrdersDto
NameDescriptionTypeAdditional information
TotalCount

integer

None.

Orders

Collection of AllOrderDto

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "Orders": [
    {
      "OrderId": 1,
      "OrderStatus": 2,
      "OrderTime": "08.11.2025",
      "SellerId": "b66f25d8-794f-4996-b747-4e1b7ee8dfd4",
      "SellerName": "sample string 5",
      "CustomerId": "e42815dd-96a0-4a6a-91dd-e7b249f3c523",
      "CustomerName": "sample string 7",
      "CustomerPersonName": "sample string 8"
    },
    {
      "OrderId": 1,
      "OrderStatus": 2,
      "OrderTime": "08.11.2025",
      "SellerId": "b66f25d8-794f-4996-b747-4e1b7ee8dfd4",
      "SellerName": "sample string 5",
      "CustomerId": "e42815dd-96a0-4a6a-91dd-e7b249f3c523",
      "CustomerName": "sample string 7",
      "CustomerPersonName": "sample string 8"
    }
  ]
}

text/xml

Sample:
<GetAllOrdersDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BiCay.Services.OrderServices.Dtos">
  <Orders>
    <AllOrderDto>
      <CustomerId>e42815dd-96a0-4a6a-91dd-e7b249f3c523</CustomerId>
      <CustomerName>sample string 7</CustomerName>
      <CustomerPersonName>sample string 8</CustomerPersonName>
      <OrderId>1</OrderId>
      <OrderStatus>2</OrderStatus>
      <OrderTime>2025-11-08T12:50:32.2381787+03:00</OrderTime>
      <SellerId>b66f25d8-794f-4996-b747-4e1b7ee8dfd4</SellerId>
      <SellerName>sample string 5</SellerName>
    </AllOrderDto>
    <AllOrderDto>
      <CustomerId>e42815dd-96a0-4a6a-91dd-e7b249f3c523</CustomerId>
      <CustomerName>sample string 7</CustomerName>
      <CustomerPersonName>sample string 8</CustomerPersonName>
      <OrderId>1</OrderId>
      <OrderStatus>2</OrderStatus>
      <OrderTime>2025-11-08T12:50:32.2381787+03:00</OrderTime>
      <SellerId>b66f25d8-794f-4996-b747-4e1b7ee8dfd4</SellerId>
      <SellerName>sample string 5</SellerName>
    </AllOrderDto>
  </Orders>
  <TotalCount>1</TotalCount>
</GetAllOrdersDto>