POST api/ALDREXPostCommand

Request Information

URI Parameters

None.

Body Parameters

AldrexCommand
NameDescriptionTypeAdditional information
id

integer

None.

order_id

string

None.

order_status

string

None.

order_total

decimal number

None.

note

string

None.

member_code

string

None.

team_leader

string

None.

created_date

date

None.

orders_details

Collection of AldrexCommandLines

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "order_id": "sample string 2",
  "order_status": "sample string 3",
  "order_total": 4.1,
  "note": "sample string 5",
  "member_code": "sample string 6",
  "team_leader": "sample string 7",
  "created_date": "2025-08-03T03:40:03.4821043+04:00",
  "orders_details": [
    {
      "id": 1,
      "order_id": "sample string 2",
      "product_id": "sample string 3",
      "unit_price": 4.1,
      "discount_amount": 5.1,
      "product_qty": 6.1,
      "note": "sample string 7",
      "the_note": "sample string 8"
    },
    {
      "id": 1,
      "order_id": "sample string 2",
      "product_id": "sample string 3",
      "unit_price": 4.1,
      "discount_amount": 5.1,
      "product_qty": 6.1,
      "note": "sample string 7",
      "the_note": "sample string 8"
    }
  ]
}

application/xml, text/xml

Sample:
<AldrexCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api_cybervris.com.Models.ALDREX">
  <created_date>2025-08-03T03:40:03.4821043+04:00</created_date>
  <id>1</id>
  <member_code>sample string 6</member_code>
  <note>sample string 5</note>
  <order_id>sample string 2</order_id>
  <order_status>sample string 3</order_status>
  <order_total>4.1</order_total>
  <orders_details>
    <AldrexCommandLines>
      <discount_amount>5.1</discount_amount>
      <id>1</id>
      <note>sample string 7</note>
      <order_id>sample string 2</order_id>
      <product_id>sample string 3</product_id>
      <product_qty>6.1</product_qty>
      <the_note>sample string 8</the_note>
      <unit_price>4.1</unit_price>
    </AldrexCommandLines>
    <AldrexCommandLines>
      <discount_amount>5.1</discount_amount>
      <id>1</id>
      <note>sample string 7</note>
      <order_id>sample string 2</order_id>
      <product_id>sample string 3</product_id>
      <product_qty>6.1</product_qty>
      <the_note>sample string 8</the_note>
      <unit_price>4.1</unit_price>
    </AldrexCommandLines>
  </orders_details>
  <team_leader>sample string 7</team_leader>
</AldrexCommand>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>