POST api/POHeaderLine
Request Information
URI Parameters
None.
Body Parameters
Z_POHeaderLineRequestName | Description | Type | Additional information |
---|---|---|---|
poHeader | P_POHeader |
None. |
|
poLine | Collection of P_POLine |
None. |
|
RequisitionCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "poHeader": { "Id": 1, "POId": "sample string 2", "PODate": "2025-03-28T14:05:12.874892+00:00", "SupplierCode": "sample string 4", "TransporterId": "sample string 5", "ExpectedRecieveDate": "2025-03-28T14:05:12.874892+00:00", "OfficeId": 1, "DeliveryTermId": 1, "PaymentTermId": 1, "WarehouseId": 6, "PaymentMethod": 1, "DeliverToFlag": "sample string 7", "DeliverToCode": "sample string 8", "TestCertificate": "sample string 9", "POType": "sample string 10", "POStatus": 1, "ATaxCode": "sample string 11", "CurrencyId": 1, "FreightType": 12, "FreightAmount": 1.0, "MiscCharge": 1.0, "FormType": "sample string 13", "TotalAmount": 1.0, "Approver": 1, "ApproveDate": "2025-03-28T14:05:12.874892+00:00", "CreatedBy": 1, "CreatedOn": "2025-03-28T14:05:12.874892+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T14:05:12.874892+00:00", "BranchCode": 14, "ItemTypeFlag": "sample string 15", "ParentPOFlag": "sample string 16", "ParentReferanceNo": "sample string 17", "INCO": "sample string 18", "Warranty": "sample string 19" }, "poLine": [ { "Id": 1, "LineNumber": 2, "POId": "sample string 3", "ItemCode": "sample string 4", "Unit": 5, "ExpectedRecieveDate": "2025-03-28T14:05:12.874892+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-28T14:05:12.874892+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T14:05:12.874892+00:00", "Warranty": "sample string 9", "Remarks": "sample string 10" }, { "Id": 1, "LineNumber": 2, "POId": "sample string 3", "ItemCode": "sample string 4", "Unit": 5, "ExpectedRecieveDate": "2025-03-28T14:05:12.874892+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-28T14:05:12.874892+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-03-28T14:05:12.874892+00:00", "Warranty": "sample string 9", "Remarks": "sample string 10" } ], "RequisitionCode": "sample string 1" }
application/xml, text/xml
Sample:
<Z_POHeaderLineRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <RequisitionCode>sample string 1</RequisitionCode> <poHeader> <ATaxCode>sample string 11</ATaxCode> <ApproveDate>2025-03-28T14:05:12.874892+00:00</ApproveDate> <Approver>1</Approver> <BranchCode>14</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T14:05:12.874892+00:00</CreatedOn> <CurrencyId>1</CurrencyId> <DeliverToCode>sample string 8</DeliverToCode> <DeliverToFlag>sample string 7</DeliverToFlag> <DeliveryTermId>1</DeliveryTermId> <ExpectedRecieveDate>2025-03-28T14:05:12.874892+00:00</ExpectedRecieveDate> <FormType>sample string 13</FormType> <FreightAmount>1</FreightAmount> <FreightType>12</FreightType> <INCO>sample string 18</INCO> <Id>1</Id> <ItemTypeFlag>sample string 15</ItemTypeFlag> <MiscCharge>1</MiscCharge> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T14:05:12.874892+00:00</ModifiedOn> <OfficeId>1</OfficeId> <PODate>2025-03-28T14:05:12.874892+00:00</PODate> <POId>sample string 2</POId> <POStatus>1</POStatus> <POType>sample string 10</POType> <ParentPOFlag>sample string 16</ParentPOFlag> <ParentReferanceNo>sample string 17</ParentReferanceNo> <PaymentMethod>1</PaymentMethod> <PaymentTermId>1</PaymentTermId> <SupplierCode>sample string 4</SupplierCode> <TestCertificate>sample string 9</TestCertificate> <TotalAmount>1</TotalAmount> <TransporterId>sample string 5</TransporterId> <WarehouseId>6</WarehouseId> <Warranty>sample string 19</Warranty> </poHeader> <poLine> <P_POLine> <ATaxCode>sample string 6</ATaxCode> <AssValue>7</AssValue> <BranchCode>8</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T14:05:12.874892+00:00</CreatedOn> <DiscountAmt>1</DiscountAmt> <DiscountPer>1</DiscountPer> <ExpectedRecieveDate>2025-03-28T14:05:12.874892+00:00</ExpectedRecieveDate> <Id>1</Id> <ItemCode>sample string 4</ItemCode> <LineNumber>2</LineNumber> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T14:05:12.874892+00:00</ModifiedOn> <OrderQty>1</OrderQty> <POId>sample string 3</POId> <PendingQty>1</PendingQty> <Rate>1</Rate> <RecievedQty>1</RecievedQty> <Remarks>sample string 10</Remarks> <Unit>5</Unit> <Warranty>sample string 9</Warranty> </P_POLine> <P_POLine> <ATaxCode>sample string 6</ATaxCode> <AssValue>7</AssValue> <BranchCode>8</BranchCode> <CreatedBy>1</CreatedBy> <CreatedOn>2025-03-28T14:05:12.874892+00:00</CreatedOn> <DiscountAmt>1</DiscountAmt> <DiscountPer>1</DiscountPer> <ExpectedRecieveDate>2025-03-28T14:05:12.874892+00:00</ExpectedRecieveDate> <Id>1</Id> <ItemCode>sample string 4</ItemCode> <LineNumber>2</LineNumber> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-03-28T14:05:12.874892+00:00</ModifiedOn> <OrderQty>1</OrderQty> <POId>sample string 3</POId> <PendingQty>1</PendingQty> <Rate>1</Rate> <RecievedQty>1</RecievedQty> <Remarks>sample string 10</Remarks> <Unit>5</Unit> <Warranty>sample string 9</Warranty> </P_POLine> </poLine> </Z_POHeaderLineRequest>
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. |