POST api/CustomerSeller/GetNewOrders

Yeni Siparis Listesi (Ocakci Ekrani)

Request Information

URI Parameters

None.

Body Parameters

GetNewOrdersInput
NameDescriptionTypeAdditional information
Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1"
}

text/xml

Sample:
<GetNewOrdersInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BiCay.Services.CustomerServices.Dtos">
  <Token xmlns="http://schemas.datacontract.org/2004/07/BiCay.Services.Base.Dtos">sample string 1</Token>
</GetNewOrdersInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetNewOrdersDto
NameDescriptionTypeAdditional information
Orders

Collection of OrderDetailDto

None.

Response Formats

application/json, text/json

Sample:
{
  "Orders": [
    {
      "OrderId": 1,
      "UserId": "36bd17f2-1236-4ec2-9b32-cd204483c2c6",
      "CompanyName": "sample string 3",
      "UserNameSurname": "sample string 4",
      "CustomerId": "06d8cf40-80ed-4db8-b9be-4279996ef541",
      "CustomerNameSurname": "sample string 6",
      "OrderMessage": "sample string 7",
      "OrderStatus": 8,
      "OrderStatusText": "sample string 9",
      "OrderDate": "sample string 10",
      "Products": [
        {
          "ProductId": 1,
          "ProductName": "sample string 2",
          "ProductImageUrl": "sample string 3",
          "Quantity": 4
        },
        {
          "ProductId": 1,
          "ProductName": "sample string 2",
          "ProductImageUrl": "sample string 3",
          "Quantity": 4
        }
      ],
      "DetailButtonVisible": true
    },
    {
      "OrderId": 1,
      "UserId": "36bd17f2-1236-4ec2-9b32-cd204483c2c6",
      "CompanyName": "sample string 3",
      "UserNameSurname": "sample string 4",
      "CustomerId": "06d8cf40-80ed-4db8-b9be-4279996ef541",
      "CustomerNameSurname": "sample string 6",
      "OrderMessage": "sample string 7",
      "OrderStatus": 8,
      "OrderStatusText": "sample string 9",
      "OrderDate": "sample string 10",
      "Products": [
        {
          "ProductId": 1,
          "ProductName": "sample string 2",
          "ProductImageUrl": "sample string 3",
          "Quantity": 4
        },
        {
          "ProductId": 1,
          "ProductName": "sample string 2",
          "ProductImageUrl": "sample string 3",
          "Quantity": 4
        }
      ],
      "DetailButtonVisible": true
    }
  ]
}

text/xml

Sample:
<GetNewOrdersDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BiCay.Services.CustomerServices.Dtos">
  <Orders>
    <OrderDetailDto>
      <CompanyName>sample string 3</CompanyName>
      <CustomerId>06d8cf40-80ed-4db8-b9be-4279996ef541</CustomerId>
      <CustomerNameSurname>sample string 6</CustomerNameSurname>
      <DetailButtonVisible>true</DetailButtonVisible>
      <OrderDate>sample string 10</OrderDate>
      <OrderId>1</OrderId>
      <OrderMessage>sample string 7</OrderMessage>
      <OrderStatus>8</OrderStatus>
      <OrderStatusText>sample string 9</OrderStatusText>
      <Products>
        <OrderDetailProductDto>
          <ProductId>1</ProductId>
          <ProductImageUrl>sample string 3</ProductImageUrl>
          <ProductName>sample string 2</ProductName>
          <Quantity>4</Quantity>
        </OrderDetailProductDto>
        <OrderDetailProductDto>
          <ProductId>1</ProductId>
          <ProductImageUrl>sample string 3</ProductImageUrl>
          <ProductName>sample string 2</ProductName>
          <Quantity>4</Quantity>
        </OrderDetailProductDto>
      </Products>
      <UserId>36bd17f2-1236-4ec2-9b32-cd204483c2c6</UserId>
      <UserNameSurname>sample string 4</UserNameSurname>
    </OrderDetailDto>
    <OrderDetailDto>
      <CompanyName>sample string 3</CompanyName>
      <CustomerId>06d8cf40-80ed-4db8-b9be-4279996ef541</CustomerId>
      <CustomerNameSurname>sample string 6</CustomerNameSurname>
      <DetailButtonVisible>true</DetailButtonVisible>
      <OrderDate>sample string 10</OrderDate>
      <OrderId>1</OrderId>
      <OrderMessage>sample string 7</OrderMessage>
      <OrderStatus>8</OrderStatus>
      <OrderStatusText>sample string 9</OrderStatusText>
      <Products>
        <OrderDetailProductDto>
          <ProductId>1</ProductId>
          <ProductImageUrl>sample string 3</ProductImageUrl>
          <ProductName>sample string 2</ProductName>
          <Quantity>4</Quantity>
        </OrderDetailProductDto>
        <OrderDetailProductDto>
          <ProductId>1</ProductId>
          <ProductImageUrl>sample string 3</ProductImageUrl>
          <ProductName>sample string 2</ProductName>
          <Quantity>4</Quantity>
        </OrderDetailProductDto>
      </Products>
      <UserId>36bd17f2-1236-4ec2-9b32-cd204483c2c6</UserId>
      <UserNameSurname>sample string 4</UserNameSurname>
    </OrderDetailDto>
  </Orders>
</GetNewOrdersDto>