POST api/v1/Ota/get-adjustment-list

Request Information

URI Parameters

None.

Body Parameters

AdjustmentListRequest
NameDescriptionTypeAdditional information
UsingDate

date

None.

Orders

Collection of OrderService

None.

EditTimeSpan

time interval

None.

Request Formats

application/json, text/json

Sample:
{
  "UsingDate": "2025-05-31T03:23:05.8794558+07:00",
  "Orders": [
    {
      "Id": "sample string 1",
      "ServiceId": 2,
      "RateId": 3,
      "OldQuantity": 4,
      "NewQuantity": 5,
      "Price": 6.0,
      "ServiceSaleForm": "sample string 7",
      "ChildGroupIds": [
        "85639671-ce0f-476f-9783-bd7f296caab8",
        "1d07093f-0936-4c3c-b7af-f86ebed58ed2"
      ],
      "SessionIdentity": "sample string 8"
    },
    {
      "Id": "sample string 1",
      "ServiceId": 2,
      "RateId": 3,
      "OldQuantity": 4,
      "NewQuantity": 5,
      "Price": 6.0,
      "ServiceSaleForm": "sample string 7",
      "ChildGroupIds": [
        "85639671-ce0f-476f-9783-bd7f296caab8",
        "1d07093f-0936-4c3c-b7af-f86ebed58ed2"
      ],
      "SessionIdentity": "sample string 8"
    }
  ],
  "EditTimeSpan": "00:00:00.1234567"
}

application/xml, text/xml

Sample:
<AdjustmentListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTA.Models.Request">
  <EditTimeSpan>PT0.1234567S</EditTimeSpan>
  <Orders>
    <OrderService>
      <ChildGroupIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>85639671-ce0f-476f-9783-bd7f296caab8</d4p1:guid>
        <d4p1:guid>1d07093f-0936-4c3c-b7af-f86ebed58ed2</d4p1:guid>
      </ChildGroupIds>
      <Id>sample string 1</Id>
      <NewQuantity>5</NewQuantity>
      <OldQuantity>4</OldQuantity>
      <Price>6</Price>
      <RateId>3</RateId>
      <ServiceId>2</ServiceId>
      <ServiceSaleForm>sample string 7</ServiceSaleForm>
      <SessionIdentity>sample string 8</SessionIdentity>
    </OrderService>
    <OrderService>
      <ChildGroupIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>85639671-ce0f-476f-9783-bd7f296caab8</d4p1:guid>
        <d4p1:guid>1d07093f-0936-4c3c-b7af-f86ebed58ed2</d4p1:guid>
      </ChildGroupIds>
      <Id>sample string 1</Id>
      <NewQuantity>5</NewQuantity>
      <OldQuantity>4</OldQuantity>
      <Price>6</Price>
      <RateId>3</RateId>
      <ServiceId>2</ServiceId>
      <ServiceSaleForm>sample string 7</ServiceSaleForm>
      <SessionIdentity>sample string 8</SessionIdentity>
    </OrderService>
  </Orders>
  <UsingDate>2025-05-31T03:23:05.8794558+07:00</UsingDate>
</AdjustmentListRequest>

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.