POST api/Orders/UpdatePOSlineextras
Request Information
URI Parameters
None.
Body Parameters
UpsertLineextranrequest| Name | Description | Type | Additional information |
|---|---|---|---|
| extras | Collection of BaseOrdersLineExtraModel |
None. |
|
| BaseObjects | Collection of BaseOrdersLineExtraModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"extras": [
{
"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:14:58.674534+00:00",
"LastUpdated": "2026-03-22T09:14:58.674534+00:00",
"Id": 1
},
{
"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:14:58.674534+00:00",
"LastUpdated": "2026-03-22T09:14:58.674534+00:00",
"Id": 1
}
],
"BaseObjects": [
{
"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:14:58.674534+00:00",
"LastUpdated": "2026-03-22T09:14:58.674534+00:00",
"Id": 1
},
{
"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:14:58.674534+00:00",
"LastUpdated": "2026-03-22T09:14:58.674534+00:00",
"Id": 1
}
]
}
application/xml, text/xml
Sample:
<UpsertLineextranrequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAG.ReqResp">
<BaseObjects xmlns:d2p1="http://schemas.datacontract.org/2004/07/TAG.DataModels">
<d2p1:BaseOrdersLineExtraModel>
<d2p1:Id>1</d2p1:Id>
<d2p1:CreatedDate>2026-03-22T09:14:58.674534+00:00</d2p1:CreatedDate>
<d2p1:LastUpdated>2026-03-22T09:14:58.674534+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>
</d2p1:BaseOrdersLineExtraModel>
<d2p1:BaseOrdersLineExtraModel>
<d2p1:Id>1</d2p1:Id>
<d2p1:CreatedDate>2026-03-22T09:14:58.674534+00:00</d2p1:CreatedDate>
<d2p1:LastUpdated>2026-03-22T09:14:58.674534+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>
</d2p1:BaseOrdersLineExtraModel>
</BaseObjects>
<extras xmlns:d2p1="http://schemas.datacontract.org/2004/07/TAG.DataModels">
<d2p1:BaseOrdersLineExtraModel>
<d2p1:Id>1</d2p1:Id>
<d2p1:CreatedDate>2026-03-22T09:14:58.674534+00:00</d2p1:CreatedDate>
<d2p1:LastUpdated>2026-03-22T09:14:58.674534+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>
</d2p1:BaseOrdersLineExtraModel>
<d2p1:BaseOrdersLineExtraModel>
<d2p1:Id>1</d2p1:Id>
<d2p1:CreatedDate>2026-03-22T09:14:58.674534+00:00</d2p1:CreatedDate>
<d2p1:LastUpdated>2026-03-22T09:14:58.674534+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>
</d2p1:BaseOrdersLineExtraModel>
</extras>
</UpsertLineextranrequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>