POST api/ParentPOHeaderLine/QtyRateLock?QtyLock={QtyLock}&RateLock={RateLock}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
QtyLock | boolean |
Required |
|
RateLock | boolean |
Required |
Body Parameters
Collection of P_ParentPOLineName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
LineNumber | integer |
None. |
|
ParentPOId | string |
None. |
|
ItemCode | string |
None. |
|
Unit | integer |
None. |
|
ExpectedRecieveDate | date |
None. |
|
Rate | decimal number |
None. |
|
OrderQty | decimal number |
None. |
|
RecievedQty | decimal number |
None. |
|
PendingQty | decimal number |
None. |
|
DiscountAmt | decimal number |
None. |
|
DiscountPer | decimal number |
None. |
|
ATaxCode | string |
None. |
|
AssValue | decimal number |
None. |
|
BranchCode | integer |
None. |
|
CreatedBy | integer |
None. |
|
CreatedOn | date |
None. |
|
ModifiedBy | integer |
None. |
|
ModifiedOn | date |
None. |
|
Warranty | string |
None. |
|
Remark | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Id": 1, "LineNumber": 2, "ParentPOId": "sample string 3", "ItemCode": "sample string 4", "Unit": 5, "ExpectedRecieveDate": "2025-03-28T19:24:53.7829639+00:00", "Rate": 1.0, "OrderQty": 1.0, "RecievedQty": 1.0, "PendingQty": 1.0, "DiscountAmt": 1.0, "DiscountPer": 1.0, "ATaxCode": "sample string 6", "AssValue": 7.0, "BranchCode": 8, "CreatedBy": 1, "CreatedOn": "2025-03-28T19:24:53.7829639+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T19:24:53.7829639+00:00", "Warranty": "sample string 9", "Remark": "sample string 10" }, { "Id": 1, "LineNumber": 2, "ParentPOId": "sample string 3", "ItemCode": "sample string 4", "Unit": 5, "ExpectedRecieveDate": "2025-03-28T19:24:53.7829639+00:00", "Rate": 1.0, "OrderQty": 1.0, "RecievedQty": 1.0, "PendingQty": 1.0, "DiscountAmt": 1.0, "DiscountPer": 1.0, "ATaxCode": "sample string 6", "AssValue": 7.0, "BranchCode": 8, "CreatedBy": 1, "CreatedOn": "2025-03-28T19:24:53.7829639+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T19:24:53.7829639+00:00", "Warranty": "sample string 9", "Remark": "sample string 10" } ]
application/xml, text/xml
Sample:
<ArrayOfP_ParentPOLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <P_ParentPOLine> <ATaxCode>sample string 6</ATaxCode> <AssValue>7</AssValue> <BranchCode>8</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T19:24:53.7829639+00:00</CreatedOn> <DiscountAmt>1</DiscountAmt> <DiscountPer>1</DiscountPer> <ExpectedRecieveDate>2025-03-28T19:24:53.7829639+00:00</ExpectedRecieveDate> <Id>1</Id> <ItemCode>sample string 4</ItemCode> <LineNumber>2</LineNumber> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T19:24:53.7829639+00:00</ModifiedOn> <OrderQty>1</OrderQty> <ParentPOId>sample string 3</ParentPOId> <PendingQty>1</PendingQty> <Rate>1</Rate> <RecievedQty>1</RecievedQty> <Remark>sample string 10</Remark> <Unit>5</Unit> <Warranty>sample string 9</Warranty> </P_ParentPOLine> <P_ParentPOLine> <ATaxCode>sample string 6</ATaxCode> <AssValue>7</AssValue> <BranchCode>8</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T19:24:53.7829639+00:00</CreatedOn> <DiscountAmt>1</DiscountAmt> <DiscountPer>1</DiscountPer> <ExpectedRecieveDate>2025-03-28T19:24:53.7829639+00:00</ExpectedRecieveDate> <Id>1</Id> <ItemCode>sample string 4</ItemCode> <LineNumber>2</LineNumber> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T19:24:53.7829639+00:00</ModifiedOn> <OrderQty>1</OrderQty> <ParentPOId>sample string 3</ParentPOId> <PendingQty>1</PendingQty> <Rate>1</Rate> <RecievedQty>1</RecievedQty> <Remark>sample string 10</Remark> <Unit>5</Unit> <Warranty>sample string 9</Warranty> </P_ParentPOLine> </ArrayOfP_ParentPOLine>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |