POST api/Orders/UpdatePOSOrderlineextras

Request Information

URI Parameters

None.

Body Parameters

UpsertOrdersLineExtrasRequest
NameDescriptionTypeAdditional information
BaseObject

BaseOrdersLineExtraModel

None.

Request Formats

application/json, text/json

Sample:
{
  "BaseObject": {
    "OrdersLineId": 1,
    "ProductExtraId": 1,
    "Name": "sample string 1",
    "UnitPrice": 2.0,
    "Qty": 3,
    "LineValue": 4.0,
    "DiscountType": "sample string 5",
    "UnitPriceDiscount": 1.0,
    "DiscountGiven": 1.0,
    "IsDeleted": true,
    "TGorderlineextraid": 6,
    "Issynclineextra": true,
    "indexedDbExtraId": "sample string 8",
    "CreatedBy": 1,
    "ModifiedBy": 1,
    "CreatedDate": "2026-03-22T09:19:52.7218176+00:00",
    "LastUpdated": "2026-03-22T09:19:52.7218176+00:00",
    "Id": 1
  }
}

application/xml, text/xml

Sample:
<UpsertOrdersLineExtrasRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
  <BaseObject xmlns:d2p1="http://schemas.datacontract.org/2004/07/TAG.DataModels">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:CreatedDate>2026-03-22T09:19:52.7218176+00:00</d2p1:CreatedDate>
    <d2p1:LastUpdated>2026-03-22T09:19:52.7218176+00:00</d2p1:LastUpdated>
    <d2p1:CreatedBy>1</d2p1:CreatedBy>
    <d2p1:ModifiedBy>1</d2p1:ModifiedBy>
    <d2p1:DiscountGiven>1</d2p1:DiscountGiven>
    <d2p1:DiscountType>sample string 5</d2p1:DiscountType>
    <d2p1:IsDeleted>true</d2p1:IsDeleted>
    <d2p1:Issynclineextra>true</d2p1:Issynclineextra>
    <d2p1:LineValue>4</d2p1:LineValue>
    <d2p1:Name>sample string 1</d2p1:Name>
    <d2p1:OrdersLineId>1</d2p1:OrdersLineId>
    <d2p1:ProductExtraId>1</d2p1:ProductExtraId>
    <d2p1:Qty>3</d2p1:Qty>
    <d2p1:TGorderlineextraid>6</d2p1:TGorderlineextraid>
    <d2p1:UnitPrice>2</d2p1:UnitPrice>
    <d2p1:UnitPriceDiscount>1</d2p1:UnitPriceDiscount>
    <d2p1:indexedDbExtraId>sample string 8</d2p1:indexedDbExtraId>
  </BaseObject>
</UpsertOrdersLineExtrasRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpsertOrdersLineExtrasRequest'.

Response Information

Resource Description

UpsertOrdersLineExtrasResponse
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

BaseObject

BaseOrdersLineExtraModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "BaseObject": {
    "OrdersLineId": 1,
    "ProductExtraId": 1,
    "Name": "sample string 1",
    "UnitPrice": 2.0,
    "Qty": 3,
    "LineValue": 4.0,
    "DiscountType": "sample string 5",
    "UnitPriceDiscount": 1.0,
    "DiscountGiven": 1.0,
    "IsDeleted": true,
    "TGorderlineextraid": 6,
    "Issynclineextra": true,
    "indexedDbExtraId": "sample string 8",
    "CreatedBy": 1,
    "ModifiedBy": 1,
    "CreatedDate": "2026-03-22T09:19:52.9874506+00:00",
    "LastUpdated": "2026-03-22T09:19:52.9874506+00:00",
    "Id": 1
  }
}

application/xml, text/xml

Sample:
<UpsertOrdersLineExtrasResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
  <BaseObject xmlns:d2p1="http://schemas.datacontract.org/2004/07/TAG.DataModels">
    <d2p1:Id>1</d2p1:Id>
    <d2p1:CreatedDate>2026-03-22T09:19:52.9874506+00:00</d2p1:CreatedDate>
    <d2p1:LastUpdated>2026-03-22T09:19:52.9874506+00:00</d2p1:LastUpdated>
    <d2p1:CreatedBy>1</d2p1:CreatedBy>
    <d2p1:ModifiedBy>1</d2p1:ModifiedBy>
    <d2p1:DiscountGiven>1</d2p1:DiscountGiven>
    <d2p1:DiscountType>sample string 5</d2p1:DiscountType>
    <d2p1:IsDeleted>true</d2p1:IsDeleted>
    <d2p1:Issynclineextra>true</d2p1:Issynclineextra>
    <d2p1:LineValue>4</d2p1:LineValue>
    <d2p1:Name>sample string 1</d2p1:Name>
    <d2p1:OrdersLineId>1</d2p1:OrdersLineId>
    <d2p1:ProductExtraId>1</d2p1:ProductExtraId>
    <d2p1:Qty>3</d2p1:Qty>
    <d2p1:TGorderlineextraid>6</d2p1:TGorderlineextraid>
    <d2p1:UnitPrice>2</d2p1:UnitPrice>
    <d2p1:UnitPriceDiscount>1</d2p1:UnitPriceDiscount>
    <d2p1:indexedDbExtraId>sample string 8</d2p1:indexedDbExtraId>
  </BaseObject>
  <Message>sample string 2</Message>
  <Status>true</Status>
</UpsertOrdersLineExtrasResponse>